Class StoredRendition

java.lang.Object
org.nuxeo.ecm.platform.rendition.impl.AbstractRendition
org.nuxeo.ecm.platform.rendition.impl.StoredRendition
All Implemented Interfaces:
Rendition

public class StoredRendition extends AbstractRendition implements Rendition
Implementation of the Rendition interface for rendition that are stored in the Repository
Author:
Tiry
  • Field Details

  • Constructor Details

  • Method Details

    • isStored

      public boolean isStored()
      Description copied from interface: Rendition
      Indicates if the Rendition is stored or live
      Specified by:
      isStored in interface Rendition
    • isCompleted

      public boolean isCompleted()
      Description copied from interface: Rendition
      Checks if this rendition's computation has completed.
      Specified by:
      isCompleted in interface Rendition
    • getBlob

      public Blob getBlob()
      Description copied from interface: Rendition
      Returns the rendered Blob or null if none.
      Specified by:
      getBlob in interface Rendition
    • getBlobs

      public List<Blob> getBlobs()
      Description copied from interface: Rendition
      Returns the rendered Blobs or null if none.
      Specified by:
      getBlobs in interface Rendition
    • getHostDocument

      public DocumentModel getHostDocument()
      Description copied from interface: Rendition
      Return the Document hosting the rendition.

      In case of a Live rendition it will be the target document and in case of stored Rendition it will be the Rendition document it self

      Specified by:
      getHostDocument in interface Rendition