Interface AttachmentDataFileSystemInternals
-
- All Known Implementing Classes:
ContentDirectoryStructureAttachmentDataFileSystemAdapter
,ContentDirectoryStructureAttachmentDataFileSystemV003
,ContentDirectoryStructureAttachmentDataFileSystemV004
,ObjectStorageAttachmentDataFileSystem
public interface AttachmentDataFileSystemInternals
Defines operations that expose the internals of the filesystem structure used to store attachments. Needless to say, these operations are highly coupled to the directory structure in question and should be used with caution.- Since:
- 7.12
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default File
containerDirectoryForAttachmentVersions(long attachmentId, long containerId, Optional<Long> spaceId)
Deprecated.since 7.14 UsecontainerPathForAttachmentVersions(long, long, Long)
com.atlassian.dc.filestore.api.compat.FilesystemPath
containerPathForAttachmentVersions(long attachmentId, long containerId, Long spaceId)
AttachmentDataFile
getAttachmentDataFile(long attachmentId, Long containerId, Long spaceId, Integer attachmentVersion, AttachmentDataStreamType dataStreamType)
default File
getDirectoryForSpace(Optional<Long> spaceId)
Deprecated.since 7.14 usegetPathForSpace(Long)
com.atlassian.dc.filestore.api.compat.FilesystemPath
getPathForSpace(Long spaceId)
Deprecated.since 8.1.0.
-
-
-
Method Detail
-
containerDirectoryForAttachmentVersions
@Deprecated default File containerDirectoryForAttachmentVersions(long attachmentId, long containerId, Optional<Long> spaceId)
Deprecated.since 7.14 UsecontainerPathForAttachmentVersions(long, long, Long)
-
containerPathForAttachmentVersions
com.atlassian.dc.filestore.api.compat.FilesystemPath containerPathForAttachmentVersions(long attachmentId, long containerId, @Nullable Long spaceId)
-
getAttachmentDataFile
AttachmentDataFile getAttachmentDataFile(long attachmentId, @Nullable Long containerId, @Nullable Long spaceId, Integer attachmentVersion, AttachmentDataStreamType dataStreamType)
-
getDirectoryForSpace
@Deprecated default File getDirectoryForSpace(Optional<Long> spaceId)
Deprecated.since 7.14 usegetPathForSpace(Long)
-
getPathForSpace
@Deprecated com.atlassian.dc.filestore.api.compat.FilesystemPath getPathForSpace(@Nullable Long spaceId)
Deprecated.since 8.1.0. Space is no longer a part of the attachment path since storage v004.
-
-