Interface DeleteProcessDefinitionsBuilder
-
- All Known Subinterfaces:
DeleteProcessDefinitionsTenantBuilder
- All Known Implementing Classes:
DeleteProcessDefinitionsBuilderImpl
public interface DeleteProcessDefinitionsBuilderFluent builder to delete process definitions by a process definition key or process definition ids.- Author:
- Tassilo Weidner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeleteProcessDefinitionsBuildercascade()All process instances of the process definition as well as history data is deleted.voiddelete()Performs the deletion of process definitions.DeleteProcessDefinitionsBuilderskipCustomListeners()Only the built-inExecutionListeners are notified with theExecutionListener.EVENTNAME_ENDevent.DeleteProcessDefinitionsBuilderskipIoMappings()Specifies whether input/output mappings for tasks should be invoked
-
-
-
Method Detail
-
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
-
-