Class MCRClassificationMappingEventHandler

java.lang.Object
org.mycore.common.events.MCREventHandlerBase
org.mycore.oai.classmapping.MCRClassificationMappingEventHandler
All Implemented Interfaces:
MCREventHandler

public class MCRClassificationMappingEventHandler extends MCREventHandlerBase
This class implements an event handler, which reloads classification entries stored in datafield mappings/mapping. These entries are retrieved from other classifications where they are stored in as labels with language "x-mapping".
Version:
$Revision$ $Date$
Author:
Robert Stephan
  • Constructor Details

    • MCRClassificationMappingEventHandler

      public MCRClassificationMappingEventHandler()
  • Method Details

    • handleObjectCreated

      protected void handleObjectCreated(MCREvent evt, MCRObject obj)
      Description copied from class: MCREventHandlerBase
      Handles object created events. This implementation does nothing and should be overwritted by subclasses.
      Overrides:
      handleObjectCreated in class MCREventHandlerBase
      Parameters:
      evt - the event that occured
      obj - the MCRObject that caused the event
    • handleObjectUpdated

      protected void handleObjectUpdated(MCREvent evt, MCRObject obj)
      Description copied from class: MCREventHandlerBase
      Handles object updated events. This implementation does nothing and should be overwritted by subclasses.
      Overrides:
      handleObjectUpdated in class MCREventHandlerBase
      Parameters:
      evt - the event that occured
      obj - the MCRObject that caused the event
    • handleObjectRepaired

      protected void handleObjectRepaired(MCREvent evt, MCRObject obj)
      Description copied from class: MCREventHandlerBase
      Handles object repair events. This implementation does nothing and should be overwritted by subclasses.
      Overrides:
      handleObjectRepaired in class MCREventHandlerBase
      Parameters:
      evt - the event that occured
      obj - the MCRObject that caused the event
    • undoObjectCreated

      protected void undoObjectCreated(MCREvent evt, MCRObject obj)
      Description copied from class: MCREventHandlerBase
      Handles undo of object created events. This implementation does nothing and should be overwritted by subclasses.
      Overrides:
      undoObjectCreated in class MCREventHandlerBase
      Parameters:
      evt - the event that occured
      obj - the MCRObject that caused the event
    • undoObjectUpdated

      protected void undoObjectUpdated(MCREvent evt, MCRObject obj)
      Description copied from class: MCREventHandlerBase
      Handles undo of object updated events. This implementation does nothing and should be overwritted by subclasses.
      Overrides:
      undoObjectUpdated in class MCREventHandlerBase
      Parameters:
      evt - the event that occured
      obj - the MCRObject that caused the event
    • undoObjectRepaired

      protected void undoObjectRepaired(MCREvent evt, MCRObject obj)
      Description copied from class: MCREventHandlerBase
      Handles undo of object repaired events. This implementation does nothing and should be overwritted by subclasses.
      Overrides:
      undoObjectRepaired in class MCREventHandlerBase
      Parameters:
      evt - the event that occured
      obj - the MCRObject that caused the event