Class MCROCFLClassificationEventHandler

java.lang.Object
org.mycore.ocfl.MCROCFLClassificationEventHandler
All Implemented Interfaces:
MCREventHandler

public class MCROCFLClassificationEventHandler extends Object implements MCREventHandler
Author:
Tobias Lenhardt [Hammer1279]
  • Constructor Details

    • MCROCFLClassificationEventHandler

      public MCROCFLClassificationEventHandler()
  • Method Details

    • doHandleEvent

      public void doHandleEvent(MCREvent evt) throws MCRException
      Description copied from interface: MCREventHandler
      Handles an event. The handler is responsible for filtering the event type it is interested in and wants to react on.
      Specified by:
      doHandleEvent in interface MCREventHandler
      Parameters:
      evt - the Event object containing information about the event
      Throws:
      MCRException
    • undoHandleEvent

      public void undoHandleEvent(MCREvent evt) throws MCRException
      Description copied from interface: MCREventHandler
      Handles rollback of event handling. The handler should roll back the changes that previously were made for this event, because a successor in the event handler list caused an exception.
      Specified by:
      undoHandleEvent in interface MCREventHandler
      Parameters:
      evt - the Event object containing information about the event
      Throws:
      MCRException