Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.usermanager
Class DefaultUserMultiTenantManagement

java.lang.Object
  extended by org.nuxeo.ecm.platform.usermanager.DefaultUserMultiTenantManagement
All Implemented Interfaces:
UserMultiTenantManagement

public class DefaultUserMultiTenantManagement
extends Object
implements UserMultiTenantManagement

Author:
bjalon

Constructor Summary
DefaultUserMultiTenantManagement()
           
 
Method Summary
 String groupnameTranformer(UserManager um, String groupname, DocumentModel context)
          Transform the GroupName to add to tenant characteristic.
 DocumentModel groupTransformer(UserManager um, DocumentModel group, DocumentModel context)
          Transform the Group DocumentModel store it into the tenant described by the context
 void queryTransformer(UserManager um, Map<String,Serializable> filter, Set<String> fulltext, DocumentModel context)
          Transform filter and fulltext to fetch Groups for the given context and the query specified with the given filter and fulltext.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultUserMultiTenantManagement

public DefaultUserMultiTenantManagement()
Method Detail

queryTransformer

public void queryTransformer(UserManager um,
                             Map<String,Serializable> filter,
                             Set<String> fulltext,
                             DocumentModel context)
                      throws ClientException
Description copied from interface: UserMultiTenantManagement
Transform filter and fulltext to fetch Groups for the given context and the query specified with the given filter and fulltext. Be careful the filter map and the fulltext set object will be modified so copy them before.

Specified by:
queryTransformer in interface UserMultiTenantManagement
Throws:
ClientException

groupTransformer

public DocumentModel groupTransformer(UserManager um,
                                      DocumentModel group,
                                      DocumentModel context)
                               throws ClientException
Description copied from interface: UserMultiTenantManagement
Transform the Group DocumentModel store it into the tenant described by the context

Specified by:
groupTransformer in interface UserMultiTenantManagement
group - to modified
context - that bring the tenant information
Throws:
ClientException

groupnameTranformer

public String groupnameTranformer(UserManager um,
                                  String groupname,
                                  DocumentModel context)
Description copied from interface: UserMultiTenantManagement
Transform the GroupName to add to tenant characteristic.

Specified by:
groupnameTranformer in interface UserMultiTenantManagement
context - that bring the tenant information

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.