public class DocumentMetadataGroupComputer extends AbstractGroupComputer
Constructor and Description |
---|
DocumentMetadataGroupComputer(String whereClause,
String groupPattern,
String xpath) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAllGroupIds()
Return all group ids.
|
List<String> |
getGroupMembers(String groupId)
Returns the members for a give group.
|
List<String> |
getGroupsForUser(NuxeoPrincipalImpl user)
Returns the group names for a give User.
|
List<String> |
getParentsGroupNames(String groupID)
Return parent groups.
|
List<String> |
getSubGroupsNames(String groupID)
Returns children groups.
|
boolean |
hasGroup(String groupId)
Default implementation that returns true if method
GroupComputer.getAllGroupIds() contains given group name. |
searchGroups
public static final Log log
public DocumentMetadataGroupComputer(String whereClause, String groupPattern, String xpath) throws ClientException
ClientException
public List<String> getAllGroupIds() throws Exception
GroupComputer
Exception
public List<String> getGroupMembers(String groupId) throws Exception
GroupComputer
Exception
public List<String> getGroupsForUser(NuxeoPrincipalImpl user) throws Exception
GroupComputer
Exception
public List<String> getParentsGroupNames(String groupID) throws Exception
GroupComputer
Exception
public List<String> getSubGroupsNames(String groupID) throws Exception
GroupComputer
Exception
public boolean hasGroup(String groupId) throws Exception
AbstractGroupComputer
GroupComputer.getAllGroupIds()
contains given group name.hasGroup
in interface GroupComputer
hasGroup
in class AbstractGroupComputer
Exception
Copyright © 2013 Nuxeo SA. All Rights Reserved.