Class MCRLinkTableEventHandler

java.lang.Object
org.mycore.common.events.MCREventHandlerBase
org.mycore.datamodel.common.MCRLinkTableEventHandler
All Implemented Interfaces:
MCREventHandler

public class MCRLinkTableEventHandler extends MCREventHandlerBase
This class manages all operations of the LinkTables for operations of an object.
Author:
Jens Kupferschmidt
  • Constructor Details

    • MCRLinkTableEventHandler

      public MCRLinkTableEventHandler()
  • Method Details

    • handleObjectCreated

      protected final void handleObjectCreated(MCREvent evt, MCRObject obj)
      This method add the data to the link and classification table via MCRLinkTableManager.
      Overrides:
      handleObjectCreated in class MCREventHandlerBase
      Parameters:
      evt - the event that occured
      obj - the MCRObject that caused the event
    • handleObjectUpdated

      protected final void handleObjectUpdated(MCREvent evt, MCRObject obj)
      This method update the data to the link and classification table via MCRLinkTableManager.
      Overrides:
      handleObjectUpdated in class MCREventHandlerBase
      Parameters:
      evt - the event that occured
      obj - the MCRObject that caused the event
    • handleObjectDeleted

      protected final void handleObjectDeleted(MCREvent evt, MCRObject obj)
      This method delete the data from the link and classification table via MCRLinkTableManager.
      Overrides:
      handleObjectDeleted in class MCREventHandlerBase
      Parameters:
      evt - the event that occured
      obj - the MCRObject that caused the event
    • handleObjectRepaired

      protected final void handleObjectRepaired(MCREvent evt, MCRObject obj)
      This method repair the data from the link and classification table via MCRLinkTableManager.
      Overrides:
      handleObjectRepaired in class MCREventHandlerBase
      Parameters:
      evt - the event that occured
      obj - the MCRObject that caused the event
    • handleDerivateCreated

      protected void handleDerivateCreated(MCREvent evt, MCRDerivate der)
      Description copied from class: MCREventHandlerBase
      Handles derivate created events. This implementation does nothing and should be overwritted by subclasses.
      Overrides:
      handleDerivateCreated in class MCREventHandlerBase
      Parameters:
      evt - the event that occured
      der - the MCRDerivate that caused the event
    • handleDerivateRepaired

      protected void handleDerivateRepaired(MCREvent evt, MCRDerivate der)
      Description copied from class: MCREventHandlerBase
      Handles derivate repair events. This implementation does nothing and should be overwritted by subclasses.
      Overrides:
      handleDerivateRepaired in class MCREventHandlerBase
      Parameters:
      evt - the event that occured
      der - the MCRDerivate that caused the event
    • handleDerivateUpdated

      protected void handleDerivateUpdated(MCREvent evt, MCRDerivate der)
      Description copied from class: MCREventHandlerBase
      Handles derivate updated events. This implementation does nothing and should be overwritted by subclasses.
      Overrides:
      handleDerivateUpdated in class MCREventHandlerBase
      Parameters:
      evt - the event that occured
      der - the MCRDerivate that caused the event
    • handleDerivateDeleted

      protected void handleDerivateDeleted(MCREvent evt, MCRDerivate der)
      Description copied from class: MCREventHandlerBase
      Handles derivate deleted events. This implementation does nothing and should be overwritted by subclasses.
      Overrides:
      handleDerivateDeleted in class MCREventHandlerBase
      Parameters:
      evt - the event that occured
      der - the MCRDerivate that caused the event