public interface FolderItem extends DisplayableItem
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getAncestorFolderIds()
Returns an array of ids for all folders which are parents
of this item.
|
java.lang.String[] |
getAncestorFolderPaths()
Returns an array of paths for all folders which are parents
of this item.
|
java.lang.String |
getItemPath()
Return the path of this item, represented as a "relative path"
from a "document root."
|
getItemDisplayName
static final java.lang.String CLASS_VERSION
java.lang.String getItemPath()
java.lang.String[] getAncestorFolderPaths()
itemPath
property value "/foo/bar/somepage.html" then this method would return
{"/", "/foo", "/foo/bar"}. With a these paths one can fetch the content
via the ContentRepository.getFolderByPath methods. ContentRepository.getFolderByPath
,
ContentRepository.getFoldersByPath
java.lang.String[] getAncestorFolderIds()
ContentRepository.getFolder
,
ContentRepository.getFolders