Nuxeo ECM Projects 5.4.3-SNAPSHOT

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 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(File file, int type)
           
 void filesCreated(List<File> entries)
           
 void filesModified(List<File> entries)
          Notifies that the given files changed.
 void filesRemoved(List<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(File file,
                                 int type)
                          throws Exception
Throws:
Exception

filesCreated

public void filesCreated(List<File> entries)
                  throws Exception
Specified by:
filesCreated in interface FileChangeListener
Throws:
Exception

filesModified

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

Specified by:
filesModified in interface FileChangeListener
Throws:
Exception

filesRemoved

public void filesRemoved(List<File> entries)
                  throws Exception
Specified by:
filesRemoved in interface FileChangeListener
Throws:
Exception

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.