Package org.mycore.iview2.events
Class MCRThumbnailForPdfEventHandler
java.lang.Object
org.mycore.common.events.MCREventHandlerBase
org.mycore.iview2.events.MCRThumbnailForPdfEventHandler
- All Implemented Interfaces:
MCREventHandler
This event handler creates iview2 files for title pages in PDFs which can be
used as thumbnails in IIIF API
- Author:
- Robert Stephan
-
Field Summary
-
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
handleDerivateRepaired
(MCREvent evt, MCRDerivate der) Handles derivate repair events.protected void
handleDerivateUpdated
(MCREvent evt, MCRDerivate der) Handles derivate updated events.Methods inherited from class org.mycore.common.events.MCREventHandlerBase
doHandleEvent, doNothing, handleClassificationCreated, handleClassificationDeleted, handleClassificationRepaired, handleClassificationUpdated, handleObjectCreated, handleObjectDeleted, handleObjectIndex, handleObjectRepaired, handleObjectUpdated, handlePathCreated, handlePathDeleted, handlePathRepaired, handlePathUpdated, undoClassificationCreated, undoClassificationDeleted, undoClassificationRepaired, undoClassificationUpdated, undoDerivateCreated, undoDerivateDeleted, undoDerivateRepaired, undoDerivateUpdated, undoHandleEvent, undoObjectCreated, undoObjectDeleted, undoObjectRepaired, undoObjectUpdated, undoPathCreated, undoPathDeleted, undoPathRepaired, undoPathUpdated, updateDerivateFileIndex, updatePathIndex
-
Field Details
-
TILE_FILE_PROVIDER
-
-
Constructor Details
-
MCRThumbnailForPdfEventHandler
public MCRThumbnailForPdfEventHandler()
-
-
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
-
handleDerivateRepaired
Description copied from class:MCREventHandlerBase
Handles derivate repair events. This implementation does nothing and should be overwritted by subclasses.- Overrides:
handleDerivateRepaired
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
-