Class BlobHolderWrapper

java.lang.Object
org.nuxeo.template.context.BlobHolderWrapper

public class BlobHolderWrapper extends Object
Class helper used to expose Document as a BlobHolder in FreeMarker context
Author:
Tiry
  • Field Details

  • Constructor Details

    • BlobHolderWrapper

      public BlobHolderWrapper(DocumentModel doc)
  • Method Details

    • getContextPathProperty

      protected static String getContextPathProperty()
    • getBlob

      public Blob getBlob()
    • getBlobs

      public List<Blob> getBlobs()
    • getBlob

      public Blob getBlob(String name)
    • getBlob

      public Blob getBlob(int index)
    • getBlobUrl

      public String getBlobUrl(int index)
    • getBlobUrl

      public String getBlobUrl(String name)