Package org.mycore.datamodel.metadata
Class MCRFileMetaEventHandler
java.lang.Object
org.mycore.common.events.MCREventHandlerBase
org.mycore.datamodel.metadata.MCRFileMetaEventHandler
- All Implemented Interfaces:
MCREventHandler
Handles category links to files
- Author:
- Thomas Scheffler (yagee)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
handleDerivateCreated
(MCREvent evt, MCRDerivate der) Handles derivate created events.protected void
handleDerivateDeleted
(MCREvent evt, MCRDerivate der) Handles derivate deleted events.protected void
handleDerivateUpdated
(MCREvent evt, MCRDerivate der) Handles derivate updated events.protected void
handlePathDeleted
(MCREvent evt, Path path, BasicFileAttributes attrs) Methods inherited from class org.mycore.common.events.MCREventHandlerBase
doHandleEvent, doNothing, handleClassificationCreated, handleClassificationDeleted, handleClassificationRepaired, handleClassificationUpdated, handleDerivateRepaired, handleObjectCreated, handleObjectDeleted, handleObjectIndex, handleObjectRepaired, handleObjectUpdated, handlePathCreated, handlePathRepaired, handlePathUpdated, undoClassificationCreated, undoClassificationDeleted, undoClassificationRepaired, undoClassificationUpdated, undoDerivateCreated, undoDerivateDeleted, undoDerivateRepaired, undoDerivateUpdated, undoHandleEvent, undoObjectCreated, undoObjectDeleted, undoObjectRepaired, undoObjectUpdated, undoPathCreated, undoPathDeleted, undoPathRepaired, undoPathUpdated, updateDerivateFileIndex, updatePathIndex
-
Constructor Details
-
MCRFileMetaEventHandler
public MCRFileMetaEventHandler()
-
-
Method Details
-
handleDerivateCreated
Description copied from class:MCREventHandlerBase
Handles derivate created events. This implementation does nothing and should be overwritted by subclasses.- Overrides:
handleDerivateCreated
in classMCREventHandlerBase
- Parameters:
evt
- the event that occuredder
- the MCRDerivate that caused the event
-
handleDerivateUpdated
Description copied from class:MCREventHandlerBase
Handles derivate updated events. This implementation does nothing and should be overwritted by subclasses.- Overrides:
handleDerivateUpdated
in classMCREventHandlerBase
- Parameters:
evt
- the event that occuredder
- the MCRDerivate that caused the event
-
handleDerivateDeleted
Description copied from class:MCREventHandlerBase
Handles derivate deleted events. This implementation does nothing and should be overwritted by subclasses.- Overrides:
handleDerivateDeleted
in classMCREventHandlerBase
- Parameters:
evt
- the event that occuredder
- the MCRDerivate that caused the event
-
handlePathDeleted
- Overrides:
handlePathDeleted
in classMCREventHandlerBase
-