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.void
delete()
Performs the deletion of process definitions.Only the built-inExecutionListener
s are notified with theExecutionListener.EVENTNAME_END
event.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-inExecutionListener
s are notified with theExecutionListener.EVENTNAME_END
event. 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.UPDATE
permission onResources.PROCESS_DEFINITION
- if
cascade()
is applied and the user has noPermissions.UPDATE
permission onResources.PROCESS_INSTANCE
or noPermissions.UPDATE_INSTANCE
permission onResources.PROCESS_DEFINITION
.
- if the user has no
-