Package org.mycore.ocfl
Class MCROCFLClassificationEventHandler
java.lang.Object
org.mycore.ocfl.MCROCFLClassificationEventHandler
- All Implemented Interfaces:
MCREventHandler
- Author:
- Tobias Lenhardt [Hammer1279]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doHandleEvent
(MCREvent evt) Handles an event.void
undoHandleEvent
(MCREvent evt) Handles rollback of event handling.
-
Constructor Details
-
MCROCFLClassificationEventHandler
public MCROCFLClassificationEventHandler()
-
-
Method Details
-
doHandleEvent
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 interfaceMCREventHandler
- Parameters:
evt
- the Event object containing information about the event- Throws:
MCRException
-
undoHandleEvent
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 interfaceMCREventHandler
- Parameters:
evt
- the Event object containing information about the event- Throws:
MCRException
-