Package com.arcadedb.database
Class RecordEventsRegistry
- java.lang.Object
-
- com.arcadedb.database.RecordEventsRegistry
-
- All Implemented Interfaces:
RecordEvents
public class RecordEventsRegistry extends Object implements RecordEvents
-
-
Constructor Summary
Constructors Constructor Description RecordEventsRegistry()
-
Method Summary
-
-
-
Method Detail
-
registerListener
public RecordEventsRegistry registerListener(BeforeRecordCreateListener listener)
- Specified by:
registerListener
in interfaceRecordEvents
-
registerListener
public RecordEventsRegistry registerListener(BeforeRecordUpdateListener listener)
- Specified by:
registerListener
in interfaceRecordEvents
-
registerListener
public RecordEventsRegistry registerListener(BeforeRecordDeleteListener listener)
- Specified by:
registerListener
in interfaceRecordEvents
-
registerListener
public RecordEventsRegistry registerListener(AfterRecordCreateListener listener)
- Specified by:
registerListener
in interfaceRecordEvents
-
registerListener
public RecordEventsRegistry registerListener(AfterRecordUpdateListener listener)
- Specified by:
registerListener
in interfaceRecordEvents
-
registerListener
public RecordEventsRegistry registerListener(AfterRecordDeleteListener listener)
- Specified by:
registerListener
in interfaceRecordEvents
-
unregisterListener
public RecordEventsRegistry unregisterListener(BeforeRecordCreateListener listener)
- Specified by:
unregisterListener
in interfaceRecordEvents
-
unregisterListener
public RecordEventsRegistry unregisterListener(BeforeRecordUpdateListener listener)
- Specified by:
unregisterListener
in interfaceRecordEvents
-
unregisterListener
public RecordEventsRegistry unregisterListener(BeforeRecordDeleteListener listener)
- Specified by:
unregisterListener
in interfaceRecordEvents
-
unregisterListener
public RecordEventsRegistry unregisterListener(AfterRecordCreateListener listener)
- Specified by:
unregisterListener
in interfaceRecordEvents
-
unregisterListener
public RecordEventsRegistry unregisterListener(AfterRecordUpdateListener listener)
- Specified by:
unregisterListener
in interfaceRecordEvents
-
unregisterListener
public RecordEventsRegistry unregisterListener(AfterRecordDeleteListener listener)
- Specified by:
unregisterListener
in interfaceRecordEvents
-
onBeforeCreate
public boolean onBeforeCreate(Record record)
-
onBeforeUpdate
public boolean onBeforeUpdate(Record record)
-
onBeforeDelete
public boolean onBeforeDelete(Record record)
-
onAfterCreate
public void onAfterCreate(Record record)
-
onAfterUpdate
public void onAfterUpdate(Record record)
-
onAfterDelete
public void onAfterDelete(Record record)
-
-