Interface TenantInfoHolder
-
@Deprecated public interface TenantInfoHolderDeprecated.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.java.util.Collection<java.lang.String>getAllTenants()Deprecated.Returns all known tenant identifiers.java.lang.StringgetCurrentTenantId()Deprecated.Returns the current tenant identifier.voidsetCurrentTenantId(java.lang.String tenantid)Deprecated.Sets the current tenant identifier.
-
-
-
Method Detail
-
getAllTenants
java.util.Collection<java.lang.String> getAllTenants()
Deprecated.Returns all known tenant identifiers.
-
setCurrentTenantId
void setCurrentTenantId(java.lang.String tenantid)
Deprecated.Sets the current tenant identifier.
-
getCurrentTenantId
java.lang.String getCurrentTenantId()
Deprecated.Returns the current tenant identifier.
-
clearCurrentTenantId
void clearCurrentTenantId()
Deprecated.Clears the current tenant identifier settings.
-
-