Package com.arcadedb.event
Interface BeforeRecordUpdateListener
-
public interface BeforeRecordUpdateListener
Listener to receive events before updating records (documents, vertices and edges).NOTE: the callback is invoked synchronously. For this reason the execution should be as fast as possible. Even with a fast implementation, using this callback may cause a sensible slowdown of updating operations.
- Author:
- Luca Garulli ([email protected])
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
onBeforeUpdate(Record record)
Callback invoked right before a record (documents, vertices and edges) is updated.
-
-
-
Method Detail
-
onBeforeUpdate
boolean onBeforeUpdate(Record record)
Callback invoked right before a record (documents, vertices and edges) is updated.- Returns:
- true if the record must be saved, otherwise false to prevent the record update.
-
-