|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mycore.common.events.MCREventHandlerBase
org.mycore.frontend.indexbrowser.lucene.MCRIndexBrowserEventHandler
public class MCRIndexBrowserEventHandler
This class implements an event handler that reacts on object modify / create / delete events. It basically clears the different classification caches to make sure the number of documents for each classification item is displayed correctly. This has also an impact to the question if a classification item can be expanded to display subitems.
| Constructor Summary | |
|---|---|
MCRIndexBrowserEventHandler()
|
|
| Method Summary | |
|---|---|
protected void |
handleObjectCreated(MCREvent evt,
MCRObject obj)
Handles object created events. |
protected void |
handleObjectDeleted(MCREvent evt,
MCRObject obj)
This method delete the XML data from SQL table data via MCRXMLTableManager. |
protected void |
handleObjectUpdated(MCREvent evt,
MCRObject obj)
This method update the data to SQL table of XML data via MCRXMLTableManager. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MCRIndexBrowserEventHandler()
| Method Detail |
|---|
protected final void handleObjectCreated(MCREvent evt,
MCRObject obj)
MCREventHandlerBase
handleObjectCreated in class MCREventHandlerBaseevt - the event that occuredobj - the MCRObject that caused the event
protected final void handleObjectUpdated(MCREvent evt,
MCRObject obj)
handleObjectUpdated in class MCREventHandlerBaseevt - the event that occuredobj - the MCRObject that caused the event
protected final void handleObjectDeleted(MCREvent evt,
MCRObject obj)
handleObjectDeleted in class MCREventHandlerBaseevt - the event that occuredobj - the MCRObject that caused the event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||