|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UpdateProcessDefinitionSuspensionStateBuilder
Fluent builder to update the suspension state of process definitions.
| Method Summary | |
|---|---|
void |
activate()
Activates the provided process definitions. |
UpdateProcessDefinitionSuspensionStateBuilder |
executionDate(Date executionDate)
Specify when the suspension state should be updated. |
UpdateProcessDefinitionSuspensionStateBuilder |
includeProcessInstances(boolean includeProcessInstances)
Specify if the suspension states of the process instances of the provided process definitions should also be updated. |
void |
suspend()
Suspends the provided process definitions. |
| Method Detail |
|---|
UpdateProcessDefinitionSuspensionStateBuilder includeProcessInstances(boolean includeProcessInstances)
false.
includeProcessInstances - if true, all related process instances will be
activated / suspended too.
UpdateProcessDefinitionSuspensionStateBuilder executionDate(Date executionDate)
executionDate - the date on which the process definition will be activated /
suspended. If null, the process definition is
activated / suspended immediately.
void activate()
ProcessEngineException - If no such processDefinition can be found.
AuthorizationException - Permissions.UPDATE permission on
Resources.PROCESS_DEFINITIONincludeProcessInstances(boolean) is set to
true and the user have no Permissions.UPDATE
permission on Resources.PROCESS_INSTANCE or no
Permissions.UPDATE_INSTANCE permission on
Resources.PROCESS_DEFINITION.void suspend()
ProcessEngineException - If no such processDefinition can be found.
AuthorizationException - Permissions.UPDATE permission on
Resources.PROCESS_DEFINITIONincludeProcessInstances(boolean) is set to
true and the user have no Permissions.UPDATE
permission on Resources.PROCESS_INSTANCE or no
Permissions.UPDATE_INSTANCE permission on
Resources.PROCESS_DEFINITION.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||