Package org.alfresco.repo.tenant
Interface TenantService
- All Superinterfaces:
TenantUserService
- All Known Implementing Classes:
SingleTServiceImpl
Tenant Service interface.
This interface provides methods to support either ST or MT implementations.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkDomain
(String name) void
checkDomainUser
(String username) getBaseName
(String name) getBaseName
(String name, boolean forceIfNonTenant) getBaseName
(AssociationRef assocRef) getBaseName
(ChildAssociationRef childAssocRef) getBaseName
(ChildAssociationRef childAssocRef, boolean forceIfNonTenant) getBaseName
(NodeRef nodeRef) getBaseName
(NodeRef nodeRef, boolean forceForNonTenant) getBaseName
(StoreRef storeRef) getBaseName
(QName name, boolean forceIfNonTenant) getName
(AssociationRef assocRef) getName
(ChildAssociationRef childAssocRef) getPrimaryDomain
(String user) Get the primary domain for user, if one exists.getRootNode
(NodeService nodeService, SearchService searchService, NamespaceService namespaceService, String rootPath, NodeRef rootNodeRef) getUserDomain
(String username) boolean
isTenantName
(String name) boolean
boolean
isTenantUser
(String username) Methods inherited from interface org.alfresco.repo.tenant.TenantUserService
getBaseNameUser, getCurrentUserDomain, getDomainUser, isEnabled
-
Field Details
-
SEPARATOR
- See Also:
-
DEFAULT_DOMAIN
- See Also:
-
-
Method Details
-
getName
- Returns:
- the reference with the tenant-specific ID attached
-
getName
- Returns:
- the reference with the tenant-specific ID attached
-
getName
- Returns:
- the reference with the tenant-specific ID attached
-
getName
- Returns:
- the reference with the tenant-specific ID attached
-
getName
- Returns:
- the reference with the tenant-specific ID attached
-
getName
- Returns:
- the reference with the tenant-specific ID attached
-
getName
- Returns:
- the reference with the tenant-specific ID attached
-
getName
- Returns:
- the reference with the tenant-specific ID attached
-
getName
- Returns:
- the reference with the tenant-specific ID attached
-
getBaseName
- Returns:
- the reference without the tenant-specific ID attached
-
getBaseName
- Returns:
- the reference without the tenant-specific ID attached
-
getBaseName
- Returns:
- the reference without the tenant-specific ID attached
-
getBaseName
- Returns:
- the reference without the tenant-specific ID attached
-
getBaseName
- Returns:
- the reference without the tenant-specific ID attached
-
getBaseName
- Returns:
- the reference without the tenant-specific ID attached
-
getBaseName
- Returns:
- the reference without the tenant-specific ID attached
-
getBaseName
- Returns:
- the reference without the tenant-specific ID attached
-
getBaseName
- Returns:
- the reference without the tenant-specific ID attached
-
checkDomainUser
-
checkDomain
-
getRootNode
NodeRef getRootNode(NodeService nodeService, SearchService searchService, NamespaceService namespaceService, String rootPath, NodeRef rootNodeRef) -
isTenantUser
boolean isTenantUser() -
isTenantUser
-
isTenantName
-
getUserDomain
- Specified by:
getUserDomain
in interfaceTenantUserService
- Returns:
- the tenant-specific ID for specified username
-
getTenant
-
getDomain
- Returns:
- the tenant-specific ID for specified identifier
-
getDomain
- Returns:
- the tenant-specific ID for specified identifier
-
getPrimaryDomain
Get the primary domain for user, if one exists.- Parameters:
user
- The user whose primary domain is to be returned- Returns:
- The primary domain of user, or null if the domain does not exist in the system.
-