org.mycore.access
Class MCRAccessEventHandler

java.lang.Object
  extended by org.mycore.common.events.MCREventHandlerBase
      extended by 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: 15202 $ $Date: 2009-05-15 17:00:44 +0200 (Fri, 15 May 2009) $
Author:
Jens Kupferschmidt

Constructor Summary
MCRAccessEventHandler()
           
 
Method Summary
protected  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, handleFileCreated, handleFileDeleted, handleFileRepaired, handleFileUpdated, undoClassificationCreated, undoClassificationDeleted, undoClassificationRepaired, undoClassificationUpdated, undoDerivateCreated, undoDerivateDeleted, undoDerivateRepaired, undoDerivateUpdated, undoFileCreated, undoFileDeleted, undoFileRepaired, undoFileUpdated, undoHandleEvent, undoObjectCreated, undoObjectDeleted, undoObjectRepaired, undoObjectUpdated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MCRAccessEventHandler

public MCRAccessEventHandler()
Method Detail

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