Interface DeleteProcessDefinitionsBuilder
- All Known Subinterfaces:
DeleteProcessDefinitionsTenantBuilder
- All Known Implementing Classes:
DeleteProcessDefinitionsBuilderImpl
public interface DeleteProcessDefinitionsBuilder
Fluent builder to delete process definitions by a process definition key or process definition ids.
- Author:
- Tassilo Weidner
-
Method Summary
Modifier and TypeMethodDescriptioncascade()All process instances of the process definition as well as history data is deleted.voiddelete()Performs the deletion of process definitions.Only the built-inExecutionListeners are notified with theExecutionListener.EVENTNAME_ENDevent.Specifies whether input/output mappings for tasks should be invoked
-
Method Details
-
cascade
DeleteProcessDefinitionsBuilder cascade()All process instances of the process definition as well as history data is deleted.- Returns:
- the builder
-
skipCustomListeners
DeleteProcessDefinitionsBuilder skipCustomListeners()Only the built-inExecutionListeners are notified with theExecutionListener.EVENTNAME_ENDevent. Is only applied in conjunction with the cascade method.- Returns:
- the builder
-
skipIoMappings
DeleteProcessDefinitionsBuilder skipIoMappings()Specifies whether input/output mappings for tasks should be invoked- Returns:
- the builder
-
delete
void delete()Performs the deletion of process definitions.- Throws:
ProcessEngineException- If no such processDefinition can be found.AuthorizationException-- if the user has no
Permissions.UPDATEpermission onResources.PROCESS_DEFINITION - if
cascade()is applied and the user has noPermissions.UPDATEpermission onResources.PROCESS_INSTANCEor noPermissions.UPDATE_INSTANCEpermission onResources.PROCESS_DEFINITION.
- if the user has no
-