public interface ContentRepositoryItem extends RepositoryItem, FolderItem
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getContentByKey(java.lang.String pKey)
Returns an InputStream to the named content piece
|
java.lang.String[] |
getContentKeys()
Returns an array of available content
|
long |
getContentLastModified(java.lang.String pKey)
Returns the time when the content was last modified.
|
long |
getContentLength(java.lang.String pKey)
Returns the size in bytes of the particular rendition.
|
getContextMemberships, getItemDescriptor, getPropertyValue, getRepository, getRepositoryId, isTransient
getAncestorFolderIds, getAncestorFolderPaths, getItemPath
getItemDisplayName
static final java.lang.String CLASS_VERSION
java.lang.String[] getContentKeys()
java.io.InputStream getContentByKey(java.lang.String pKey) throws RepositoryException
RepositoryException
- if there was an error fetching the contentlong getContentLastModified(java.lang.String pKey) throws RepositoryException
RepositoryException
- if there was an error determining
when the content was last modified.long getContentLength(java.lang.String pKey) throws RepositoryException
RepositoryException
- if the key does not correspond to a valid
key, or if there was a system error trying to access this content (such
as the repository became unavailable).