|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentRepositoryItem
A more specific RepositoryItem interface which adds extra required properties that are useful in manipulating and displaying documents.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Method Summary | |
---|---|
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. |
Methods inherited from interface atg.repository.RepositoryItem |
---|
getContextMemberships, getItemDescriptor, getPropertyValue, getRepository, getRepositoryId, isTransient |
Methods inherited from interface atg.repository.content.FolderItem |
---|
getAncestorFolderIds, getAncestorFolderPaths, getItemPath |
Methods inherited from interface atg.repository.DisplayableItem |
---|
getItemDisplayName |
Field Detail |
---|
static final java.lang.String CLASS_VERSION
Method Detail |
---|
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).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |