Class BasicRemoveCleanupAction
- java.lang.Object
-
- de.hybris.platform.retention.impl.BasicRemoveCleanupAction
-
- All Implemented Interfaces:
RetentionCleanupAction
public class BasicRemoveCleanupAction extends java.lang.Object implements RetentionCleanupAction
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSPRING_ID
-
Constructor Summary
Constructors Constructor Description BasicRemoveCleanupAction(ModelService modelService, WriteAuditGateway writeAuditGateway, AuditEnablementService auditEnablementService)
-
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.
-
-
-
Field Detail
-
SPRING_ID
public static final java.lang.String SPRING_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BasicRemoveCleanupAction
public BasicRemoveCleanupAction(ModelService modelService, WriteAuditGateway writeAuditGateway, AuditEnablementService auditEnablementService)
-
-
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.- Specified by:
cleanupin interfaceRetentionCleanupAction- Parameters:
retentionJob- the retention jobrule- the retention rule that can provide additional logicitem- the item to be cleaned up
-
-