Class LiveRendition

All Implemented Interfaces:
Rendition

public class LiveRendition extends LazyRendition implements Rendition
Implementation of the Rendition interface that is applicable for rendition created on the fly
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
    • 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
    • computeRenditionBlobs

      protected List<Blob> computeRenditionBlobs()
      Specified by:
      computeRenditionBlobs in class LazyRendition