Class AttachmentV4Helper
java.lang.Object
com.atlassian.confluence.impl.pages.attachments.AttachmentV4Helper
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescription<T extends com.atlassian.dc.filestore.api.FileStore.Path>
AttachmentDataFile<T>getAttachmentDataFileV004(T basePath, AttachmentRef attachment, AttachmentDataStreamType dataStreamType) static <T extends com.atlassian.dc.filestore.api.FileStore.Path>
TgetContainerPathForAttachmentVersions(T basePath, long attachmentId) static <T extends com.atlassian.dc.filestore.api.FileStore.Path>
TgetDirectoryV004(T basePath, long id) Get the directory corresponding to the given content ID. 
- 
Field Details
- 
TOTAL_NUM_OF_SUBFOLDERS
public static final int TOTAL_NUM_OF_SUBFOLDERS- See Also:
 
 - 
NUM_OF_SUBFOLDERS
public static final int NUM_OF_SUBFOLDERS- See Also:
 
 
 - 
 - 
Constructor Details
- 
AttachmentV4Helper
public AttachmentV4Helper() 
 - 
 - 
Method Details
- 
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)  - 
getAttachmentDataFileV004
public <T extends com.atlassian.dc.filestore.api.FileStore.Path> AttachmentDataFile<T> getAttachmentDataFileV004(T basePath, AttachmentRef attachment, AttachmentDataStreamType dataStreamType)  
 -