Package org.nuxeo.ecm.multi.tenant
Class MultiTenantGroupComputer
- java.lang.Object
-
- org.nuxeo.ecm.platform.computedgroups.AbstractGroupComputer
-
- org.nuxeo.ecm.multi.tenant.MultiTenantGroupComputer
-
- All Implemented Interfaces:
GroupComputer
public class MultiTenantGroupComputer extends AbstractGroupComputer
- Since:
- 5.6
- Author:
- Thomas Roger
-
-
Constructor Summary
Constructors Constructor Description MultiTenantGroupComputer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getAllGroupIds()Return all group ids.List<String>getGroupMembers(String s)Returns the members for a give group.List<String>getGroupsForUser(NuxeoPrincipalImpl nuxeoPrincipal)Returns the group names for a give User.List<String>getParentsGroupNames(String s)Return parent groups.List<String>getSubGroupsNames(String s)Returns children groups.-
Methods inherited from class org.nuxeo.ecm.platform.computedgroups.AbstractGroupComputer
getUM, hasGroup, searchGroups, searchGroups
-
-
-
-
Method Detail
-
getGroupsForUser
public List<String> getGroupsForUser(NuxeoPrincipalImpl nuxeoPrincipal)
Description copied from interface:GroupComputerReturns the group names for a give User.
-
getAllGroupIds
public List<String> getAllGroupIds()
Description copied from interface:GroupComputerReturn all group ids. If you class can not efficiently compute this list, you can return an empty list. In this case you need to implement the searchGroups method.
-
getGroupMembers
public List<String> getGroupMembers(String s)
Description copied from interface:GroupComputerReturns the members for a give group.
-
getParentsGroupNames
public List<String> getParentsGroupNames(String s)
Description copied from interface:GroupComputerReturn parent groups.
-
getSubGroupsNames
public List<String> getSubGroupsNames(String s)
Description copied from interface:GroupComputerReturns children groups.
-
-