Package ch.ivyteam.ivy.security
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<IPermission>
getAllPermissions()
Gets the all permissions of the group.List<IPermissionGroup>
getChildGroups()
Gets the child groups of the grouplong
getId()
Gets the identifier of the permission groupString
getName()
Gets the name of the groupIPermissionGroup
getParent()
Gets the parent permission group.List<IPermission>
getPermissions()
Gets the permissions of the group.
-
-
-
Method Detail
-
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:
getAllPermissions()
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
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:
getPermissions()
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
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 IvyScript and Java. It has the visibility EXPERT.
-
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 IvyScript and Java. It has the visibility EXPERT.
-
getId
long getId()
Gets the identifier of the permission group- Returns:
- identifier
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
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 IvyScript and Java. It has the visibility EXPERT.
-
-