public class DefaultUserMultiTenantManagement extends Object implements UserMultiTenantManagement
Constructor and Description |
---|
DefaultUserMultiTenantManagement() |
Modifier and Type | Method and Description |
---|---|
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.
|
public void queryTransformer(UserManager um, Map<String,Serializable> filter, Set<String> fulltext, DocumentModel context) throws ClientException
UserMultiTenantManagement
queryTransformer
in interface UserMultiTenantManagement
ClientException
public DocumentModel groupTransformer(UserManager um, DocumentModel group, DocumentModel context) throws ClientException
UserMultiTenantManagement
groupTransformer
in interface UserMultiTenantManagement
group
- to modifiedcontext
- that bring the tenant informationClientException
public String groupnameTranformer(UserManager um, String groupname, DocumentModel context)
UserMultiTenantManagement
groupnameTranformer
in interface UserMultiTenantManagement
context
- that bring the tenant informationCopyright © 2013 Nuxeo SA. All Rights Reserved.