org.eclipse.stardust.engine.api.runtime
Interface DocumentInfo

All Superinterfaces:
ResourceInfo, java.io.Serializable
All Known Subinterfaces:
Document
All Known Implementing Classes:
DmsDocumentBean

public interface DocumentInfo
extends ResourceInfo

The DocumentInfo keeps information common to both existing and not yet existing JCR documents.

Version:
$Revision$
Author:
sauer

Method Summary
 java.lang.String getContentType()
          Gets the content type of the JCR document (e.g.
 DocumentAnnotations getDocumentAnnotations()
           
 DocumentType getDocumentType()
           
 void setContentType(java.lang.String type)
          Sets the content type of the JCR document.
 void setDocumentAnnotations(DocumentAnnotations documentAnnotations)
           
 void setDocumentType(DocumentType documentType)
           
 
Methods inherited from interface org.eclipse.stardust.engine.api.runtime.ResourceInfo
getDateCreated, getDateLastModified, getDescription, getName, getOwner, getProperties, getProperty, setDescription, setName, setOwner, setProperties, setProperty
 

Method Detail

getContentType

java.lang.String getContentType()
Gets the content type of the JCR document (e.g. "application/octet-stream").

Returns:
the content type of the JCR document.

setContentType

void setContentType(java.lang.String type)
Sets the content type of the JCR document.

Parameters:
type - the content type of the JCR document.

getDocumentType

DocumentType getDocumentType()
Returns:

setDocumentType

void setDocumentType(DocumentType documentType)
Parameters:
documentType -

getDocumentAnnotations

DocumentAnnotations getDocumentAnnotations()
Returns:

setDocumentAnnotations

void setDocumentAnnotations(DocumentAnnotations documentAnnotations)
Parameters:
documentAnnotations -


Copyright © 2013 SunGard CSA LLC. All Rights Reserved.