public abstract class AbstractGroupComputer extends Object implements GroupComputer
GroupComputer
implementation. Provides a naive implementation for searchGroups method.Constructor and Description |
---|
AbstractGroupComputer() |
Modifier and Type | Method and Description |
---|---|
protected UserManager |
getUM() |
boolean |
hasGroup(String name)
Default implementation that returns true if method
GroupComputer.getAllGroupIds() contains given group
name. |
List<String> |
searchGroups(Map<String,Serializable> filter,
Set<String> fulltext)
Default implementation that searches on all ids for a match.
|
List<String> |
searchGroups(QueryBuilder queryBuilder)
Searches for groups.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllGroupIds, getGroupMembers, getGroupsForUser, getParentsGroupNames, getSubGroupsNames
public AbstractGroupComputer()
protected UserManager getUM()
public List<String> searchGroups(Map<String,Serializable> filter, Set<String> fulltext)
searchGroups
in interface GroupComputer
public List<String> searchGroups(QueryBuilder queryBuilder)
GroupComputer
searchGroups
in interface GroupComputer
queryBuilder
- the querypublic boolean hasGroup(String name)
GroupComputer.getAllGroupIds()
contains given group
name.hasGroup
in interface GroupComputer
Copyright © 2018 Nuxeo. All rights reserved.