public interface ContentRepository extends Repository
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Modifier and Type | Method and Description |
---|---|
atg.repository.content.ContentRootPathProvider |
getContentRootPathProvider()
Returns the ContentRootPathProvider component that determines
the base path of content items living on the filesystem.
|
ContentRepositoryFolder |
getFolder(java.lang.String pId)
Returns a folder by it's id
|
ContentRepositoryFolder |
getFolderByPath(java.lang.String pPath)
Returns a folder based on the supplied path.
|
ContentRepositoryFolder[] |
getFolders(java.lang.String[] pIds)
Returns a set of folders with the given ids
|
ContentRepositoryFolder[] |
getFoldersByPath(java.lang.String[] pPaths)
Returns a set of folders based on the supplied paths.
|
ContentRepositoryItem |
getItemByPath(java.lang.String pPath)
Returns a document based on the supplied path.
|
ContentRepositoryItem[] |
getItemsByPath(java.lang.String[] pPaths)
Returns a set of document based on the supplied paths.
|
java.lang.String |
getPathSeparator()
Returns the String which represents the path seperator for the
path names of the items in the repository
|
ContentRepositoryFolder |
getRootFolder()
Returns the folder which points toward the "root folder."
|
void |
setContentRootPathProvider(atg.repository.content.ContentRootPathProvider pContentRootPathProvider)
Sets the ContentRootPathProvider component that determines
the base path of content items living on the filesystem.
|
getDefaultViewName, getItem, getItem, getItemDescriptor, getItemDescriptor, getItemDescriptorNames, getItems, getItems, getRepositoryName, getView, getView, getViewNames
static final java.lang.String CLASS_VERSION
ContentRepositoryItem getItemByPath(java.lang.String pPath) throws RepositoryException
pPath
- a value which represents the "name" of the document.
e.g. "/foo/bar.html"RepositoryException
ContentRepositoryItem[] getItemsByPath(java.lang.String[] pPaths) throws RepositoryException
pPaths
- an array of paths, each of which represents the
"name" of a single document. e.g. "/foo/bar.html"RepositoryException
ContentRepositoryFolder getRootFolder() throws RepositoryException
RepositoryException
ContentRepositoryFolder getFolder(java.lang.String pId) throws RepositoryException
RepositoryException
ContentRepositoryFolder[] getFolders(java.lang.String[] pIds) throws RepositoryException
RepositoryException
ContentRepositoryFolder getFolderByPath(java.lang.String pPath) throws RepositoryException
pPath
- a value which represents the "name" of the folder.
e.g. "/foo/bar/"RepositoryException
ContentRepositoryFolder[] getFoldersByPath(java.lang.String[] pPaths) throws RepositoryException
pPaths
- an array of paths, each of which represents
the "name" of a single folder. e.g. "/foo/bar/"RepositoryException
java.lang.String getPathSeparator()
void setContentRootPathProvider(atg.repository.content.ContentRootPathProvider pContentRootPathProvider)
pContentRootPathProvider
- the component providing this serviceatg.repository.content.ContentRootPathProvider getContentRootPathProvider()