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
public AbstractAttributeBasedGroupComputer()
protected abstract String getAttributeForGroupComputation()
public List<String> getAllGroupIds()
GroupComputer
public List<String> getGroupMembers(String groupName)
GroupComputer
public List<String> getGroupsForUser(NuxeoPrincipalImpl nuxeoPrincipal)
GroupComputer
public List<String> getParentsGroupNames(String groupName)
GroupComputer
public List<String> getSubGroupsNames(String groupName)
GroupComputer
public List<String> searchGroups(Map<String,Serializable> filter, Set<String> fulltext)
AbstractGroupComputer
searchGroups
in interface GroupComputer
searchGroups
in class AbstractGroupComputer
Copyright © 2016 Nuxeo SA. All rights reserved.