org.mycore.services.imaging
Class MCRImgCacheEventHandler

java.lang.Object
  extended by org.mycore.common.events.MCREventHandlerBase
      extended by org.mycore.services.imaging.MCRImgCacheEventHandler
All Implemented Interfaces:
MCREventHandler

public class MCRImgCacheEventHandler
extends MCREventHandlerBase


Constructor Summary
MCRImgCacheEventHandler()
           
 
Method Summary
protected  void handleFileCreated(MCREvent evt, MCRFile file)
          Handles file created events.
protected  void handleFileDeleted(MCREvent evt, MCRFile file)
          Handles file deleted events.
 
Methods inherited from class org.mycore.common.events.MCREventHandlerBase
doHandleEvent, doNothing, handleClassificationCreated, handleClassificationDeleted, handleClassificationRepaired, handleClassificationUpdated, handleDerivateCreated, handleDerivateDeleted, handleDerivateRepaired, handleDerivateUpdated, handleFileRepaired, handleFileUpdated, handleObjectCreated, handleObjectDeleted, handleObjectRepaired, handleObjectUpdated, undoClassificationCreated, undoClassificationDeleted, undoClassificationRepaired, undoClassificationUpdated, undoDerivateCreated, undoDerivateDeleted, undoDerivateRepaired, undoDerivateUpdated, undoFileCreated, undoFileDeleted, undoFileRepaired, undoFileUpdated, undoHandleEvent, undoObjectCreated, undoObjectDeleted, undoObjectRepaired, undoObjectUpdated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MCRImgCacheEventHandler

public MCRImgCacheEventHandler()
Method Detail

handleFileCreated

protected void handleFileCreated(MCREvent evt,
                                 MCRFile file)
Handles file created events.

Overrides:
handleFileCreated in class MCREventHandlerBase
Parameters:
evt - the event that occured
file - the MCRFile that caused the event

handleFileDeleted

protected void handleFileDeleted(MCREvent evt,
                                 MCRFile file)
Handles file deleted events.

Overrides:
handleFileDeleted in class MCREventHandlerBase
Parameters:
evt - the event that occured
file - the MCRFile that caused the event