org.mycore.datamodel.ifs
Class MCRContentIndexEventHandler

java.lang.Object
  extended by org.mycore.common.events.MCREventHandlerBase
      extended by org.mycore.datamodel.ifs.MCRContentIndexEventHandler
All Implemented Interfaces:
MCREventHandler

public class MCRContentIndexEventHandler
extends MCREventHandlerBase

This class manages all operations of the repair of index of all content files of one derivate.

Author:
Jens Kupferschmidt

Constructor Summary
MCRContentIndexEventHandler()
           
 
Method Summary
protected  void handleDerivateRepaired(MCREvent evt, MCRDerivate der)
          Handles derivate repair events.
 
Methods inherited from class org.mycore.common.events.MCREventHandlerBase
doHandleEvent, doNothing, handleClassificationCreated, handleClassificationDeleted, handleClassificationRepaired, handleClassificationUpdated, handleDerivateCreated, handleDerivateDeleted, handleDerivateUpdated, handleFileCreated, handleFileDeleted, 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

MCRContentIndexEventHandler

public MCRContentIndexEventHandler()
Method Detail

handleDerivateRepaired

protected void handleDerivateRepaired(MCREvent evt,
                                      MCRDerivate der)
Handles derivate repair events. The method lokk over all files and initialize a repair event for all files.

Overrides:
handleDerivateRepaired in class MCREventHandlerBase
Parameters:
evt - the event that occured
der - the MCRDerivate that caused the event