Class BlobHolderWrapper


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

      • BlobHolderWrapper

        public BlobHolderWrapper​(DocumentModel doc)
    • Method Detail

      • getContextPathProperty

        protected static String getContextPathProperty()
      • getBlob

        public Blob getBlob()
      • getBlobs

        public List<Blob> getBlobs()
      • getBlob

        public Blob getBlob​(int index)
      • getBlobUrl

        public String getBlobUrl​(int index)