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. 
 | 
protected abstract String | 
getAttributeForGroupComputation()  | 
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. 
 | 
getUM, hasGroup, searchGroupspublic AbstractAttributeBasedGroupComputer()
protected abstract String getAttributeForGroupComputation()
public List<String> getAllGroupIds()
GroupComputerpublic List<String> getGroupMembers(String groupName)
GroupComputerpublic List<String> getGroupsForUser(NuxeoPrincipalImpl nuxeoPrincipal)
GroupComputerpublic List<String> getParentsGroupNames(String groupName)
GroupComputerpublic List<String> getSubGroupsNames(String groupName)
GroupComputerpublic List<String> searchGroups(Map<String,Serializable> filter, Set<String> fulltext)
AbstractGroupComputersearchGroups in interface GroupComputersearchGroups in class AbstractGroupComputerCopyright © 2019 Nuxeo. All rights reserved.