@AlfrescoPublicApi public interface TenantService extends TenantUserService
This interface provides methods to support either ST or MT implementations.
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_DOMAIN |
static String |
SEPARATOR |
getBaseNameUser, getCurrentUserDomain, getDomainUser, isEnabled
static final String SEPARATOR
static final String DEFAULT_DOMAIN
NodeRef getName(NodeRef nodeRef)
NodeRef getName(NodeRef inNodeRef, NodeRef nodeRef)
StoreRef getName(StoreRef storeRef)
ChildAssociationRef getName(ChildAssociationRef childAssocRef)
AssociationRef getName(AssociationRef assocRef)
StoreRef getName(String username, StoreRef storeRef)
QName getName(NodeRef inNodeRef, QName name)
QName getBaseName(QName name, boolean forceIfNonTenant)
NodeRef getBaseName(NodeRef nodeRef)
NodeRef getBaseName(NodeRef nodeRef, boolean forceForNonTenant)
StoreRef getBaseName(StoreRef storeRef)
ChildAssociationRef getBaseName(ChildAssociationRef childAssocRef)
ChildAssociationRef getBaseName(ChildAssociationRef childAssocRef, boolean forceIfNonTenant)
AssociationRef getBaseName(AssociationRef assocRef)
String getBaseName(String name)
String getBaseName(String name, boolean forceIfNonTenant)
void checkDomainUser(String username)
void checkDomain(String name)
NodeRef getRootNode(NodeService nodeService, SearchService searchService, NamespaceService namespaceService, String rootPath, NodeRef rootNodeRef)
boolean isTenantUser()
boolean isTenantUser(String username)
boolean isTenantName(String name)
String getUserDomain(String username)
getUserDomain
in interface TenantUserService
String getDomain(String name, boolean checkCurrentDomain)
Copyright © 2005–2019 Alfresco Software. All rights reserved.