Interface StoredRenditionManager

    • Method Detail

      • createStoredRendition

        StoredRendition createStoredRendition​(DocumentModel liveDocument,
                                              DocumentModel versionDocument,
                                              Blob renditionBlob,
                                              RenditionDefinition renditionDefinition)
        Creates a StoredRendition for the live document or the version document if provided.
        Parameters:
        liveDocument - the live document
        versionDocument - the version document
        renditionBlob - the rendition blob
        renditionDefinition - the rendition definition
        Returns:
        the created stored rendition