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

All Superinterfaces:
ResourceInfo, 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
 String getContentType()
          Gets the content type of the JCR document (e.g.
 DocumentAnnotations getDocumentAnnotations()
           
 DocumentType getDocumentType()
          Returns the meta data structure of a document
 void setContentType(String type)
          Sets the content type of the JCR document.
 void setDocumentAnnotations(DocumentAnnotations documentAnnotations)
           
 void setDocumentType(DocumentType documentType)
          Sets the meta data structure of a document
 
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

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(String type)
Sets the content type of the JCR document.

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

getDocumentType

DocumentType getDocumentType()
Returns the meta data structure of a document

Returns:
the meta data structure of a document

setDocumentType

void setDocumentType(DocumentType documentType)
Sets the meta data structure of a document

Parameters:
documentType - the meta data structure of a document

getDocumentAnnotations

DocumentAnnotations getDocumentAnnotations()
Returns:
document annotations

setDocumentAnnotations

void setDocumentAnnotations(DocumentAnnotations documentAnnotations)
Parameters:
documentAnnotations -


Copyright © 2017 Eclipse Stardust. All Rights Reserved.