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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachmentDeleteOptions
build()
protected AttachmentDeleteOptions.AttachmentDeleteOptionsBuilder
builder()
AttachmentDeleteOptions.AttachmentDeleteOptionsBuilder
withAttachmentBy(String attachmentName)
AttachmentDeleteOptions.AttachmentDeleteOptionsBuilder
withAttachmentBy(String attachmentName, int attachmentVersion)
AttachmentDeleteOptions.AttachmentDeleteOptionsBuilder
withAttachmentBy(String attachmentName, int attachmentVersion, String mineType)
AttachmentDeleteOptions.AttachmentDeleteOptionsBuilder
withContainerId(long attachmentContainerId)
AttachmentDeleteOptions.AttachmentDeleteOptionsBuilder
withDefaultOptions(DefaultBulkOptions options)
AttachmentDeleteOptions.IdListAttachmentDeleteOptionsBuilder
withIds(List<Long> ids)
-
Methods inherited from class com.atlassian.confluence.pages.persistence.dao.bulk.DefaultBulkOptions.BaseBuilder
buildDefault, withBatchSize, withMaxProcessedEntries, withProgressMeter, withUser
-
-
-
-
Method Detail
-
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
public AttachmentDeleteOptions.IdListAttachmentDeleteOptionsBuilder withIds(List<Long> ids)
-
builder
protected AttachmentDeleteOptions.AttachmentDeleteOptionsBuilder builder()
- Specified by:
builder
in classDefaultBulkOptions.BaseBuilder<AttachmentDeleteOptions.AttachmentDeleteOptionsBuilder>
-
build
public AttachmentDeleteOptions build()
-
-