Class DocumentStringBlobHolder
java.lang.Object
org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder
org.nuxeo.ecm.core.api.blobholder.DocumentBlobHolder
org.nuxeo.ecm.core.api.blobholder.DocumentStringBlobHolder
- All Implemented Interfaces:
BlobHolder
BlobHolder implemention based on a DocumentModel and a Xpath pointing to a String fields. (Typical
use case is the Note DocType).- Author:
- tiry
-
Field Summary
FieldsFields inherited from class org.nuxeo.ecm.core.api.blobholder.DocumentBlobHolder
blobList, doc, xPath -
Constructor Summary
ConstructorsConstructorDescriptionDocumentStringBlobHolder(DocumentModel doc, String path) DocumentStringBlobHolder(DocumentModel doc, String path, String mime_type) -
Method Summary
Methods inherited from class org.nuxeo.ecm.core.api.blobholder.DocumentBlobHolder
asDirectBlobHolder, computeBlobList, getBasePath, getBlobs, getDocument, getFullXPath, getHash, getModificationDate, getProperties, getProperty, getXpathMethods inherited from class org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder
getFilePath, getMD5Digest
-
Field Details
-
mt
-
-
Constructor Details
-
DocumentStringBlobHolder
-
DocumentStringBlobHolder
-
-
Method Details
-
getBlob
Description copied from interface:BlobHolderReturns the Blob held inside the object.- Specified by:
getBlobin interfaceBlobHolder- Overrides:
getBlobin classDocumentBlobHolder
-
setBlob
Description copied from interface:BlobHolderSets a blob in the object.The underlying document must be saved by the caller.
- Specified by:
setBlobin interfaceBlobHolder- Overrides:
setBlobin classDocumentBlobHolder
-