Package com.axelor.workflow.trigger
Class WorkflowRecordCleanup
java.lang.Object
com.axelor.workflow.trigger.WorkflowRecordCleanup
Ends what the engine still holds for deleted records: pending approvals, parked runs and trigger
state. Set-based, so deleting many rows is one pass.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrecordsDeleted(String model, String jsonModel, Collection<Long> recordIds) Give up everything held for these deleted records ofmodel.
-
Constructor Details
-
WorkflowRecordCleanup
public WorkflowRecordCleanup()
-
-
Method Details
-
recordsDeleted
Give up everything held for these deleted records ofmodel.- Parameters:
jsonModel- the custom model, whenmodelisMetaJsonRecord; else null
-