Nuxeo Enterprise Platform 5.1

org.nuxeo.ecm.platform.cache
Class AbstractCacheListener

java.lang.Object
  extended by org.nuxeo.ecm.platform.cache.AbstractCacheListener
All Implemented Interfaces:
CacheListener

public abstract class AbstractCacheListener
extends Object
implements CacheListener

Abstract CacheListener without any implementation

Author:
Dragos Mihalache

Constructor Summary
AbstractCacheListener()
           
 
Method Summary
 void documentRemove(DocumentModel docModel)
          The method is invoked just before the document is removed
 void documentRemoved(String fqn)
          Notification sent after the document with specified fqn in cache has been removed.
 void documentUpdate(DocumentModel docModel, boolean pre)
          Invoked before the document model internal data is altered and after it was changed for an existing Document Model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCacheListener

public AbstractCacheListener()
Method Detail

documentRemove

public void documentRemove(DocumentModel docModel)
Description copied from interface: CacheListener
The method is invoked just before the document is removed

Specified by:
documentRemove in interface CacheListener
Parameters:
docModel - the document that is about to be removed. It is a non null document

documentRemoved

public void documentRemoved(String fqn)
Description copied from interface: CacheListener
Notification sent after the document with specified fqn in cache has been removed.

Specified by:
documentRemoved in interface CacheListener

documentUpdate

public void documentUpdate(DocumentModel docModel,
                           boolean pre)
Description copied from interface: CacheListener
Invoked before the document model internal data is altered and after it was changed for an existing Document Model. Given Document Model exists in the cache before and after the notification.

Specified by:
documentUpdate in interface CacheListener

Nuxeo Enterprise Platform 5.1

Copyright ? 2007 Nuxeo SAS. All Rights Reserved.