Class DefaultBulkAttachmentDelete.BulkAttachmentDeleteAction
- java.lang.Object
-
- com.atlassian.confluence.pages.persistence.dao.bulk.attachment.delete.DefaultBulkAttachmentDelete.BulkAttachmentDeleteAction
-
- All Implemented Interfaces:
BulkAction<BulkAttachmentDeleteContext,AttachmentIdentifier>
,BulkActionReportAware
- Enclosing class:
- DefaultBulkAttachmentDelete
public class DefaultBulkAttachmentDelete.BulkAttachmentDeleteAction extends Object implements BulkAction<BulkAttachmentDeleteContext,AttachmentIdentifier>, BulkActionReportAware
Contain a logic to trash attachment- Since:
- 7.16.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.atlassian.confluence.impl.hibernate.bulk.BulkAction
BulkAction.Result<CONTEXT extends BulkExecutionContext,TARGET>
-
-
Field Summary
-
Fields inherited from interface com.atlassian.confluence.impl.hibernate.bulk.BulkAction
LOCK_PREFIX
-
-
Constructor Summary
Constructors Constructor Description BulkAttachmentDeleteAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NonNull BulkAction.Result<BulkAttachmentDeleteContext,AttachmentIdentifier>
process(BulkAttachmentDeleteContext context, AttachmentIdentifier attachmentIdentifier)
Do logic for single item in bulk actionvoid
report(com.atlassian.core.util.ProgressMeter progressMeter, int processedEntities, int actionedEntities, int maxProcessedDepthLevel)
-
-
-
Method Detail
-
process
public @NonNull BulkAction.Result<BulkAttachmentDeleteContext,AttachmentIdentifier> process(BulkAttachmentDeleteContext context, AttachmentIdentifier attachmentIdentifier)
Description copied from interface:BulkAction
Do logic for single item in bulk action- Specified by:
process
in interfaceBulkAction<BulkAttachmentDeleteContext,AttachmentIdentifier>
- Returns:
- List of next item next to be process
-
report
public void report(com.atlassian.core.util.ProgressMeter progressMeter, int processedEntities, int actionedEntities, int maxProcessedDepthLevel)
- Specified by:
report
in interfaceBulkActionReportAware
-
-