Class AttachmentDeleteOptions.AttachmentDeleteOptionsBuilder
java.lang.Object
com.atlassian.confluence.pages.persistence.dao.bulk.DefaultBulkOptions.BaseBuilder<AttachmentDeleteOptions.AttachmentDeleteOptionsBuilder>
com.atlassian.confluence.pages.persistence.dao.bulk.attachment.delete.AttachmentDeleteOptions.AttachmentDeleteOptionsBuilder
- Enclosing class:
- AttachmentDeleteOptions
public static class AttachmentDeleteOptions.AttachmentDeleteOptionsBuilder
extends DefaultBulkOptions.BaseBuilder<AttachmentDeleteOptions.AttachmentDeleteOptionsBuilder>
-
Field Summary
Fields inherited from class com.atlassian.confluence.pages.persistence.dao.bulk.DefaultBulkOptions.BaseBuilder
batchSize, maxProcessedEntries, progressMeter, user
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builder()
withAttachmentBy
(String attachmentName) withAttachmentBy
(String attachmentName, int attachmentVersion) withAttachmentBy
(String attachmentName, int attachmentVersion, String mineType) withContainerId
(long attachmentContainerId) withDefaultOptions
(DefaultBulkOptions options) Methods inherited from class com.atlassian.confluence.pages.persistence.dao.bulk.DefaultBulkOptions.BaseBuilder
buildDefault, withBatchSize, withMaxProcessedEntries, withProgressMeter, withUser
-
Method Details
-
withDefaultOptions
public AttachmentDeleteOptions.AttachmentDeleteOptionsBuilder withDefaultOptions(DefaultBulkOptions options) -
withContainerId
public AttachmentDeleteOptions.AttachmentDeleteOptionsBuilder withContainerId(long attachmentContainerId) -
withAttachmentBy
public AttachmentDeleteOptions.AttachmentDeleteOptionsBuilder withAttachmentBy(String attachmentName) -
withAttachmentBy
public AttachmentDeleteOptions.AttachmentDeleteOptionsBuilder withAttachmentBy(String attachmentName, int attachmentVersion) -
withAttachmentBy
public AttachmentDeleteOptions.AttachmentDeleteOptionsBuilder withAttachmentBy(String attachmentName, int attachmentVersion, String mineType) -
withIds
-
builder
- Specified by:
builder
in classDefaultBulkOptions.BaseBuilder<AttachmentDeleteOptions.AttachmentDeleteOptionsBuilder>
-
build
-