public class UserMetadataGroupComputer extends AbstractGroupComputer
| Constructor and Description |
|---|
UserMetadataGroupComputer(String xpath,
String groupPattern) |
| 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 arg0)
Return parent groups.
|
List<String> |
getSubGroupsNames(String arg0)
Returns children groups.
|
boolean |
hasGroup(String groupId)
Default implementation that returns true if method
GroupComputer.getAllGroupIds() contains given group name. |
searchGroupspublic static final Log log
public UserMetadataGroupComputer(String xpath, String groupPattern) throws ClientException
ClientExceptionpublic List<String> getAllGroupIds() throws Exception
GroupComputerExceptionpublic List<String> getGroupMembers(String groupId) throws Exception
GroupComputerExceptionpublic List<String> getGroupsForUser(NuxeoPrincipalImpl user) throws Exception
GroupComputerExceptionpublic List<String> getParentsGroupNames(String arg0) throws Exception
GroupComputerExceptionpublic List<String> getSubGroupsNames(String arg0) throws Exception
GroupComputerExceptionpublic boolean hasGroup(String groupId) throws Exception
AbstractGroupComputerGroupComputer.getAllGroupIds() contains given group name.hasGroup in interface GroupComputerhasGroup in class AbstractGroupComputerExceptionCopyright © 2014 Nuxeo SA. All Rights Reserved.