Class AbstractGroupComputer
java.lang.Object
org.nuxeo.ecm.platform.computedgroups.AbstractGroupComputer
- All Implemented Interfaces:
GroupComputer
- Direct Known Subclasses:
AbstractAttributeBasedGroupComputer
,DocumentMetadataGroupComputer
,MultiTenantGroupComputer
,ShibbolethGroupComputer
,UserMetadataGroupComputer
Base class for
GroupComputer
implementation. Provides a naive implementation for searchGroups method.- Author:
- Thierry Delprat
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected UserManager
getUM()
boolean
Default implementation that returns true if methodGroupComputer.getAllGroupIds()
contains given group name.searchGroups
(Map<String, Serializable> filter, Set<String> fulltext) Default implementation that searches on all ids for a match.searchGroups
(QueryBuilder queryBuilder) Searches for groups.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.nuxeo.ecm.platform.computedgroups.GroupComputer
getAllGroupIds, getGroupMembers, getGroupsForUser, getParentsGroupNames, getSubGroupsNames
-
Constructor Details
-
AbstractGroupComputer
public AbstractGroupComputer()
-
-
Method Details
-
getUM
-
searchGroups
Default implementation that searches on all ids for a match.- Specified by:
searchGroups
in interfaceGroupComputer
-
searchGroups
Description copied from interface:GroupComputer
Searches for groups.- Specified by:
searchGroups
in interfaceGroupComputer
- Parameters:
queryBuilder
- the query- Returns:
- the list of computed group ids
-
hasGroup
Default implementation that returns true if methodGroupComputer.getAllGroupIds()
contains given group name.- Specified by:
hasGroup
in interfaceGroupComputer
-