Package org.nuxeo.ecm.core.model
Interface Document.BlobAccessor
-
- All Known Implementing Classes:
BaseDocument.StateBlobAccessor
- Enclosing interface:
- Document
public static interface Document.BlobAccessor
An accessor that can read or write a blob and know its xpath.- Since:
- 7.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Blob
getBlob()
Gets the blob.String
getXPath()
Gets the blob's xpath.default void
setBlob(Blob blob)
Sets the blob and garbage collect old value if any.void
setBlob(Blob blob, boolean gcOldBlob)
Sets the blob.
-
-
-
Method Detail
-
getXPath
String getXPath()
Gets the blob's xpath.
-
getBlob
Blob getBlob()
Gets the blob.
-
setBlob
default void setBlob(Blob blob)
Sets the blob and garbage collect old value if any.
-
setBlob
void setBlob(Blob blob, boolean gcOldBlob)
Sets the blob.- Parameters:
blob
- the blobgcOldBlob
- do we want to garbage collect the old value if any- Since:
- 2023.4
-
-