Class HierarchicalContentFileSystemHelper
java.lang.Object
com.atlassian.confluence.pages.persistence.dao.filesystem.HierarchicalContentFileSystemHelper
Provides utilties for creating hierarchical directory structures for storing Confluence content-related files.
- Since:
- 5.5
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateDirectoryHierarchy
(File parentDir, long contentId) Deprecated.com.atlassian.dc.filestore.api.compat.FilesystemPath
getDirectory
(com.atlassian.dc.filestore.api.compat.FilesystemPath parentDir, long contentId) Get the directory corresponding to the given content ID.getDirectory
(File parentDir, long contentId) Get the directory corresponding to the given content ID.
-
Constructor Details
-
HierarchicalContentFileSystemHelper
public HierarchicalContentFileSystemHelper()
-
-
Method Details
-
createDirectoryHierarchy
Deprecated.since 7.14 usegetDirectory(File, long)
Get the directory corresponding to the given content ID, creating the directory hierarchy as required. -
getDirectory
Get the directory corresponding to the given content ID. The directory may or may not exist already. -
getDirectory
public com.atlassian.dc.filestore.api.compat.FilesystemPath getDirectory(com.atlassian.dc.filestore.api.compat.FilesystemPath parentDir, long contentId) Get the directory corresponding to the given content ID. The directory may or may not exist already.
-
getDirectory(File, long)