|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mycore.common.events.MCREventHandlerBase
public abstract class MCREventHandlerBase
Abstract helper class that can be subclassed to implement event handlers more easily.
| Constructor Summary | |
|---|---|
MCREventHandlerBase()
|
|
| Method Summary | |
|---|---|
void |
doHandleEvent(MCREvent evt)
This method handle all calls for EventHandler for the event types MCRObject, MCRDerivate and MCRFile. |
void |
doNothing(MCREvent evt,
Object obj)
This method does nothing. |
protected void |
handleClassificationCreated(MCREvent evt,
MCRCategory obj)
Handles classification created events. |
protected void |
handleClassificationDeleted(MCREvent evt,
MCRCategory obj)
Handles classification deleted events. |
protected void |
handleClassificationRepaired(MCREvent evt,
MCRCategory obj)
Handles classification repair events. |
protected void |
handleClassificationUpdated(MCREvent evt,
MCRCategory obj)
Handles classification updated events. |
protected 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. |
protected void |
handleFileCreated(MCREvent evt,
MCRFile file)
Handles file created events. |
protected void |
handleFileDeleted(MCREvent evt,
MCRFile file)
Handles file deleted events. |
protected void |
handleFileRepaired(MCREvent evt,
MCRFile file)
Handles file repair events. |
protected void |
handleFileUpdated(MCREvent evt,
MCRFile file)
Handles file updated events. |
protected void |
handleObjectCreated(MCREvent evt,
MCRObject obj)
Handles object created events. |
protected void |
handleObjectDeleted(MCREvent evt,
MCRObject obj)
Handles object deleted events. |
protected void |
handleObjectRepaired(MCREvent evt,
MCRObject obj)
Handles object repair events. |
protected void |
handleObjectUpdated(MCREvent evt,
MCRObject obj)
Handles object updated events. |
protected void |
undoClassificationCreated(MCREvent evt,
MCRCategory obj)
Handles undo of classification created events. |
protected void |
undoClassificationDeleted(MCREvent evt,
MCRCategory obj)
Handles undo of classification deleted events. |
protected void |
undoClassificationRepaired(MCREvent evt,
MCRCategory obj)
Handles undo of classification repaired events. |
protected void |
undoClassificationUpdated(MCREvent evt,
MCRCategory obj)
Handles undo of classification updated events. |
protected void |
undoDerivateCreated(MCREvent evt,
MCRDerivate der)
Handles undo of derivate created events. |
protected void |
undoDerivateDeleted(MCREvent evt,
MCRDerivate der)
Handles undo of derivate deleted events. |
protected void |
undoDerivateRepaired(MCREvent evt,
MCRDerivate der)
Handles undo of derivate repaired events. |
protected void |
undoDerivateUpdated(MCREvent evt,
MCRDerivate der)
Handles undo of derivate updated events. |
protected void |
undoFileCreated(MCREvent evt,
MCRFile file)
Handles undo of file created events. |
protected void |
undoFileDeleted(MCREvent evt,
MCRFile file)
Handles undo of file deleted events. |
protected void |
undoFileRepaired(MCREvent evt,
MCRFile file)
Handles undo of file repair events. |
protected void |
undoFileUpdated(MCREvent evt,
MCRFile file)
Handles undo of file updated events. |
void |
undoHandleEvent(MCREvent evt)
This method roll back all calls for EventHandler for the event types MCRObject, MCRDerivate and MCRFile. |
protected void |
undoObjectCreated(MCREvent evt,
MCRObject obj)
Handles undo of object created events. |
protected void |
undoObjectDeleted(MCREvent evt,
MCRObject obj)
Handles undo of object deleted events. |
protected void |
undoObjectRepaired(MCREvent evt,
MCRObject obj)
Handles undo of object repaired events. |
protected void |
undoObjectUpdated(MCREvent evt,
MCRObject obj)
Handles undo of object updated events. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MCREventHandlerBase()
| Method Detail |
|---|
public void doHandleEvent(MCREvent evt)
doHandleEvent in interface MCREventHandlerevt - The MCREvent objectpublic void undoHandleEvent(MCREvent evt)
undoHandleEvent in interface MCREventHandlerevt - The MCREvent object
public void doNothing(MCREvent evt,
Object obj)
protected void handleClassificationCreated(MCREvent evt,
MCRCategory obj)
evt - the event that occuredobj - the MCRClassification that caused the event
protected void handleClassificationUpdated(MCREvent evt,
MCRCategory obj)
evt - the event that occuredobj - the MCRClassification that caused the event
protected void handleClassificationDeleted(MCREvent evt,
MCRCategory obj)
evt - the event that occuredobj - the MCRClassification that caused the event
protected void handleClassificationRepaired(MCREvent evt,
MCRCategory obj)
evt - the event that occuredobj - the MCRClassification that caused the event
protected void handleObjectCreated(MCREvent evt,
MCRObject obj)
evt - the event that occuredobj - the MCRObject that caused the event
protected void handleObjectUpdated(MCREvent evt,
MCRObject obj)
evt - the event that occuredobj - the MCRObject that caused the event
protected void handleObjectDeleted(MCREvent evt,
MCRObject obj)
evt - the event that occuredobj - the MCRObject that caused the event
protected void handleObjectRepaired(MCREvent evt,
MCRObject obj)
evt - the event that occuredobj - the MCRObject that caused the event
protected void handleDerivateCreated(MCREvent evt,
MCRDerivate der)
evt - the event that occuredder - the MCRDerivate that caused the event
protected void handleDerivateUpdated(MCREvent evt,
MCRDerivate der)
evt - the event that occuredder - the MCRDerivate that caused the event
protected void handleDerivateDeleted(MCREvent evt,
MCRDerivate der)
evt - the event that occuredder - the MCRDerivate that caused the event
protected void handleDerivateRepaired(MCREvent evt,
MCRDerivate der)
evt - the event that occuredder - the MCRDerivate that caused the event
protected void handleFileCreated(MCREvent evt,
MCRFile file)
evt - the event that occuredfile - the MCRFile that caused the event
protected void handleFileUpdated(MCREvent evt,
MCRFile file)
evt - the event that occuredfile - the MCRFile that caused the event
protected void handleFileDeleted(MCREvent evt,
MCRFile file)
evt - the event that occuredfile - the MCRFile that caused the event
protected void handleFileRepaired(MCREvent evt,
MCRFile file)
evt - the event that occuredfile - the MCRFile that caused the event
protected void undoClassificationCreated(MCREvent evt,
MCRCategory obj)
evt - the event that occuredobj - the MCRClassification that caused the event
protected void undoClassificationUpdated(MCREvent evt,
MCRCategory obj)
evt - the event that occuredobj - the MCRClassification that caused the event
protected void undoClassificationDeleted(MCREvent evt,
MCRCategory obj)
evt - the event that occuredobj - the MCRClassification that caused the event
protected void undoClassificationRepaired(MCREvent evt,
MCRCategory obj)
evt - the event that occuredobj - the MCRClassification that caused the event
protected void undoObjectCreated(MCREvent evt,
MCRObject obj)
evt - the event that occuredobj - the MCRObject that caused the event
protected void undoObjectUpdated(MCREvent evt,
MCRObject obj)
evt - the event that occuredobj - the MCRObject that caused the event
protected void undoObjectDeleted(MCREvent evt,
MCRObject obj)
evt - the event that occuredobj - the MCRObject that caused the event
protected void undoObjectRepaired(MCREvent evt,
MCRObject obj)
evt - the event that occuredobj - the MCRObject that caused the event
protected void undoDerivateCreated(MCREvent evt,
MCRDerivate der)
evt - the event that occuredder - the MCRDerivate that caused the event
protected void undoDerivateUpdated(MCREvent evt,
MCRDerivate der)
evt - the event that occuredder - the MCRDerivate that caused the event
protected void undoDerivateDeleted(MCREvent evt,
MCRDerivate der)
evt - the event that occuredder - the MCRDerivate that caused the event
protected void undoDerivateRepaired(MCREvent evt,
MCRDerivate der)
evt - the event that occuredder - the MCRDerivate that caused the event
protected void undoFileCreated(MCREvent evt,
MCRFile file)
evt - the event that occuredfile - the MCRFile that caused the event
protected void undoFileUpdated(MCREvent evt,
MCRFile file)
evt - the event that occuredfile - the MCRFile that caused the event
protected void undoFileDeleted(MCREvent evt,
MCRFile file)
evt - the event that occuredfile - the MCRFile that caused the event
protected void undoFileRepaired(MCREvent evt,
MCRFile file)
evt - the event that occuredfile - the MCRFile that caused the event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||