Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-8992

Extend rendition system

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.6-RC1, 5.6
    • Component/s: None
    • Impact type:
      API change, API added
    • Upgrade notes:
      Hide

      Some changes have been done on the API

      • List<RenditionDefinition> getAvailableRenditionDefinitions();
        + List<RenditionDefinition> getDeclaredRenditionDefinitions();

      and

      • DocumentRef render(DocumentModel sourceDocument,String renditionDefinitionName) throws RenditionException;
        + DocumentRef storeRendition(DocumentModel sourceDocument, String renditionDefinitionName) throws RenditionException;
      Show
      Some changes have been done on the API List<RenditionDefinition> getAvailableRenditionDefinitions(); + List<RenditionDefinition> getDeclaredRenditionDefinitions(); and DocumentRef render(DocumentModel sourceDocument,String renditionDefinitionName) throws RenditionException; + DocumentRef storeRendition(DocumentModel sourceDocument, String renditionDefinitionName) throws RenditionException;

      Description

      For a contextual info about Renditions and Template rendering, please refer to the attached PDF rendition.

      The goal is to extend the rendition service to make it more pluggable and extend scope of what Renditions are.

      • add a factory for RenditionProvider : enable to plug several Blob generation systems (Operation, Conversion, Template rendering)
      • add a factory for RenditionCreator (rename as RenditionPersister) : unable to define if we clone the document or create a simple File + copy of dublincore
      • plug Rendition system

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: