Interface TenantInfoHolder
-
@Deprecated public interface TenantInfoHolder
Deprecated.multi-tenant code will be removed in future version of Activiti and Activiti CloudInterface to be implemented when using theMultiSchemaMultiTenantProcessEngineConfigurationand used to set/get the current user and tenant identifier. The engine will call thegetCurrentTenantId()method when it needs to know which database to use. Typically used withThreadLocal's in the implementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidclearCurrentTenantId()Deprecated.Clears the current tenant identifier settings.Collection<String>getAllTenants()Deprecated.Returns all known tenant identifiers.StringgetCurrentTenantId()Deprecated.Returns the current tenant identifier.voidsetCurrentTenantId(String tenantid)Deprecated.Sets the current tenant identifier.
-
-
-
Method Detail
-
getAllTenants
Collection<String> getAllTenants()
Deprecated.Returns all known tenant identifiers.
-
setCurrentTenantId
void setCurrentTenantId(String tenantid)
Deprecated.Sets the current tenant identifier.
-
getCurrentTenantId
String getCurrentTenantId()
Deprecated.Returns the current tenant identifier.
-
clearCurrentTenantId
void clearCurrentTenantId()
Deprecated.Clears the current tenant identifier settings.
-
-