Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.webengine.notifier
Class AbstractFileChangeListener

java.lang.Object
  extended by org.nuxeo.ecm.webengine.notifier.AbstractFileChangeListener
All Implemented Interfaces:
FileChangeListener

public abstract class AbstractFileChangeListener
extends java.lang.Object
implements FileChangeListener

Author:
Bogdan Stefanescu

Field Summary
static int CREATED
           
static int MODIFIED
           
static int REMOVED
           
 
Constructor Summary
AbstractFileChangeListener()
           
 
Method Summary
abstract  void fileChanged(java.io.File file, int type)
           
 void filesCreated(java.util.List<java.io.File> entries)
           
 void filesModified(java.util.List<java.io.File> entries)
          Notifies that the given files changed.
 void filesRemoved(java.util.List<java.io.File> entries)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CREATED

public static final int CREATED
See Also:
Constant Field Values

REMOVED

public static final int REMOVED
See Also:
Constant Field Values

MODIFIED

public static final int MODIFIED
See Also:
Constant Field Values
Constructor Detail

AbstractFileChangeListener

public AbstractFileChangeListener()
Method Detail

fileChanged

public abstract void fileChanged(java.io.File file,
                                 int type)
                          throws java.lang.Exception
Throws:
java.lang.Exception

filesCreated

public void filesCreated(java.util.List<java.io.File> entries)
                  throws java.lang.Exception
Specified by:
filesCreated in interface FileChangeListener
Throws:
java.lang.Exception

filesModified

public void filesModified(java.util.List<java.io.File> entries)
                   throws java.lang.Exception
Description copied from interface: FileChangeListener
Notifies that the given files changed.

Specified by:
filesModified in interface FileChangeListener
Throws:
java.lang.Exception

filesRemoved

public void filesRemoved(java.util.List<java.io.File> entries)
                  throws java.lang.Exception
Specified by:
filesRemoved in interface FileChangeListener
Throws:
java.lang.Exception

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.