org.nuxeo.ecm.platform.usermanager
Class DefaultUserMultiTenantManagement
java.lang.Object
org.nuxeo.ecm.platform.usermanager.DefaultUserMultiTenantManagement
- All Implemented Interfaces:
- UserMultiTenantManagement
public class DefaultUserMultiTenantManagement
- extends Object
- implements UserMultiTenantManagement
- Author:
- bjalon
DefaultUserMultiTenantManagement
public DefaultUserMultiTenantManagement()
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 modifiedcontext
- 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
Copyright © 2011 Nuxeo SAS. All Rights Reserved.