public class DocumentMetadataGroupComputer extends AbstractGroupComputer
Modifier and Type | Class and Description |
---|---|
protected class |
DocumentMetadataGroupComputer.GetDocumentsFromUsername |
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
log |
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. |
getUM, searchGroups
public static final org.apache.commons.logging.Log log
public DocumentMetadataGroupComputer(String whereClause, String groupPattern, String xpath)
public List<String> getAllGroupIds()
GroupComputer
public List<String> getGroupMembers(String groupId)
GroupComputer
public List<String> getGroupsForUser(NuxeoPrincipalImpl user)
GroupComputer
public List<String> getParentsGroupNames(String groupID)
GroupComputer
public List<String> getSubGroupsNames(String groupID)
GroupComputer
public boolean hasGroup(String groupId)
AbstractGroupComputer
GroupComputer.getAllGroupIds()
contains given group
name.hasGroup
in interface GroupComputer
hasGroup
in class AbstractGroupComputer
Copyright © 2017 Nuxeo. All rights reserved.