Package com.flowable.platform.api.manage
Interface PlatformChangeTenantIdBuilder
- All Known Implementing Classes:
PlatformChangeTenantIdBuilderImpl
public interface PlatformChangeTenantIdBuilder
- Author:
- Filip Hrisafov
-
Method Summary
Modifier and TypeMethodDescriptionorg.flowable.common.engine.api.tenant.ChangeTenantIdResult
complete()
Executes change in the tenant id, returning the number of instances that were affecteddefinitionTenantId
(String definitionTenantId) Perform the change only for instances that were created using a definition from the given tenant.scopeTypes
(Collection<String> scopeTypes) Perform the change for the defined engine scope typesorg.flowable.common.engine.api.tenant.ChangeTenantIdResult
simulate()
Executes a simulation of the change of tenant id, calculating the number of instances that will be affected
-
Method Details
-
definitionTenantId
Perform the change only for instances that were created using a definition from the given tenant. -
scopeTypes
Perform the change for the defined engine scope types -
simulate
org.flowable.common.engine.api.tenant.ChangeTenantIdResult simulate()Executes a simulation of the change of tenant id, calculating the number of instances that will be affected- Returns:
ChangeTenantIdResult
-
complete
org.flowable.common.engine.api.tenant.ChangeTenantIdResult complete()Executes change in the tenant id, returning the number of instances that were affected- Returns:
ChangeTenantIdResult
-