Interface Perun

All Known Subinterfaces:
PerunBl
All Known Implementing Classes:
PerunBlImpl

public interface Perun
Perun himself. See cz.metacentrum.perun.core.bl.PerunBl#bootstrap() to find how to get an instance of Perun.
Author:
Martin Kuba makub@ics.muni.cz
  • Method Details

    • isPerunReadOnly

      boolean isPerunReadOnly()
      True if this instance of perun is read only. False if not.
      Returns:
      true or false (readOnly or not)
    • getPerunSession

      PerunSession getPerunSession(PerunPrincipal actor, PerunClient client)
      Gets a (possibly cached) Perun session.
      Parameters:
      actor - identification of the actor, who will perform operations.
      client - identification of the client, who will perform operations.
      Returns:
      perun session
      Throws:
      InternalErrorException - raised when session cannot be created.
    • getGroupsManager

      GroupsManager getGroupsManager()
      Gets a groups manager.
      Returns:
      groups manager
    • getFacilitiesManager

      FacilitiesManager getFacilitiesManager()
      Gets a resource manager.
      Returns:
      resource manager
    • getDatabaseManager

      DatabaseManager getDatabaseManager()
      Gets a database manager.
      Returns:
      database manager
    • getUsersManager

      UsersManager getUsersManager()
      Gets a users manager.
      Returns:
      users manager
    • getMembersManager

      MembersManager getMembersManager()
      Gets a members manager.
      Returns:
      members manager
    • getVosManager

      VosManager getVosManager()
      Gets a VOs manager.
      Returns:
      VOs manager
    • getAuditMessagesManager

      AuditMessagesManager getAuditMessagesManager()
      Gets a AuditMessages manager.
      Returns:
      AuditMessages manager
    • getResourcesManager

      ResourcesManager getResourcesManager()
      Gets a Resources manager.
      Returns:
      Resources manager
    • getExtSourcesManager

      ExtSourcesManager getExtSourcesManager()
      Gets a ExtSources manager.
      Returns:
      ExtSources manager
    • getAttributesManager

      AttributesManager getAttributesManager()
      Gets a Attributes manager.
      Returns:
      Attributes manager
    • getServicesManager

      ServicesManager getServicesManager()
      Gets a Services manager.
      Returns:
      Services manager
    • getOwnersManager

      OwnersManager getOwnersManager()
      Gets a Owners manager.
      Returns:
      Owners manager
    • getAuditer

      Auditer getAuditer()
      Gets the Auditer.
      Returns:
      Auditer
    • getRTMessagesManager

      RTMessagesManager getRTMessagesManager()
      Gets a Messages manager.
      Returns:
      Messages manager
    • getSecurityTeamsManager

      SecurityTeamsManager getSecurityTeamsManager()
      Gets a Security teams manager.
      Returns:
      Security teams manager
    • getSearcher

      Searcher getSearcher()
      Gets a Searcher.
      Returns:
      Searcher
    • getTasksManager

      TasksManager getTasksManager()
      Gets a TasksManager
      Returns:
      TasksManager