public class DefaultUserMultiTenantManagement extends Object implements UserMultiTenantManagement
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
protected static String |
SUFFIX_SEPARATOR |
Constructor and Description |
---|
DefaultUserMultiTenantManagement() |
Modifier and Type | Method and Description |
---|---|
protected String |
getDirectorySuffix(DocumentModel documentContext) |
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.
|
protected static final org.apache.commons.logging.Log log
protected static final String SUFFIX_SEPARATOR
public DefaultUserMultiTenantManagement()
protected String getDirectorySuffix(DocumentModel documentContext)
public void queryTransformer(UserManager um, Map<String,Serializable> filter, Set<String> fulltext, DocumentModel context)
UserMultiTenantManagement
queryTransformer
in interface UserMultiTenantManagement
public DocumentModel groupTransformer(UserManager um, DocumentModel group, DocumentModel context)
UserMultiTenantManagement
groupTransformer
in interface UserMultiTenantManagement
group
- to modifiedcontext
- that bring the tenant informationpublic String groupnameTranformer(UserManager um, String groupname, DocumentModel context)
UserMultiTenantManagement
groupnameTranformer
in interface UserMultiTenantManagement
context
- that bring the tenant informationCopyright © 2016 Nuxeo SA. All rights reserved.