Nuxeo ECM Projects 5.6-RC1

org.nuxeo.ecm.multi.tenant
Class MultiTenantGroupComputer

java.lang.Object
  extended by org.nuxeo.ecm.platform.computedgroups.AbstractGroupComputer
      extended by org.nuxeo.ecm.multi.tenant.MultiTenantGroupComputer
All Implemented Interfaces:
GroupComputer

public class MultiTenantGroupComputer
extends AbstractGroupComputer

Since:
5.6
Author:
Thomas Roger

Constructor Summary
MultiTenantGroupComputer()
           
 
Method Summary
 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
hasGroup, searchGroups
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiTenantGroupComputer

public MultiTenantGroupComputer()
Method Detail

getGroupsForUser

public List<String> getGroupsForUser(NuxeoPrincipalImpl nuxeoPrincipal)
                              throws Exception
Description copied from interface: GroupComputer
Returns the group names for a give User.

Throws:
Exception

getAllGroupIds

public List<String> getAllGroupIds()
                            throws Exception
Description copied from interface: GroupComputer
Return 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.

Throws:
Exception

getGroupMembers

public List<String> getGroupMembers(String s)
                             throws Exception
Description copied from interface: GroupComputer
Returns the members for a give group.

Throws:
Exception

getParentsGroupNames

public List<String> getParentsGroupNames(String s)
                                  throws Exception
Description copied from interface: GroupComputer
Return parent groups.

Throws:
Exception

getSubGroupsNames

public List<String> getSubGroupsNames(String s)
                               throws Exception
Description copied from interface: GroupComputer
Returns children groups.

Throws:
Exception

Nuxeo ECM Projects 5.6-RC1

Copyright © 2012 Nuxeo SA. All Rights Reserved.