Class AttachmentV4Helper


  • public class AttachmentV4Helper
    extends Object
    • Constructor Detail

      • AttachmentV4Helper

        public AttachmentV4Helper()
    • Method Detail

      • getDirectoryV004

        public static <T extends com.atlassian.dc.filestore.api.FileStore.Path> T getDirectoryV004​(T basePath,
                                                                                                   long id)
        Get the directory corresponding to the given content ID. The directory may or may not exist already. E.g. for id 12345678 and base path /parent it will produce a path /parent/10/98
      • getContainerPathForAttachmentVersions

        public static <T extends com.atlassian.dc.filestore.api.FileStore.Path> T getContainerPathForAttachmentVersions​(T basePath,
                                                                                                                        long attachmentId)