public interface TenantAdminService
extends org.alfresco.repo.tenant.TenantUserService
This interface provides administrative methods to provision and administer tenants.
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) |
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.
Deprecated in 4.2. This method does not scale.
|
org.alfresco.repo.tenant.Tenant |
getTenant(String tenantDomain) |
List<org.alfresco.repo.tenant.Tenant> |
getTenants(boolean enabledOnly)
Deprecated.
method does not scale.
|
void |
importTenant(String tenantDomain,
File directorySource,
String contentRoot) |
boolean |
isEnabledTenant(String tenantDomain) |
void |
register(org.alfresco.repo.tenant.TenantDeployer tenantDeployer) |
void |
register(WorkflowDeployer workflowDeployer) |
void |
startTenants() |
void |
stopTenants() |
void |
undeployTenants(org.alfresco.repo.tenant.TenantDeployer deployer,
org.apache.commons.logging.Log logger) |
void |
unregister(org.alfresco.repo.tenant.TenantDeployer tenantDeployer) |
void startTenants()
void stopTenants()
void deployTenants(org.alfresco.repo.tenant.TenantDeployer deployer, org.apache.commons.logging.Log logger)
void undeployTenants(org.alfresco.repo.tenant.TenantDeployer deployer, org.apache.commons.logging.Log logger)
void register(org.alfresco.repo.tenant.TenantDeployer tenantDeployer)
void unregister(org.alfresco.repo.tenant.TenantDeployer tenantDeployer)
@Deprecated List<org.alfresco.repo.tenant.Tenant> getAllTenants()
@Deprecated List<org.alfresco.repo.tenant.Tenant> getTenants(boolean enabledOnly)
enabledOnly
- true to retrieve only active tenantsvoid register(WorkflowDeployer workflowDeployer)
void createTenant(String tenantDomain, char[] adminRawPassword)
void createTenant(String tenantDomain, char[] adminRawPassword, String contentRoot, String dbUrl)
boolean existsTenant(String tenantDomain)
void deleteTenant(String tenantDomain)
void enableTenant(String tenantDomain)
void disableTenant(String tenantDomain)
org.alfresco.repo.tenant.Tenant getTenant(String tenantDomain)
boolean isEnabledTenant(String tenantDomain)
Copyright © 2005–2017 Alfresco Software. All rights reserved.