org.nuxeo.ecm.platform.computedgroups
Class AbstractGroupComputer
java.lang.Object
org.nuxeo.ecm.platform.computedgroups.AbstractGroupComputer
- All Implemented Interfaces:
- GroupComputer
- Direct Known Subclasses:
- AbstractAttributeBasedGroupComputer
public abstract class AbstractGroupComputer
- extends Object
- implements GroupComputer
Base class for GroupComputer
implementation. Provides a naive
implementation for searchGroups method.
- Author:
- Thierry Delprat
AbstractGroupComputer
public AbstractGroupComputer()
searchGroups
public List<String> searchGroups(Map<String,Serializable> filter,
Set<String> fulltext)
throws Exception
- Default implementation that searches on all ids for a match.
- Specified by:
searchGroups
in interface GroupComputer
- Throws:
Exception
hasGroup
public boolean hasGroup(String name)
throws Exception
- Default implementation that returns true if method
GroupComputer.getAllGroupIds()
contains given group name.
- Specified by:
hasGroup
in interface GroupComputer
- Throws:
Exception
Copyright © 2011 Nuxeo SAS. All Rights Reserved.