|
Oracle® Fusion Middleware Oracle Imaging and Process Management Java API Reference 11g Release 1 (11.1.1) E12853-02 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface DocumentContentService
| Method Summary | |
|---|---|
javax.activation.DataHandler |
retrieve(java.lang.String documentId)Retrieves the original document referenced by the documentId provided. |
RenderResult |
retrievePage(java.lang.String documentId, RenderOptions options)Retrieves the specified page of a document according to the specifed rendering options. |
Rendition |
retrieveRendition(java.lang.String documentId, boolean withAnnotations, boolean preserveColor, RenderOptions.RenditionOutput outputType, int[] pages)Retrieves a rendition of the document referenced by the documentId provided and described by the options parameter. |
javax.activation.DataHandler |
retrieveVersion(java.lang.String documentId, long versionId)Retrieves the original document version referenced by documentId and version number. |
RenderResult |
retrieveVersionPage(java.lang.String documentId, long versionId, RenderOptions options)Retrieves the specified page of a document according to the specifed rendering options. |
Rendition |
retrieveVersionRendition(java.lang.String documentId, long versionId, boolean withAnnotations, boolean preserveColor, RenderOptions.RenditionOutput outputType, int[] pages)Retrieves the original document version referenced by documentId and version number. |
java.lang.String |
uploadDocument(javax.activation.DataHandler data, java.lang.String fileName)Uploads document content to imaging. |
| Method Detail |
|---|
java.lang.String uploadDocument(javax.activation.DataHandler data,
java.lang.String fileName)
throws ImagingException
data - The document content.fileName - The file name to use for the document.ImagingException
javax.activation.DataHandler retrieve(java.lang.String documentId)
throws ImagingException
documentId - The document guid of the document to be retrievedImagingException - is thrown if the requesting user does not have sufficient privileges to view the document without annotations.
javax.activation.DataHandler retrieveVersion(java.lang.String documentId,
long versionId)
throws ImagingException
documentId - The document guid of the document to be retrievedversionId - The version guid of the document to be retrievedImagingException - is thrown if the requesting user does not have sufficient privileges to view the document without annotations.
Rendition retrieveRendition(java.lang.String documentId,
boolean withAnnotations,
boolean preserveColor,
RenderOptions.RenditionOutput outputType,
int[] pages)
throws ImagingException
documentId - The document guid of the document to be retrievedwithAnnotations - indicates that the retrieve should be attempted with or without annotationsoutputType - Options describing the rendered outputpages - indicates the specific pages that should be retrieved from the source document. If a @see{null} value or zero element array is specified, all pages of the document are retrieved.ImagingException - is thrown if the requesting user does not have sufficient privileges to view the document without annotations.
Rendition retrieveVersionRendition(java.lang.String documentId,
long versionId,
boolean withAnnotations,
boolean preserveColor,
RenderOptions.RenditionOutput outputType,
int[] pages)
throws ImagingException
documentId - The document guid of the document to be retrievedversionId - The version guid of the document to be retrievedwithAnnotations - indicates that the retrieve should be attempted with or without annotationsoutputType - Options describing the rendered outputpages - indicates the specific pages that should be retrieved from the source document. If a @see{null} value or a zero element array is specified, all pages of the document are retrieved.ImagingException - is thrown if the requesting user does not have sufficient privileges to view the document without annotations.
RenderResult retrievePage(java.lang.String documentId,
RenderOptions options)
throws ImagingException
documentId - The document guid of the document to be renderedoptions - A data structure specfity the options to be used for rendering the documentImagingException
RenderResult retrieveVersionPage(java.lang.String documentId,
long versionId,
RenderOptions options)
throws ImagingException
documentId - The document guid of the document to be renderedversionId - The version guid of the document to be retrievedoptions - A data structure specfity the options to be used for rendering the documentImagingException
|
Oracle® Fusion Middleware Oracle Imaging and Process Management Java API Reference 11g Release 1 (11.1.1) E12853-02 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||