|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CachableBlobHolder
Extended interface for BlobHolder
that can be cached.
A BlobHolder can be cached if it can be persisted to disk and reloaded from a file. Converters need to return BlobHolders that implement this interface to make the result cachable.
Method Summary | |
---|---|
void |
load(java.lang.String path)
Reloads the BlobHolder from a file. |
java.lang.String |
persist(java.lang.String basePath)
Persists the blobHolder to disk. |
Methods inherited from interface org.nuxeo.ecm.core.api.blobholder.BlobHolder |
---|
getBlob, getBlobs, getFilePath, getHash, getModificationDate, getProperties, getProperty, setBlob |
Method Detail |
---|
java.lang.String persist(java.lang.String basePath) throws java.lang.Exception
basePath
- the base path (existing directory) as determined by the caller
java.lang.Exception
void load(java.lang.String path)
BlobHolder
from a file.
path
-
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |