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 |
---|---|
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.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllGroupIds, getGroupMembers, getGroupsForUser, getParentsGroupNames, getSubGroupsNames
public List<String> searchGroups(Map<String,Serializable> filter, Set<String> fulltext) throws Exception
searchGroups
in interface GroupComputer
Exception
public boolean hasGroup(String name) throws Exception
GroupComputer.getAllGroupIds()
contains given group name.hasGroup
in interface GroupComputer
Exception
Copyright © 2013 Nuxeo SA. All Rights Reserved.