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