org.nuxeo.ecm.core.api.repository.cache
Interface DocumentModelCache
- All Known Implementing Classes:
- CachingRepositoryInstanceHandler
public interface DocumentModelCache
- Author:
- Bogdan Stefanescu
cacheDocument
DocumentModel cacheDocument(DocumentModel doc)
uncacheDocument
DocumentModel uncacheDocument(DocumentRef ref)
getCachedDocument
DocumentModel getCachedDocument(DocumentRef ref)
flushDocumentCache
void flushDocumentCache()
fetchDocument
DocumentModel fetchDocument(DocumentRef ref)
throws ClientException
- Throws:
ClientException
cacheChildren
void cacheChildren(DocumentRef parent,
DocumentModelList children)
uncacheChildren
void uncacheChildren(DocumentRef parent)
fetchChildren
DocumentModelList fetchChildren(DocumentRef parent)
throws java.lang.Exception
- Throws:
java.lang.Exception
getCachedChildren
DocumentModelList getCachedChildren(DocumentRef parent)
throws ClientException
- Throws:
ClientException
cacheChild
void cacheChild(DocumentRef parent,
DocumentRef child)
uncacheChild
void uncacheChild(DocumentRef parent,
DocumentRef child)
fetchAndCacheChildren
DocumentModelList fetchAndCacheChildren(DocumentRef parent)
throws ClientException
- Throws:
ClientException
handleDirtyUpdateTag
void handleDirtyUpdateTag(java.lang.Object tag)
addListener
void addListener(DocumentModelCacheListener listener)
removeListener
void removeListener(DocumentModelCacheListener listener)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.