protected class BaseDocument.StateBlobAccessor extends Object implements Document.BlobAccessor
Modifier and Type | Field and Description |
---|---|
protected Runnable |
markDirty |
protected Collection<String> |
path |
protected T |
state |
Constructor and Description |
---|
StateBlobAccessor(Collection<String> path,
T state,
Runnable markDirty) |
Modifier and Type | Method and Description |
---|---|
Blob |
getBlob()
Gets the blob.
|
String |
getXPath()
Gets the blob's xpath.
|
void |
setBlob(Blob blob)
Sets the blob.
|
protected final Collection<String> path
protected final T extends StateAccessor state
public StateBlobAccessor(Collection<String> path, T state, Runnable markDirty)
public String getXPath()
Document.BlobAccessor
getXPath
in interface Document.BlobAccessor
public Blob getBlob() throws PropertyException
Document.BlobAccessor
getBlob
in interface Document.BlobAccessor
PropertyException
public void setBlob(Blob blob) throws PropertyException
Document.BlobAccessor
setBlob
in interface Document.BlobAccessor
PropertyException
Copyright © 2015 Nuxeo SA. All rights reserved.