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()
-
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.voidsetModelService(ModelService modelService)voidsetWriteAuditGateway(WriteAuditGateway writeAuditGateway)
-
-
-
Field Detail
-
SPRING_ID
public static final java.lang.String SPRING_ID
- See Also:
- Constant Field Values
-
-
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
-
setModelService
public void setModelService(ModelService modelService)
-
setWriteAuditGateway
public void setWriteAuditGateway(WriteAuditGateway writeAuditGateway)
-
-