public interface StoredRenditionManager
StoredRenditions on behalf of the RenditionService.| Modifier and Type | Method and Description | 
|---|---|
StoredRendition | 
createStoredRendition(DocumentModel liveDocument,
                     DocumentModel versionDocument,
                     Blob renditionBlob,
                     RenditionDefinition renditionDefinition)
Creates a  
StoredRendition for the live document or the version document if provided. | 
StoredRendition | 
findStoredRendition(DocumentModel sourceDocument,
                   RenditionDefinition renditionDefinition)
Finds the  
StoredRendition associated with a DocumentModel. | 
StoredRendition createStoredRendition(DocumentModel liveDocument, DocumentModel versionDocument, Blob renditionBlob, RenditionDefinition renditionDefinition)
StoredRendition for the live document or the version document if provided.liveDocument - the live documentversionDocument - the version documentrenditionBlob - the rendition blobrenditionDefinition - the rendition definitionStoredRendition findStoredRendition(DocumentModel sourceDocument, RenditionDefinition renditionDefinition)
StoredRendition associated with a DocumentModel.sourceDocument - the source documentrenditionDefinition - the rendition definitionnull if not foundCopyright © 2019 Nuxeo. All rights reserved.