Package org.alfresco.repo.tenant
Interface TenantService
-
- All Superinterfaces:
TenantUserService
- All Known Implementing Classes:
SingleTServiceImpl
@AlfrescoPublicApi public interface TenantService extends TenantUserService
Tenant Service interface.This interface provides methods to support either ST or MT implementations.
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_DOMAIN
static String
SEPARATOR
-
Method Summary
-
Methods inherited from interface org.alfresco.repo.tenant.TenantUserService
getBaseNameUser, getCurrentUserDomain, getDomainUser, isEnabled
-
-
-
-
Field Detail
-
SEPARATOR
static final String SEPARATOR
- See Also:
- Constant Field Values
-
DEFAULT_DOMAIN
static final String DEFAULT_DOMAIN
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
NodeRef getName(NodeRef nodeRef)
- Returns:
- the reference with the tenant-specific ID attached
-
getName
NodeRef getName(NodeRef inNodeRef, NodeRef nodeRef)
- Returns:
- the reference with the tenant-specific ID attached
-
getName
StoreRef getName(StoreRef storeRef)
- Returns:
- the reference with the tenant-specific ID attached
-
getName
ChildAssociationRef getName(ChildAssociationRef childAssocRef)
- Returns:
- the reference with the tenant-specific ID attached
-
getName
AssociationRef getName(AssociationRef assocRef)
- Returns:
- the reference with the tenant-specific ID attached
-
getName
StoreRef getName(String username, StoreRef storeRef)
- Returns:
- the reference with the tenant-specific ID attached
-
getName
QName getName(NodeRef inNodeRef, QName name)
- Returns:
- the reference with the tenant-specific ID attached
-
getBaseName
QName getBaseName(QName name, boolean forceIfNonTenant)
- Returns:
- the reference without the tenant-specific ID attached
-
getBaseName
NodeRef getBaseName(NodeRef nodeRef)
- Returns:
- the reference without the tenant-specific ID attached
-
getBaseName
NodeRef getBaseName(NodeRef nodeRef, boolean forceForNonTenant)
- Returns:
- the reference without the tenant-specific ID attached
-
getBaseName
StoreRef getBaseName(StoreRef storeRef)
- Returns:
- the reference without the tenant-specific ID attached
-
getBaseName
ChildAssociationRef getBaseName(ChildAssociationRef childAssocRef)
- Returns:
- the reference without the tenant-specific ID attached
-
getBaseName
ChildAssociationRef getBaseName(ChildAssociationRef childAssocRef, boolean forceIfNonTenant)
- Returns:
- the reference without the tenant-specific ID attached
-
getBaseName
AssociationRef getBaseName(AssociationRef assocRef)
- Returns:
- the reference without the tenant-specific ID attached
-
getBaseName
String getBaseName(String name)
- Returns:
- the reference without the tenant-specific ID attached
-
getBaseName
String getBaseName(String name, boolean forceIfNonTenant)
- Returns:
- the reference without the tenant-specific ID attached
-
checkDomainUser
void checkDomainUser(String username)
-
checkDomain
void checkDomain(String name)
-
getRootNode
NodeRef getRootNode(NodeService nodeService, SearchService searchService, NamespaceService namespaceService, String rootPath, NodeRef rootNodeRef)
-
isTenantUser
boolean isTenantUser()
-
isTenantUser
boolean isTenantUser(String username)
-
isTenantName
boolean isTenantName(String name)
-
getUserDomain
String getUserDomain(String username)
- Specified by:
getUserDomain
in interfaceTenantUserService
- Returns:
- the tenant-specific ID for specified username
-
getDomain
String getDomain(String name, boolean checkCurrentDomain)
- Returns:
- the tenant-specific ID for specified identifier
-
-