Class AttachmentDeleteOptions
- java.lang.Object
-
- com.atlassian.confluence.pages.persistence.dao.bulk.DefaultBulkOptions
-
- com.atlassian.confluence.pages.persistence.dao.bulk.attachment.delete.AttachmentDeleteOptions
-
- Direct Known Subclasses:
IdListAttachmentDeleteOptions
public class AttachmentDeleteOptions extends DefaultBulkOptions
Represent an option to control bulk attachment delete. This option is tired with attachment container. Mean currently we only support bulk delete attachment belong to one container- Since:
- 7.17.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AttachmentDeleteOptions.AttachmentDeleteOptionsBuilder
static class
AttachmentDeleteOptions.AttachmentRef
Simple class to identify attachmentstatic class
AttachmentDeleteOptions.IdListAttachmentDeleteOptionsBuilder
-
Nested classes/interfaces inherited from class com.atlassian.confluence.pages.persistence.dao.bulk.DefaultBulkOptions
DefaultBulkOptions.BaseBuilder<T extends DefaultBulkOptions.BaseBuilder>, DefaultBulkOptions.Builder
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.pages.persistence.dao.bulk.DefaultBulkOptions
DEFAULT_BATCH_SIZE_PROPERTY, MAX_PROCESSED_ENTRIES_PROPERTY
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AttachmentDeleteOptions(DefaultBulkOptions defaultBulkOptions)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttachmentDeleteOptions.AttachmentDeleteOptionsBuilder
get()
long
getAttachmentContainerId()
Set<AttachmentDeleteOptions.AttachmentRef>
getAttachmentRefs()
boolean
isLatestVersion()
This is indicate that all request attachment is latest version or not-
Methods inherited from class com.atlassian.confluence.pages.persistence.dao.bulk.DefaultBulkOptions
defaultBuilder, getBatchSize, getMaxProcessedEntries, getProgressMeter, getUser
-
-
-
-
Constructor Detail
-
AttachmentDeleteOptions
protected AttachmentDeleteOptions(DefaultBulkOptions defaultBulkOptions)
-
-
Method Detail
-
getAttachmentRefs
public Set<AttachmentDeleteOptions.AttachmentRef> getAttachmentRefs()
-
isLatestVersion
public boolean isLatestVersion()
This is indicate that all request attachment is latest version or not- Returns:
-
getAttachmentContainerId
public long getAttachmentContainerId()
-
get
public static AttachmentDeleteOptions.AttachmentDeleteOptionsBuilder get()
-
-