public class SingleTAdminServiceImpl extends Object implements TenantAdminService
Constructor and Description |
---|
SingleTAdminServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
createTenant(String tenantDomain,
char[] adminRawPassword) |
void |
createTenant(String tenantDomain,
char[] adminRawPassword,
String contentRoot) |
void |
createTenant(String tenantDomain,
char[] adminRawPassword,
String contentRoot,
String dbUrl) |
void |
deleteTenant(String tenantDomain) |
void |
deployTenants(org.alfresco.repo.tenant.TenantDeployer deployer,
org.apache.commons.logging.Log logger)
NO-OP
|
void |
disableTenant(String tenantDomain) |
void |
enableTenant(String tenantDomain) |
boolean |
existsTenant(String tenantDomain) |
void |
exportTenant(String tenantDomain,
File directoryDestination) |
List<org.alfresco.repo.tenant.Tenant> |
getAllTenants()
Deprecated.
|
String |
getBaseNameUser(String username) |
String |
getCurrentUserDomain() |
String |
getDomainUser(String baseUsername,
String tenantDomain) |
org.alfresco.repo.tenant.Tenant |
getTenant(String tenantDomain) |
List<org.alfresco.repo.tenant.Tenant> |
getTenants(boolean enabledOnly)
Deprecated.
|
String |
getUserDomain(String username) |
void |
importTenant(String tenantDomain,
File directorySource,
String rootContentStoreDir) |
boolean |
isEnabled() |
boolean |
isEnabledTenant(String tenantDomain) |
void |
register(org.alfresco.repo.tenant.TenantDeployer tenantDeployer)
NO-OP
|
void |
register(WorkflowDeployer workflowDeployer)
NO-OP
|
void |
startTenants()
NO-OP
|
void |
stopTenants()
NO-OP
|
void |
undeployTenants(org.alfresco.repo.tenant.TenantDeployer deployer,
org.apache.commons.logging.Log logger)
NO-OP
|
void |
unregister(org.alfresco.repo.tenant.TenantDeployer tenantDeployer)
NO-OP
|
public void startTenants()
startTenants
in interface TenantAdminService
public void stopTenants()
stopTenants
in interface TenantAdminService
public boolean isEnabled()
isEnabled
in interface org.alfresco.repo.tenant.TenantUserService
public void deployTenants(org.alfresco.repo.tenant.TenantDeployer deployer, org.apache.commons.logging.Log logger)
deployTenants
in interface TenantAdminService
public void undeployTenants(org.alfresco.repo.tenant.TenantDeployer deployer, org.apache.commons.logging.Log logger)
undeployTenants
in interface TenantAdminService
public void register(org.alfresco.repo.tenant.TenantDeployer tenantDeployer)
register
in interface TenantAdminService
public void unregister(org.alfresco.repo.tenant.TenantDeployer tenantDeployer)
unregister
in interface TenantAdminService
public void register(WorkflowDeployer workflowDeployer)
register
in interface TenantAdminService
@Deprecated public List<org.alfresco.repo.tenant.Tenant> getAllTenants()
getAllTenants
in interface TenantAdminService
@Deprecated public List<org.alfresco.repo.tenant.Tenant> getTenants(boolean enabledOnly)
getTenants
in interface TenantAdminService
enabledOnly
- true to retrieve only active tenantspublic String getCurrentUserDomain()
getCurrentUserDomain
in interface org.alfresco.repo.tenant.TenantUserService
TenantService.DEFAULT_DOMAIN
alwayspublic String getUserDomain(String username)
getUserDomain
in interface org.alfresco.repo.tenant.TenantUserService
TenantService.DEFAULT_DOMAIN
alwayspublic String getBaseNameUser(String username)
getBaseNameUser
in interface org.alfresco.repo.tenant.TenantUserService
public String getDomainUser(String baseUsername, String tenantDomain)
getDomainUser
in interface org.alfresco.repo.tenant.TenantUserService
public void createTenant(String tenantDomain, char[] adminRawPassword, String contentRoot)
createTenant
in interface TenantAdminService
UnsupportedOperationException
- alwayspublic void createTenant(String tenantDomain, char[] adminRawPassword, String contentRoot, String dbUrl)
createTenant
in interface TenantAdminService
UnsupportedOperationException
- alwayspublic void createTenant(String tenantDomain, char[] adminRawPassword)
createTenant
in interface TenantAdminService
UnsupportedOperationException
- alwayspublic void deleteTenant(String tenantDomain)
deleteTenant
in interface TenantAdminService
UnsupportedOperationException
- alwayspublic void disableTenant(String tenantDomain)
disableTenant
in interface TenantAdminService
UnsupportedOperationException
- alwayspublic void enableTenant(String tenantDomain)
enableTenant
in interface TenantAdminService
UnsupportedOperationException
- alwayspublic boolean existsTenant(String tenantDomain)
existsTenant
in interface TenantAdminService
UnsupportedOperationException
- alwayspublic void exportTenant(String tenantDomain, File directoryDestination)
exportTenant
in interface TenantAdminService
UnsupportedOperationException
- alwayspublic org.alfresco.repo.tenant.Tenant getTenant(String tenantDomain)
getTenant
in interface TenantAdminService
UnsupportedOperationException
- alwayspublic void importTenant(String tenantDomain, File directorySource, String rootContentStoreDir)
importTenant
in interface TenantAdminService
UnsupportedOperationException
- alwayspublic boolean isEnabledTenant(String tenantDomain)
isEnabledTenant
in interface TenantAdminService
UnsupportedOperationException
- alwaysCopyright © 2005–2017 Alfresco Software. All rights reserved.