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 Blob
getBlob()
Gets the blob.String
getXPath()
Gets the blob's xpath.void
setBlob(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.BlobAccessor
Gets the blob's xpath.- Specified by:
getXPath
in interfaceDocument.BlobAccessor
-
getBlob
public Blob getBlob() throws PropertyException
Description copied from interface:Document.BlobAccessor
Gets the blob.- Specified by:
getBlob
in interfaceDocument.BlobAccessor
- Throws:
PropertyException
-
setBlob
public void setBlob(Blob blob) throws PropertyException
Description copied from interface:Document.BlobAccessor
Sets the blob.- Specified by:
setBlob
in interfaceDocument.BlobAccessor
- Throws:
PropertyException
-
-