Package | Description |
---|---|
com.atlassian.confluence.impl.pages.attachments.filesystem | |
com.atlassian.confluence.impl.pages.attachments.filesystem.model |
Modifier and Type | Method and Description |
---|---|
boolean |
ContentDirectoryStructureAttachmentDataFileSystem.dataExistsForAttachment(AttachmentRef attachment) |
boolean |
AttachmentDataFileSystem.dataExistsForAttachment(AttachmentRef attachment)
Indicates whether the filesystem contains data for the given attachment
|
void |
ContentDirectoryStructureAttachmentDataFileSystem.deleteAllAttachmentVersions(AttachmentRef attachment,
AttachmentRef.Container originalContent)
Delete all data corresponding to all versions of the given attachment
|
void |
AttachmentDataFileSystem.deleteAllAttachmentVersions(AttachmentRef attachment,
AttachmentRef.Container contentEntity)
Delete all data corresponding to all versions of the given attachment
|
void |
ContentDirectoryStructureAttachmentDataFileSystem.deleteSingleAttachmentVersion(AttachmentRef attachment,
AttachmentRef.Container originalContent)
Delete the data corresponding to a single attachment version
|
void |
AttachmentDataFileSystem.deleteSingleAttachmentVersion(AttachmentRef attachment,
AttachmentRef.Container contentEntity)
Delete the data corresponding to a single attachment version
|
void |
ContentDirectoryStructureAttachmentDataFileSystem.deleteSingleAttachmentVersion(AttachmentRef attachment,
AttachmentRef.Container originalContent,
AttachmentDataStreamType dataStreamType) |
void |
AttachmentDataFileSystem.deleteSingleAttachmentVersion(AttachmentRef attachment,
AttachmentRef.Container contentEntity,
AttachmentDataStreamType dataStreamType)
Delete the data of the specified stream type corresponding to a single attachment version
|
AttachmentDataStream |
ContentDirectoryStructureAttachmentDataFileSystem.getAttachmentData(AttachmentRef attachment,
AttachmentDataStreamType dataStreamType) |
AttachmentDataStream |
AttachmentDataFileSystem.getAttachmentData(AttachmentRef attachment,
AttachmentDataStreamType dataStreamType)
Fetches the data for a given attachment version and data stream type
|
AttachmentDataStream |
ContentDirectoryStructureAttachmentDataFileSystem.getAttachmentData(AttachmentRef attachment,
AttachmentDataStreamType dataStreamType,
Optional<RangeRequest> range) |
AttachmentDataStream |
AttachmentDataFileSystem.getAttachmentData(AttachmentRef attachment,
AttachmentDataStreamType dataStreamType,
Optional<RangeRequest> range)
Fetches the specified range of data for a given attachment version and data stream type
|
void |
ContentDirectoryStructureAttachmentDataFileSystem.moveAttachment(AttachmentRef oldAttachment,
AttachmentRef newAttachment,
AttachmentRef.Container newContent) |
void |
AttachmentDataFileSystem.moveAttachment(AttachmentRef oldAttachment,
AttachmentRef newAttachment,
AttachmentRef.Container newContentEntity)
Move all data relating to one attachment to a new directory corresponding to the given new attachment and
content entity.
|
void |
ContentDirectoryStructureAttachmentDataFileSystem.moveDataForAttachmentVersion(AttachmentRef sourceAttachmentVersion,
AttachmentRef targetAttachmentVersion) |
void |
AttachmentDataFileSystem.moveDataForAttachmentVersion(AttachmentRef sourceAttachmentVersion,
AttachmentRef targetAttachmentVersion)
Move the data associated with one attachment version, to being associated with a different attachment version
|
boolean |
ContentDirectoryStructureAttachmentDataFileSystem.saveAttachmentData(AttachmentRef attachmentVersion,
AttachmentDataStream attachmentDataStream,
boolean overwrite,
org.springframework.util.unit.DataSize expectedFileSize) |
boolean |
AttachmentDataFileSystem.saveAttachmentData(AttachmentRef attachment,
AttachmentDataStream dataStream,
boolean overwrite,
org.springframework.util.unit.DataSize expectedFileSize)
Save new data corresponding to the given attachment.
|
Modifier and Type | Method and Description |
---|---|
static AttachmentRef |
Refs.ref(Attachment attachment) |
Copyright © 2003–2021 Atlassian. All rights reserved.