public class DmsDocumentBean extends org.eclipse.stardust.engine.extensions.dms.data.DmsResourceBean implements Document, DocumentInfo, Serializable
| Constructor and Description |
|---|
DmsDocumentBean() |
DmsDocumentBean(Map legoDocument) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType()
Gets the content type of the JCR document (e.g.
|
DocumentAnnotations |
getDocumentAnnotations() |
DocumentType |
getDocumentType() |
String |
getEncoding()
Gets the encoding of the document content.
|
String |
getLockOwner()
Deprecated.
|
String |
getRevisionComment()
Gets the version comment of the revision represented by this
Document object. |
String |
getRevisionId()
Gets the id of the revision represented by this
Document object. |
String |
getRevisionName()
Gets the name of the revision represented by this
Document object. |
long |
getSize()
Gets the size of a the document content in bytes.
|
List |
getVersionLabels()
Gets all labels assigned to the revision represented by this
Document object. |
void |
setContentType(String contentType)
Sets the content type of the JCR document.
|
void |
setDocumentAnnotations(DocumentAnnotations documentAnnotations) |
void |
setDocumentType(DocumentType documentType) |
void |
setEncoding(String encoding) |
void |
setRevisionComment(String revisionComment) |
void |
setRevisionId(String revisionId) |
void |
setRevisionName(String revisionName) |
void |
setSize(long size) |
void |
setVersionLabels(List<String> versionLabels) |
String |
toString() |
equals, getDateCreated, getDateLastModified, getDescription, getId, getName, getOwner, getPath, getProperties, getProperty, getRepositoryId, setDateCreated, setDateLastModified, setDescription, setId, setName, setOwner, setPath, setProperties, setProperty, vfsResourcegetClass, hashCode, notify, notifyAll, wait, wait, waitgetId, getPath, getRepositoryIdgetDateCreated, getDateLastModified, getDescription, getName, getOwner, getProperties, getProperty, setDescription, setName, setOwner, setProperties, setPropertypublic DmsDocumentBean()
public DmsDocumentBean(Map legoDocument)
public long getSize()
Documentpublic void setSize(long size)
public String getContentType()
DocumentInfogetContentType in interface DocumentInfopublic void setContentType(String contentType)
DocumentInfosetContentType in interface DocumentInfocontentType - the content type of the JCR document.public String getRevisionId()
DocumentDocument object.getRevisionId in interface DocumentDocument object.public void setRevisionId(String revisionId)
public String getRevisionName()
DocumentDocument object.getRevisionName in interface DocumentDocument object.public void setRevisionName(String revisionName)
public String getRevisionComment()
DocumentDocument object.getRevisionComment in interface DocumentDocument object.public void setRevisionComment(String revisionComment)
public List getVersionLabels()
DocumentDocument object.getVersionLabels in interface DocumentDocument object.@Deprecated public String getLockOwner()
public String getEncoding()
DocumentgetEncoding in interface Documentpublic void setEncoding(String encoding)
public DocumentAnnotations getDocumentAnnotations()
getDocumentAnnotations in interface DocumentInfopublic void setDocumentAnnotations(DocumentAnnotations documentAnnotations)
setDocumentAnnotations in interface DocumentInfopublic void setDocumentType(DocumentType documentType)
setDocumentType in interface DocumentInfopublic DocumentType getDocumentType()
getDocumentType in interface DocumentInfoCopyright © 2016 Eclipse Stardust. All Rights Reserved.