Class DefaultExtensibleRemoveCleanupAction
- java.lang.Object
-
- de.hybris.platform.retention.impl.AbstractExtensibleRemoveCleanupAction
-
- de.hybris.platform.retention.impl.DefaultExtensibleRemoveCleanupAction
-
- All Implemented Interfaces:
RetentionCleanupAction
public class DefaultExtensibleRemoveCleanupAction extends AbstractExtensibleRemoveCleanupAction
A strategy action that can inject hooks to run custom code to cleanup related objects for item cleanup.
-
-
Constructor Summary
Constructors Constructor Description DefaultExtensibleRemoveCleanupAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanup(AfterRetentionCleanupJobPerformable retentionJob, AbstractRetentionRuleModel rule, ItemToCleanup item)Cleans up given item according to given rule, processed by retention job.-
Methods inherited from class de.hybris.platform.retention.impl.AbstractExtensibleRemoveCleanupAction
cleanupRelatedObjects, getCleanupHooks, getModelService, removeAuditRecords, setAuditScopeInvalidator, setItemCleanupHooks, setModelService, setWriteAuditGateway
-
-
-
-
Method Detail
-
cleanup
public void cleanup(AfterRetentionCleanupJobPerformable retentionJob, AbstractRetentionRuleModel rule, ItemToCleanup item)
Description copied from interface:RetentionCleanupActionCleans up given item according to given rule, processed by retention job.- Parameters:
retentionJob- the retention jobrule- the retention rule that can provide additional logicitem- the item to be cleaned up
-
-