Package org.nuxeo.ecm.core.storage
Class BaseDocument.StateBlobAccessor
- java.lang.Object
-
- org.nuxeo.ecm.core.storage.BaseDocument.StateBlobAccessor
-
- All Implemented Interfaces:
Document.BlobAccessor
- Enclosing class:
- BaseDocument<T extends StateAccessor>
protected class BaseDocument.StateBlobAccessor extends Object implements Document.BlobAccessor
-
-
Constructor Summary
Constructors Constructor Description StateBlobAccessor(Collection<String> path, T state, Runnable markDirty)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlobgetBlob()Gets the blob.StringgetXPath()Gets the blob's xpath.voidsetBlob(Blob blob)Sets the blob.
-
-
-
Field Detail
-
path
protected final Collection<String> path
-
state
protected final T extends StateAccessor state
-
-
Constructor Detail
-
StateBlobAccessor
public StateBlobAccessor(Collection<String> path, T state, Runnable markDirty)
-
-
Method Detail
-
getXPath
public String getXPath()
Description copied from interface:Document.BlobAccessorGets the blob's xpath.- Specified by:
getXPathin interfaceDocument.BlobAccessor
-
getBlob
public Blob getBlob() throws PropertyException
Description copied from interface:Document.BlobAccessorGets the blob.- Specified by:
getBlobin interfaceDocument.BlobAccessor- Throws:
PropertyException
-
setBlob
public void setBlob(Blob blob) throws PropertyException
Description copied from interface:Document.BlobAccessorSets the blob.- Specified by:
setBlobin interfaceDocument.BlobAccessor- Throws:
PropertyException
-
-