|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TenantIdProvider
SPI which can be implemented to assign tenant ids to process instances, case instances and historic decision instances.
The SPI is invoked if the process definition, case definition or decision definition does not have a tenant id or execution does not have a tenant id.
An implementation of this SPI can be set on the ProcessEngineConfigurationImpl
.
Method Summary | |
---|---|
String |
provideTenantIdForCaseInstance(TenantIdProviderCaseInstanceContext ctx)
Invoked when a case instance is started and the Case Definition does not have a tenant id. |
String |
provideTenantIdForHistoricDecisionInstance(TenantIdProviderHistoricDecisionInstanceContext ctx)
Invoked when a historic decision instance is created and the Decision Definition or the Execution does not have a tenant id. |
String |
provideTenantIdForProcessInstance(TenantIdProviderProcessInstanceContext ctx)
Invoked when a process instance is started and the Process Definition does not have a tenant id. |
Method Detail |
---|
String provideTenantIdForProcessInstance(TenantIdProviderProcessInstanceContext ctx)
Implementors can either return a tenant id or null. If null is returned the process instance is not assigned a tenant id.
ctx
- holds information about the process instance which is about to be started.
String provideTenantIdForCaseInstance(TenantIdProviderCaseInstanceContext ctx)
Implementors can either return a tenant id or null. If null is returned the case instance is not assigned a tenant id.
ctx
- holds information about the case instance which is about to be started.
String provideTenantIdForHistoricDecisionInstance(TenantIdProviderHistoricDecisionInstanceContext ctx)
Implementors can either return a tenant id or null. If null is returned the historic decision instance is not assigned a tenant id.
ctx
- holds information about the decision definition and the execution.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |