Package org.mycore.access
Class MCRAccessEventHandler
java.lang.Object
org.mycore.common.events.MCREventHandlerBase
org.mycore.access.MCRAccessEventHandler
- All Implemented Interfaces:
MCREventHandler
This class holds all EventHandler methods to manage the access part of the
simple workflow.
- Version:
- $Revision$ $Date$
- Author:
- Jens Kupferschmidt
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
handleDerivateCreated
(MCREvent evt, MCRDerivate der) This method will be used to create the access rules for SWF for a MCRDerivate.protected void
handleDerivateDeleted
(MCREvent evt, MCRDerivate der) This method will be used to delete the access rules for SWF for a MCRDerivate.protected void
handleDerivateRepaired
(MCREvent evt, MCRDerivate der) This method will be used to repair the access rules for SWF for a MCRDerivate.protected void
handleDerivateUpdated
(MCREvent evt, MCRDerivate der) This method will be used to update the access rules for SWF for a MCRDerivate.protected void
handleObjectCreated
(MCREvent evt, MCRObject obj) This method will be used to create the access rules for SWF for a MCRObject.protected void
handleObjectDeleted
(MCREvent evt, MCRObject obj) This method will be used to delete the access rules for SWF for a MCRObject.protected void
handleObjectRepaired
(MCREvent evt, MCRObject obj) This method will be used to repair the access rules for SWF for a MCRObject.protected void
handleObjectUpdated
(MCREvent evt, MCRObject obj) This method will be used to update the access rules for SWF for a MCRObject.Methods inherited from class org.mycore.common.events.MCREventHandlerBase
doHandleEvent, doNothing, handleClassificationCreated, handleClassificationDeleted, handleClassificationRepaired, handleClassificationUpdated, handleObjectIndex, handlePathCreated, handlePathDeleted, handlePathRepaired, handlePathUpdated, undoClassificationCreated, undoClassificationDeleted, undoClassificationRepaired, undoClassificationUpdated, undoDerivateCreated, undoDerivateDeleted, undoDerivateRepaired, undoDerivateUpdated, undoHandleEvent, undoObjectCreated, undoObjectDeleted, undoObjectRepaired, undoObjectUpdated, undoPathCreated, undoPathDeleted, undoPathRepaired, undoPathUpdated, updateDerivateFileIndex, updatePathIndex
-
Constructor Details
-
MCRAccessEventHandler
public MCRAccessEventHandler()
-
-
Method Details
-
handleObjectCreated
This method will be used to create the access rules for SWF for a MCRObject.- Overrides:
handleObjectCreated
in classMCREventHandlerBase
- Parameters:
evt
- the event that occuredobj
- the MCRObject that caused the event
-
handleObjectUpdated
This method will be used to update the access rules for SWF for a MCRObject.- Overrides:
handleObjectUpdated
in classMCREventHandlerBase
- Parameters:
evt
- the event that occuredobj
- the MCRObject that caused the event
-
handleObjectDeleted
This method will be used to delete the access rules for SWF for a MCRObject.- Overrides:
handleObjectDeleted
in classMCREventHandlerBase
- Parameters:
evt
- the event that occuredobj
- the MCRObject that caused the event
-
handleObjectRepaired
This method will be used to repair the access rules for SWF for a MCRObject.- Overrides:
handleObjectRepaired
in classMCREventHandlerBase
- Parameters:
evt
- the event that occuredobj
- the MCRObject that caused the event
-
handleDerivateCreated
This method will be used to create the access rules for SWF for a MCRDerivate.- Overrides:
handleDerivateCreated
in classMCREventHandlerBase
- Parameters:
evt
- the event that occuredder
- the MCRDerivate that caused the event
-
handleDerivateUpdated
This method will be used to update the access rules for SWF for a MCRDerivate.- Overrides:
handleDerivateUpdated
in classMCREventHandlerBase
- Parameters:
evt
- the event that occuredder
- the MCRDerivate that caused the event
-
handleDerivateDeleted
This method will be used to delete the access rules for SWF for a MCRDerivate.- Overrides:
handleDerivateDeleted
in classMCREventHandlerBase
- Parameters:
evt
- the event that occuredder
- the MCRDerivate that caused the event
-
handleDerivateRepaired
This method will be used to repair the access rules for SWF for a MCRDerivate.- Overrides:
handleDerivateRepaired
in classMCREventHandlerBase
- Parameters:
evt
- the event that occuredder
- the MCRDerivate that caused the event
-