|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Group
A user group. Groups are assigned to users
and can have sub groups.
Method Summary | |
---|---|
void |
addGroup(java.lang.String groupName)
Add a subgroup to this group. |
void |
addRole(java.lang.String roleName)
|
java.util.Collection<java.lang.String> |
getAllGroups()
Get all groups assigned to this group, collected recursively from subgroups. |
java.util.Collection<java.lang.String> |
getGroups()
Get groups that are directly assigned to group. |
java.lang.String |
getName()
|
java.lang.String |
getProperty(java.lang.String propertyName)
Gets an arbitrary property from this group. |
java.util.Collection<java.lang.String> |
getRoles()
Get roles that are directly assigned to group. |
boolean |
hasRole(java.lang.String roleName)
|
void |
removeGroup(java.lang.String groupName)
|
void |
removeRole(java.lang.String roleName)
|
void |
setProperty(java.lang.String propertyName,
java.lang.String value)
Sets an arbitrary property for this group. |
Method Detail |
---|
java.lang.String getName()
void addRole(java.lang.String roleName) throws java.lang.UnsupportedOperationException, AccessDeniedException
java.lang.UnsupportedOperationException
AccessDeniedException
void addGroup(java.lang.String groupName) throws java.lang.UnsupportedOperationException, AccessDeniedException
groupName
-
java.lang.UnsupportedOperationException
- if the implementation does not support writing
AccessDeniedException
- if loggen in repository user does not sufficient rightsvoid removeRole(java.lang.String roleName) throws java.lang.UnsupportedOperationException, AccessDeniedException
java.lang.UnsupportedOperationException
AccessDeniedException
void removeGroup(java.lang.String groupName) throws java.lang.UnsupportedOperationException, AccessDeniedException
java.lang.UnsupportedOperationException
AccessDeniedException
boolean hasRole(java.lang.String roleName) throws java.lang.UnsupportedOperationException, AccessDeniedException
java.lang.UnsupportedOperationException
AccessDeniedException
java.lang.String getProperty(java.lang.String propertyName)
void setProperty(java.lang.String propertyName, java.lang.String value)
java.util.Collection<java.lang.String> getGroups()
java.util.Collection<java.lang.String> getAllGroups()
java.util.Collection<java.lang.String> getRoles()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |