Uses of Interface
com.atlassian.confluence.pages.persistence.dao.AttachmentDataStream
-
-
Uses of AttachmentDataStream in com.atlassian.confluence.impl.pages.attachments.filesystem
Methods in com.atlassian.confluence.impl.pages.attachments.filesystem that return AttachmentDataStream Modifier and Type Method Description AttachmentDataStream
AttachmentDataFileSystem. getAttachmentData(AttachmentRef attachment, AttachmentDataStreamType dataStreamType)
Fetches the data for a given attachment version and data stream typeAttachmentDataStream
AttachmentDataFileSystem. getAttachmentData(AttachmentRef attachment, AttachmentDataStreamType dataStreamType, Optional<RangeRequest> range)
Fetches the specified range of data for a given attachment version and data stream typeAttachmentDataStream
ContentDirectoryStructureAttachmentDataFileSystemAdapter. getAttachmentData(AttachmentRef attachment, AttachmentDataStreamType dataStreamType)
AttachmentDataStream
ContentDirectoryStructureAttachmentDataFileSystemAdapter. getAttachmentData(AttachmentRef attachment, AttachmentDataStreamType dataStreamType, Optional<RangeRequest> range)
AttachmentDataStream
ContentDirectoryStructureAttachmentDataFileSystemV003. getAttachmentData(AttachmentRef attachment, AttachmentDataStreamType dataStreamType)
Deprecated.AttachmentDataStream
ContentDirectoryStructureAttachmentDataFileSystemV003. getAttachmentData(AttachmentRef attachment, AttachmentDataStreamType dataStreamType, Optional<RangeRequest> range)
Deprecated.AttachmentDataStream
ContentDirectoryStructureAttachmentDataFileSystemV004. getAttachmentData(AttachmentRef attachment, AttachmentDataStreamType dataStreamType)
AttachmentDataStream
ContentDirectoryStructureAttachmentDataFileSystemV004. getAttachmentData(AttachmentRef attachment, AttachmentDataStreamType dataStreamType, Optional<RangeRequest> range)
AttachmentDataStream
FileSystemAttachmentDataDao. getDataForAttachment(Attachment attachment, AttachmentDataStreamType dataStreamType)
AttachmentDataStream
FileSystemAttachmentDataDao. getDataForAttachment(Attachment attachment, AttachmentDataStreamType dataStreamType, Optional<RangeRequest> range)
Methods in com.atlassian.confluence.impl.pages.attachments.filesystem with parameters of type AttachmentDataStream Modifier and Type Method Description void
FileSystemAttachmentDataDao. replaceDataForAttachment(Attachment attachment, AttachmentDataStream dataStream)
boolean
AttachmentDataFileSystem. saveAttachmentData(AttachmentRef attachment, AttachmentDataStream dataStream, boolean overwrite, org.springframework.util.unit.DataSize expectedFileSize)
Save new data corresponding to the given attachment.boolean
ContentDirectoryStructureAttachmentDataFileSystemAdapter. saveAttachmentData(AttachmentRef attachmentVersion, AttachmentDataStream attachmentDataStream, boolean overwrite, org.springframework.util.unit.DataSize expectedFileSize)
boolean
ContentDirectoryStructureAttachmentDataFileSystemV003. saveAttachmentData(AttachmentRef attachmentVersion, AttachmentDataStream attachmentDataStream, boolean overwrite, org.springframework.util.unit.DataSize expectedFileSize)
Deprecated.boolean
ContentDirectoryStructureAttachmentDataFileSystemV004. saveAttachmentData(AttachmentRef attachmentVersion, AttachmentDataStream attachmentDataStream, boolean overwrite, org.springframework.util.unit.DataSize expectedFileSize)
Save attachment to the file system storagevoid
FileSystemAttachmentDataDao. saveDataForAttachment(Attachment attachment, AttachmentDataStream dataStream)
void
FileSystemAttachmentDataDao. saveDataForAttachmentVersion(Attachment attachment, Attachment previousVersion, AttachmentDataStream dataStream)
-
Uses of AttachmentDataStream in com.atlassian.confluence.impl.pages.attachments.objectstorage
Methods in com.atlassian.confluence.impl.pages.attachments.objectstorage that return AttachmentDataStream Modifier and Type Method Description AttachmentDataStream
ObjectStorageAttachmentDataFileSystem. getAttachmentData(AttachmentRef attachment, AttachmentDataStreamType dataStreamType)
AttachmentDataStream
ObjectStorageAttachmentDataFileSystem. getAttachmentData(AttachmentRef attachment, AttachmentDataStreamType dataStreamType, Optional<RangeRequest> range)
Methods in com.atlassian.confluence.impl.pages.attachments.objectstorage with parameters of type AttachmentDataStream Modifier and Type Method Description boolean
ObjectStorageAttachmentDataFileSystem. saveAttachmentData(AttachmentRef attachment, AttachmentDataStream attachmentDataStream, boolean overwrite, org.springframework.util.unit.DataSize expectedFileSize)
Save attachment to S3 object storage -
Uses of AttachmentDataStream in com.atlassian.confluence.pages.persistence.dao
Classes in com.atlassian.confluence.pages.persistence.dao that implement AttachmentDataStream Modifier and Type Class Description static class
AttachmentDataStream.FileWrapper
Deprecated.since 7.14 Usecreate(AttachmentDataStreamType, InputStreamSource)
static class
AttachmentDataStream.InputStreamWrapper
Deprecated.since 7.14 Usecreate(AttachmentDataStreamType, InputStreamSource)
static class
AttachmentDataStream.RandomFileWrapper
Deprecated.since 7.14 Usecreate(AttachmentDataStreamType, InputStreamSource)
andlimit(RangeRequest)
Methods in com.atlassian.confluence.pages.persistence.dao that return AttachmentDataStream Modifier and Type Method Description static AttachmentDataStream
AttachmentDataStream. create(AttachmentDataStreamType type, org.springframework.core.io.InputStreamSource inputStreamSource)
AttachmentDataStream
LegacyAttachmentDataDaoSupport. getAttachmentDataStream(Attachment attachment, AttachmentDataStreamType dataStreamType)
AttachmentDataStream
AttachmentDataDao. getDataForAttachment(Attachment attachment, AttachmentDataStreamType dataStreamType)
Grabs the AttachmentData object for an AttachmentAttachmentDataStream
AttachmentDataDao. getDataForAttachment(Attachment attachment, AttachmentDataStreamType dataStreamType, Optional<RangeRequest> range)
Grabs the AttachmentData object for an AttachmentAttachmentDataStream
FileSystemAttachmentDataDao. getDataForAttachment(Attachment attachment, AttachmentDataStreamType dataStreamType)
Deprecated.AttachmentDataStream
FileSystemAttachmentDataDao. getDataForAttachment(Attachment attachment, AttachmentDataStreamType dataStreamType, Optional<RangeRequest> range)
Deprecated.default AttachmentDataStream
AttachmentDataStream. limit(RangeRequest range)
Applies a range limit to the currentAttachmentDataStream
.Methods in com.atlassian.confluence.pages.persistence.dao with parameters of type AttachmentDataStream Modifier and Type Method Description void
AttachmentDataDao. replaceDataForAttachment(Attachment attachment, AttachmentDataStream dataStream)
Sets the data for attachmentvoid
FileSystemAttachmentDataDao. replaceDataForAttachment(Attachment attachment, AttachmentDataStream dataStream)
Deprecated.void
LegacyAttachmentDataDaoSupport. replaceDataForAttachment(Attachment attachment, AttachmentDataStream dataStream)
void
AttachmentDataDao. saveDataForAttachment(Attachment attachment, AttachmentDataStream dataStream)
Saves data to the attachment data storevoid
FileSystemAttachmentDataDao. saveDataForAttachment(Attachment attachment, AttachmentDataStream dataStream)
Deprecated.void
LegacyAttachmentDataDaoSupport. saveDataForAttachment(Attachment attachment, AttachmentDataStream dataStream)
void
AttachmentDataDao. saveDataForAttachmentVersion(Attachment attachment, Attachment previousVersion, AttachmentDataStream dataStream)
Saves data to the attachment data store, for an attachment that has been updated.void
FileSystemAttachmentDataDao. saveDataForAttachmentVersion(Attachment attachment, Attachment previousVersion, AttachmentDataStream dataStream)
Deprecated.void
LegacyAttachmentDataDaoSupport. saveDataForAttachmentVersion(Attachment attachment, Attachment previousVersion, AttachmentDataStream dataStream)
-
Uses of AttachmentDataStream in com.atlassian.confluence.pages.persistence.dao.hibernate
Methods in com.atlassian.confluence.pages.persistence.dao.hibernate that return AttachmentDataStream Modifier and Type Method Description AttachmentDataStream
HibernateAttachmentDataDao. getDataForAttachment(Attachment attachment, AttachmentDataStreamType dataStreamType)
Deprecated, for removal: This API element is subject to removal in a future version.AttachmentDataStream
HibernateAttachmentDataDao. getDataForAttachment(Attachment attachment, AttachmentDataStreamType dataStreamType, Optional<RangeRequest> range)
Deprecated, for removal: This API element is subject to removal in a future version.Methods in com.atlassian.confluence.pages.persistence.dao.hibernate with parameters of type AttachmentDataStream Modifier and Type Method Description void
HibernateAttachmentDataDao. replaceDataForAttachment(Attachment attachment, AttachmentDataStream dataStream)
Deprecated, for removal: This API element is subject to removal in a future version.void
HibernateAttachmentDataDao. saveDataForAttachment(Attachment attachment, AttachmentDataStream dataStream)
Deprecated, for removal: This API element is subject to removal in a future version.void
HibernateAttachmentDataDao. saveDataForAttachmentVersion(Attachment attachment, Attachment previousVersion, AttachmentDataStream dataStream)
Deprecated, for removal: This API element is subject to removal in a future version.
-