Package org.nuxeo.template.context
Class BlobHolderWrapper
- java.lang.Object
-
- org.nuxeo.template.context.BlobHolderWrapper
-
public class BlobHolderWrapper extends Object
Class helper used to expose Document as aBlobHolder
in FreeMarker context- Author:
- Tiry
-
-
Field Summary
Fields Modifier and Type Field Description protected BlobHolder
bh
protected DocumentModel
doc
protected static Log
log
-
Constructor Summary
Constructors Constructor Description BlobHolderWrapper(DocumentModel doc)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Blob
getBlob()
Blob
getBlob(int index)
Blob
getBlob(String name)
List<Blob>
getBlobs()
String
getBlobUrl(int index)
String
getBlobUrl(String name)
protected static String
getContextPathProperty()
-
-
-
Field Detail
-
bh
protected final BlobHolder bh
-
doc
protected final DocumentModel doc
-
log
protected static final Log log
-
-
Constructor Detail
-
BlobHolderWrapper
public BlobHolderWrapper(DocumentModel doc)
-
-