Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.api.repository.cache
Interface DocumentModelCache

All Known Implementing Classes:
CachingRepositoryInstanceHandler

public interface DocumentModelCache

Author:
Bogdan Stefanescu

Method Summary
 void addListener(DocumentModelCacheListener listener)
           
 void cacheChild(DocumentRef parent, DocumentRef child)
           
 void cacheChildren(DocumentRef parent, DocumentModelList children)
           
 DocumentModel cacheDocument(DocumentModel doc)
           
 DocumentModelList fetchAndCacheChildren(DocumentRef parent)
           
 DocumentModelList fetchChildren(DocumentRef parent)
           
 DocumentModel fetchDocument(DocumentRef ref)
           
 void flushDocumentCache()
           
 DocumentModelList getCachedChildren(DocumentRef parent)
           
 DocumentModel getCachedDocument(DocumentRef ref)
           
 void handleDirtyUpdateTag(java.lang.Object tag)
           
 void removeListener(DocumentModelCacheListener listener)
           
 void uncacheChild(DocumentRef parent, DocumentRef child)
           
 void uncacheChildren(DocumentRef parent)
           
 DocumentModel uncacheDocument(DocumentRef ref)
           
 

Method Detail

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)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.