Class MCRAccessEventHandler

java.lang.Object
org.mycore.common.events.MCREventHandlerBase
org.mycore.access.MCRAccessEventHandler
All Implemented Interfaces:
MCREventHandler

public class MCRAccessEventHandler extends MCREventHandlerBase
This class holds all EventHandler methods to manage the access part of the simple workflow.
Version:
$Revision$ $Date$
Author:
Jens Kupferschmidt
  • Constructor Details

    • MCRAccessEventHandler

      public MCRAccessEventHandler()
  • Method Details

    • handleObjectCreated

      protected void handleObjectCreated(MCREvent evt, MCRObject obj)
      This method will be used to create the access rules for SWF for a MCRObject.
      Overrides:
      handleObjectCreated in class MCREventHandlerBase
      Parameters:
      evt - the event that occured
      obj - the MCRObject that caused the event
    • handleObjectUpdated

      protected void handleObjectUpdated(MCREvent evt, MCRObject obj)
      This method will be used to update the access rules for SWF for a MCRObject.
      Overrides:
      handleObjectUpdated in class MCREventHandlerBase
      Parameters:
      evt - the event that occured
      obj - the MCRObject that caused the event
    • handleObjectDeleted

      protected void handleObjectDeleted(MCREvent evt, MCRObject obj)
      This method will be used to delete the access rules for SWF for a MCRObject.
      Overrides:
      handleObjectDeleted in class MCREventHandlerBase
      Parameters:
      evt - the event that occured
      obj - the MCRObject that caused the event
    • handleObjectRepaired

      protected void handleObjectRepaired(MCREvent evt, MCRObject obj)
      This method will be used to repair the access rules for SWF for a MCRObject.
      Overrides:
      handleObjectRepaired in class MCREventHandlerBase
      Parameters:
      evt - the event that occured
      obj - the MCRObject that caused the event
    • handleDerivateCreated

      protected void handleDerivateCreated(MCREvent evt, MCRDerivate der)
      This method will be used to create the access rules for SWF for a MCRDerivate.
      Overrides:
      handleDerivateCreated in class MCREventHandlerBase
      Parameters:
      evt - the event that occured
      der - the MCRDerivate that caused the event
    • handleDerivateUpdated

      protected void handleDerivateUpdated(MCREvent evt, MCRDerivate der)
      This method will be used to update the access rules for SWF for a MCRDerivate.
      Overrides:
      handleDerivateUpdated in class MCREventHandlerBase
      Parameters:
      evt - the event that occured
      der - the MCRDerivate that caused the event
    • handleDerivateDeleted

      protected void handleDerivateDeleted(MCREvent evt, MCRDerivate der)
      This method will be used to delete the access rules for SWF for a MCRDerivate.
      Overrides:
      handleDerivateDeleted in class MCREventHandlerBase
      Parameters:
      evt - the event that occured
      der - the MCRDerivate that caused the event
    • handleDerivateRepaired

      protected void handleDerivateRepaired(MCREvent evt, MCRDerivate der)
      This method will be used to repair the access rules for SWF for a MCRDerivate.
      Overrides:
      handleDerivateRepaired in class MCREventHandlerBase
      Parameters:
      evt - the event that occured
      der - the MCRDerivate that caused the event