public interface RenditionService
Modifier and Type | Method and Description |
---|---|
List<RenditionDefinition> |
getAvailableRenditionDefinitions()
Returns a
List of registered RenditionDefinition . |
DocumentRef |
render(DocumentModel sourceDocument,
String renditionDefinitionName)
Render a document based on the given rendition definition name
and returns the Rendition document.
|
List<RenditionDefinition> getAvailableRenditionDefinitions()
List
of registered RenditionDefinition
. The
order of the List does not depend on the registering order.DocumentRef render(DocumentModel sourceDocument, String renditionDefinitionName) throws RenditionException
Only the user launching the render operation has the Read right on the returned document.
sourceDocument
- the document to renderrenditionDefinitionName
- the rendition definition to useDocumentRef
of the newly created Rendition document.RenditionException
Copyright © 2011 Nuxeo SA. All Rights Reserved.