|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
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(String path)
Reloads the BlobHolder from a file. |
String |
persist(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 |
---|
String persist(String basePath) throws Exception
basePath
- the base path (existing directory) as determined by the caller
Exception
void load(String path)
BlobHolder
from a file.
path
-
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |