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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected UserManagergetUM()booleanDefault 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, waitMethods 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:
searchGroupsin interfaceGroupComputer
-
searchGroups
Description copied from interface:GroupComputerSearches for groups.- Specified by:
searchGroupsin 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:
hasGroupin interfaceGroupComputer
-