|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Document
CMS Document interface. This interface is used to any kind of binary content (pdf, Ms Office, Open office, ...).
Field Summary |
---|
Fields inherited from interface org.apache.portals.graffito.model.core.CmsObject |
---|
URI_SEPARATOR |
Method Summary | |
---|---|
java.lang.String |
getContentType()
Get the content type of this document |
DocumentStream |
getDocumentStream()
Get the document stream |
long |
getSize()
Get the size of the document |
void |
setContentType(java.lang.String type)
Set the content type for this document |
void |
setDocumentStream(DocumentStream documentStream)
Set the document stream |
void |
setSize(long size)
Set the size of the document |
Methods inherited from interface org.apache.portals.graffito.model.core.VersionnedContent |
---|
clone, getVersionNumber, isLastVersion, setLastVersion, setVersionNumber |
Methods inherited from interface org.apache.portals.graffito.model.core.CmsObject |
---|
getCreationDate, getLastModified, getName, getParentFolder, getPath, getProperties, getProperty, getUri, setCreationDate, setLastModified, setName, setParentFolder, setProperties, setProperty, setUri |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
java.lang.String getContentType()
void setContentType(java.lang.String type)
type
- the new document typelong getSize()
void setSize(long size)
size
- the size to setDocumentStream getDocumentStream()
void setDocumentStream(DocumentStream documentStream)
documentStream
- the document stream to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |