Class BasicRemoveCleanupAction
java.lang.Object
de.hybris.platform.retention.impl.BasicRemoveCleanupAction
- All Implemented Interfaces:
RetentionCleanupAction
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBasicRemoveCleanupAction(ModelService modelService, WriteAuditGateway writeAuditGateway, AuditEnablementService auditEnablementService) -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup(AfterRetentionCleanupJobPerformable retentionJob, AbstractRetentionRuleModel rule, ItemToCleanup item) Cleans up given item according to given rule, processed by retention job.
-
Field Details
-
SPRING_ID
- See Also:
-
-
Constructor Details
-
BasicRemoveCleanupAction
public BasicRemoveCleanupAction(ModelService modelService, WriteAuditGateway writeAuditGateway, AuditEnablementService auditEnablementService)
-
-
Method Details
-
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.- Specified by:
cleanupin interfaceRetentionCleanupAction- Parameters:
retentionJob- the retention jobrule- the retention rule that can provide additional logicitem- the item to be cleaned up
-