Class DummyBeforeModificationListener
- java.lang.Object
-
- org.nuxeo.ecm.core.storage.sql.listeners.DummyBeforeModificationListener
-
- All Implemented Interfaces:
EventListener
public class DummyBeforeModificationListener extends Object implements EventListener
-
-
Field Summary
Fields Modifier and Type Field Description static AtomicReference<String>
previousTitle
-
Constructor Summary
Constructors Constructor Description DummyBeforeModificationListener()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
clear()
static String
getPreviousTitle()
void
handleEvent(Event event)
Called on aboutToCreate and beforeDocumentModification events.
-
-
-
Field Detail
-
previousTitle
public static AtomicReference<String> previousTitle
-
-
Constructor Detail
-
DummyBeforeModificationListener
public DummyBeforeModificationListener()
-
-
Method Detail
-
handleEvent
public void handleEvent(Event event)
Called on aboutToCreate and beforeDocumentModification events.- Specified by:
handleEvent
in interfaceEventListener
- Parameters:
event
- the event
-
clear
public static void clear()
-
getPreviousTitle
public static String getPreviousTitle()
-
-