|
||||||||||
| 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 and historic decision instances.
The SPI is invoked if the process definition does not have a tenant id or if the decision definition or execution does not have a tenant id.
An implementation of this SPI can be set on the ProcessEngineConfigurationImpl.
| Method Summary | |
|---|---|
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 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 | |||||||||