public abstract class AbstractAttributeBasedGroupComputer extends AbstractGroupComputer
GroupComputer
implementation that uses User attribute
to compute groups.Constructor and Description |
---|
AbstractAttributeBasedGroupComputer() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAllGroupIds()
Return all group ids.
|
List<String> |
getGroupMembers(String groupName)
Returns the members for a give group.
|
List<String> |
getGroupsForUser(NuxeoPrincipalImpl nuxeoPrincipal)
Returns the group names for a give User.
|
List<String> |
getParentsGroupNames(String groupName)
Return parent groups.
|
List<String> |
getSubGroupsNames(String groupName)
Returns children groups.
|
List<String> |
searchGroups(Map<String,Serializable> filter,
Set<String> fulltext)
Default implementation that searches on all ids for a match.
|
hasGroup
public List<String> getAllGroupIds() throws Exception
GroupComputer
Exception
public List<String> getGroupMembers(String groupName) throws Exception
GroupComputer
Exception
public List<String> getGroupsForUser(NuxeoPrincipalImpl nuxeoPrincipal) throws Exception
GroupComputer
Exception
public List<String> getParentsGroupNames(String groupName) throws Exception
GroupComputer
Exception
public List<String> getSubGroupsNames(String groupName) throws Exception
GroupComputer
Exception
public List<String> searchGroups(Map<String,Serializable> filter, Set<String> fulltext) throws Exception
AbstractGroupComputer
searchGroups
in interface GroupComputer
searchGroups
in class AbstractGroupComputer
Exception
Copyright © 2011 Nuxeo SA. All Rights Reserved.