|
||||||||||
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)
Deprecated. use manager instead |
void |
addRole(String roleName)
Deprecated. use manager instead |
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 |
getId()
Gets identifier of the 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)
Deprecated. use manager instead |
void |
removeRole(String roleName)
Deprecated. use manager instead |
void |
setProperty(String propertyName,
String value)
Sets an arbitrary property for this group. |
Method Detail |
---|
String getName()
@Deprecated void addRole(String roleName) throws UnsupportedOperationException, AccessDeniedException
UnsupportedOperationException
AccessDeniedException
@Deprecated void addGroup(String groupName) throws UnsupportedOperationException, AccessDeniedException
UnsupportedOperationException
AccessDeniedException
@Deprecated void removeRole(String roleName) throws UnsupportedOperationException, AccessDeniedException
UnsupportedOperationException
AccessDeniedException
@Deprecated 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()
String getId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |