org.eclipse.stardust.engine.extensions.dms.data
Class DmsDocumentBean

java.lang.Object
  extended by org.eclipse.stardust.engine.extensions.dms.data.DmsResourceBean
      extended by org.eclipse.stardust.engine.extensions.dms.data.DmsDocumentBean
All Implemented Interfaces:
java.io.Serializable, Document, DocumentInfo, Resource, ResourceInfo

public class DmsDocumentBean
extends org.eclipse.stardust.engine.extensions.dms.data.DmsResourceBean
implements Document, DocumentInfo, java.io.Serializable

Version:
$Revision$
Author:
rsauer
See Also:
Serialized Form

Constructor Summary
DmsDocumentBean()
           
DmsDocumentBean(java.util.Map legoDocument)
           
 
Method Summary
 java.lang.String getContentType()
          Gets the content type of the JCR document (e.g.
 DocumentAnnotations getDocumentAnnotations()
           
 DocumentType getDocumentType()
           
 java.lang.String getEncoding()
          Gets the encoding of the document content.
 java.lang.String getLockOwner()
           
 java.lang.String getRevisionComment()
          Gets the version comment of the revision represented by this Document object.
 java.lang.String getRevisionId()
          Gets the id of the revision represented by this Document object.
 java.lang.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.
 java.util.List getVersionLabels()
          Gets all labels assigned to the revision represented by this Document object.
 void setContentType(java.lang.String contentType)
          Sets the content type of the JCR document.
 void setDocumentAnnotations(DocumentAnnotations documentAnnotations)
           
 void setDocumentType(DocumentType documentType)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.stardust.engine.extensions.dms.data.DmsResourceBean
equals, getDateCreated, getDateLastModified, getDescription, getId, getName, getOwner, getPath, getProperties, getProperty, getRepositoryId, setDescription, setName, setOwner, setProperties, setProperty, vfsResource
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.stardust.engine.api.runtime.Resource
getId, getPath, getRepositoryId
 
Methods inherited from interface org.eclipse.stardust.engine.api.runtime.ResourceInfo
getDateCreated, getDateLastModified, getDescription, getName, getOwner, getProperties, getProperty, setDescription, setName, setOwner, setProperties, setProperty
 

Constructor Detail

DmsDocumentBean

public DmsDocumentBean()

DmsDocumentBean

public DmsDocumentBean(java.util.Map legoDocument)
Method Detail

getSize

public long getSize()
Description copied from interface: Document
Gets the size of a the document content in bytes.

Specified by:
getSize in interface Document
Returns:
the size of a the document content in bytes.

getContentType

public java.lang.String getContentType()
Description copied from interface: DocumentInfo
Gets the content type of the JCR document (e.g. "application/octet-stream").

Specified by:
getContentType in interface DocumentInfo
Returns:
the content type of the JCR document.

setContentType

public void setContentType(java.lang.String contentType)
Description copied from interface: DocumentInfo
Sets the content type of the JCR document.

Specified by:
setContentType in interface DocumentInfo
Parameters:
contentType - the content type of the JCR document.

getRevisionId

public java.lang.String getRevisionId()
Description copied from interface: Document
Gets the id of the revision represented by this Document object.

Specified by:
getRevisionId in interface Document
Returns:
the id of the revision represented by this Document object.

getRevisionName

public java.lang.String getRevisionName()
Description copied from interface: Document
Gets the name of the revision represented by this Document object.

Specified by:
getRevisionName in interface Document
Returns:
the name of the revision represented by this Document object.

getRevisionComment

public java.lang.String getRevisionComment()
Description copied from interface: Document
Gets the version comment of the revision represented by this Document object.

Specified by:
getRevisionComment in interface Document
Returns:
the version comment of the revision represented by this Document object.

getVersionLabels

public java.util.List getVersionLabels()
Description copied from interface: Document
Gets all labels assigned to the revision represented by this Document object.

Specified by:
getVersionLabels in interface Document
Returns:
all labels assigned to the revision represented by this Document object.

getLockOwner

public java.lang.String getLockOwner()

getEncoding

public java.lang.String getEncoding()
Description copied from interface: Document
Gets the encoding of the document content.

Specified by:
getEncoding in interface Document
Returns:
the encoding of the document content.

getDocumentAnnotations

public DocumentAnnotations getDocumentAnnotations()
Specified by:
getDocumentAnnotations in interface DocumentInfo
Returns:

setDocumentAnnotations

public void setDocumentAnnotations(DocumentAnnotations documentAnnotations)
Specified by:
setDocumentAnnotations in interface DocumentInfo

setDocumentType

public void setDocumentType(DocumentType documentType)
Specified by:
setDocumentType in interface DocumentInfo

getDocumentType

public DocumentType getDocumentType()
Specified by:
getDocumentType in interface DocumentInfo
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2013 SunGard CSA LLC. All Rights Reserved.