public interface Group extends Serializable
users
and can have sub groups.Modifier and Type | Method and Description |
---|---|
void |
addGroup(String groupName)
Deprecated.
since 5.3.3 use manager instead
|
void |
addRole(String roleName)
Deprecated.
since 5.3.3 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.
since 5.3.3 use manager instead
|
void |
removeRole(String roleName)
Deprecated.
since 5.3.3 use manager instead
|
void |
setProperty(String propertyName,
String value)
Sets an arbitrary property for this group.
|
String getName()
@Deprecated void addRole(String roleName) throws UnsupportedOperationException, AccessDeniedException
@Deprecated void addGroup(String groupName) throws UnsupportedOperationException, AccessDeniedException
@Deprecated void removeRole(String roleName) throws UnsupportedOperationException, AccessDeniedException
@Deprecated void removeGroup(String groupName) throws UnsupportedOperationException, AccessDeniedException
boolean hasRole(String roleName) throws UnsupportedOperationException, AccessDeniedException
void setProperty(String propertyName, String value)
Collection<String> getGroups()
Collection<String> getAllGroups()
Collection<String> getRoles()
String getId()
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.