Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.usermanager
Interface UserMultiTenantManagement

All Known Implementing Classes:
DefaultUserMultiTenantManagement

public interface UserMultiTenantManagement

Implementations of this interface manages the multi-tenant behavior for UserManager. This class will be used to fetch the User Directory and the Group characteristics

Author:
bjalon

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.
 

Method Detail

queryTransformer

void queryTransformer(UserManager um,
                      Map<String,Serializable> filter,
                      Set<String> fulltext,
                      DocumentModel context)
                      throws ClientException
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.

Throws:
ClientException

groupTransformer

DocumentModel groupTransformer(UserManager um,
                               DocumentModel group,
                               DocumentModel context)
                               throws ClientException
Transform the Group DocumentModel store it into the tenant described by the context

Parameters:
um -
group - to modified
context - that bring the tenant information
Throws:
ClientException

groupnameTranformer

String groupnameTranformer(UserManager um,
                           String groupname,
                           DocumentModel context)
Transform the GroupName to add to tenant characteristic.

Parameters:
um -
group - to modified
context - that bring the tenant information
Throws:
ClientException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.