public interface TenantInfoHolder
MultiSchemaMultiTenantProcessEngineConfiguration and used
to set/get the current user and tenant identifier.
The engine will call the getCurrentTenantId() method when it needs to know which database to use.
Typically used with ThreadLocal's in the implementation.| Modifier and Type | Method and Description |
|---|---|
void |
clearCurrentTenantId()
Clears the current tenant identifier settings.
|
Collection<String> |
getAllTenants()
Returns all known tenant identifiers.
|
String |
getCurrentTenantId()
Returns the current tenant identifier.
|
void |
setCurrentTenantId(String tenantid)
Sets the current tenant identifier.
|
Collection<String> getAllTenants()
void setCurrentTenantId(String tenantid)
String getCurrentTenantId()
void clearCurrentTenantId()
Copyright © 2016 Alfresco. All rights reserved.