org.alfresco.repo.tenant
Interface TenantService
- All Superinterfaces:
- TenantUserService
- All Known Implementing Classes:
- SingleTServiceImpl
public interface TenantService
- extends TenantUserService
Tenant Service interface.
This interface provides methods to support either ST or MT implementations.
SEPARATOR
static final java.lang.String SEPARATOR
- See Also:
- Constant Field Values
DEFAULT_DOMAIN
static final java.lang.String DEFAULT_DOMAIN
- See Also:
- Constant Field Values
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(java.lang.String username,
StoreRef storeRef)
- Returns:
- the reference with the tenant-specific ID attached
getName
QName getName(QName name)
- 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
getName
java.lang.String getName(java.lang.String 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
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
AssociationRef getBaseName(AssociationRef assocRef)
- Returns:
- the reference without the tenant-specific ID attached
getBaseName
java.lang.String getBaseName(java.lang.String name)
- Returns:
- the reference without the tenant-specific ID attached
getBaseName
java.lang.String getBaseName(java.lang.String name,
boolean forceIfNonTenant)
- Returns:
- the reference without the tenant-specific ID attached
checkDomainUser
void checkDomainUser(java.lang.String username)
checkDomain
void checkDomain(java.lang.String name)
getRootNode
NodeRef getRootNode(NodeService nodeService,
SearchService searchService,
NamespaceService namespaceService,
java.lang.String rootPath,
NodeRef rootNodeRef)
isTenantUser
boolean isTenantUser()
isTenantUser
boolean isTenantUser(java.lang.String username)
isTenantName
boolean isTenantName(java.lang.String name)
getUserDomain
java.lang.String getUserDomain(java.lang.String username)
- Specified by:
getUserDomain
in interface TenantUserService
- Returns:
- the tenant-specific ID for specified username
getTenant
Tenant getTenant(java.lang.String tenantDomain)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.