Interface IPermissionGroup


public interface IPermissionGroup
Permission groups can be used to organise permission in groups and hierarchies
Since:
21.01.2008
API:
This is a public API.
  • Method Details

    • getPermissions

      List<IPermission> getPermissions()
      Gets the permissions of the group. This methods returns the permission that are directly associated to this group. Permissions that are associated to child groups are not returned
      Returns:
      pemissions of the group
      Throws:
      PersistencyException - if persistency access fails
      See Also:
      API:
      This public API is available in Java.
    • getAllPermissions

      List<IPermission> getAllPermissions()
      Gets the all permissions of the group. This methods returns the permission that are directly associated to this group and the permissions that are associated to any child group of this group.
      Returns:
      all pemissions of the group
      Throws:
      PersistencyException - if persistency access fails
      See Also:
      API:
      This public API is available in Java.
    • getChildGroups

      List<IPermissionGroup> getChildGroups()
      Gets the child groups of the group
      Returns:
      list of child groups
      Throws:
      PersistencyException - if persistency access fails
      API:
      This public API is available in Java.
    • getParent

      IPermissionGroup getParent()
      Gets the parent permission group.
      Returns:
      parent permission group. Maybe null.
      Throws:
      PersistencyException - if persistency access fails
      API:
      This public API is available in Java.
    • getId

      long getId()
      Gets the identifier of the permission group
      Returns:
      identifier
      API:
      This public API is available in Java.
    • getName

      String getName()
      Gets the name of the group
      Returns:
      name of the group
      Throws:
      PersistencyException - if persistency access fails
      API:
      This public API is available in Java.