|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ModificationBuilder
| Method Summary | |
|---|---|
ModificationBuilder |
cancelAllForActivity(String activityId)
Submits the instruction: |
void |
execute()
Execute the modification synchronously. |
Batch |
executeAsync()
Execute the modification asynchronously as batch. |
ModificationBuilder |
processInstanceIds(List<String> processInstanceIds)
|
ModificationBuilder |
processInstanceIds(String... processInstanceIds)
|
ModificationBuilder |
processInstanceQuery(ProcessInstanceQuery processInstanceQuery)
|
ModificationBuilder |
skipCustomListeners()
Skips custom execution listeners when creating/removing activity instances during modification |
ModificationBuilder |
skipIoMappings()
Skips io mappings when creating/removing activity instances during modification |
| Methods inherited from interface org.camunda.bpm.engine.runtime.InstantiationBuilder |
|---|
startAfterActivity, startBeforeActivity, startTransition |
| Method Detail |
|---|
ModificationBuilder cancelAllForActivity(String activityId)
Submits the instruction:
Cancel all instances of the given activity in an arbitrary order, which are:
The cancellation order of the instances is arbitrary
activityId - the activity for which all instances should be cancelledModificationBuilder processInstanceIds(List<String> processInstanceIds)
processInstanceIds - the process instance ids to modify.ModificationBuilder processInstanceIds(String... processInstanceIds)
processInstanceIds - the process instance ids to modify.ModificationBuilder processInstanceQuery(ProcessInstanceQuery processInstanceQuery)
processInstanceQuery - a query which selects the process instances to modify.
Query results are restricted to process instances for which the user has Permissions.READ permission.ModificationBuilder skipCustomListeners()
ModificationBuilder skipIoMappings()
void execute()
AuthorizationException - if the user has not all of the following permissions
Permissions.UPDATE permission on Resources.PROCESS_INSTANCE or no Permissions.UPDATE_INSTANCE permission on Resources.PROCESS_DEFINITIONBatch executeAsync()
AuthorizationException - if the user has not all of the following permissions
Permissions.CREATE permission on Resources.BATCH
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||