public abstract class ORecordHookAbstract extends Object implements ORecordHook
ORecordHook
ORecordHook.DISTRIBUTED_EXECUTION_MODE, ORecordHook.HOOK_POSITION, ORecordHook.RESULT, ORecordHook.SCOPE, ORecordHook.TYPE
Constructor and Description |
---|
ORecordHookAbstract() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDistributedExecutionMode, getScopes
public void onUnregister()
onUnregister
in interface ORecordHook
public ORecordHook.RESULT onRecordBeforeCreate(ORecord iRecord)
iRecord
- The iRecord to createpublic void onRecordAfterCreate(ORecord iRecord)
iRecord
- The iRecord just createdpublic void onRecordCreateFailed(ORecord iRecord)
public void onRecordCreateReplicated(ORecord iRecord)
public ORecordHook.RESULT onRecordBeforeRead(ORecord iRecord)
iRecord
- The iRecord to readpublic void onRecordAfterRead(ORecord iRecord)
iRecord
- The iRecord just readpublic void onRecordReadFailed(ORecord iRecord)
public void onRecordReadReplicated(ORecord iRecord)
public ORecordHook.RESULT onRecordBeforeUpdate(ORecord iRecord)
iRecord
- The iRecord to updatepublic void onRecordAfterUpdate(ORecord iRecord)
iRecord
- The iRecord just updatedpublic void onRecordUpdateFailed(ORecord iRecord)
public void onRecordUpdateReplicated(ORecord iRecord)
public ORecordHook.RESULT onRecordBeforeDelete(ORecord iRecord)
iRecord
- The iRecord to deletepublic void onRecordAfterDelete(ORecord iRecord)
iRecord
- The iRecord just deletedpublic void onRecordDeleteFailed(ORecord iRecord)
public void onRecordDeleteReplicated(ORecord iRecord)
public ORecordHook.RESULT onRecordBeforeReplicaAdd(ORecord record)
public void onRecordAfterReplicaAdd(ORecord record)
public void onRecordReplicaAddFailed(ORecord record)
public ORecordHook.RESULT onRecordBeforeReplicaUpdate(ORecord record)
public void onRecordAfterReplicaUpdate(ORecord record)
public void onRecordReplicaUpdateFailed(ORecord record)
public ORecordHook.RESULT onRecordBeforeReplicaDelete(ORecord record)
public void onRecordAfterReplicaDelete(ORecord record)
public void onRecordReplicaDeleteFailed(ORecord record)
public void onRecordFinalizeUpdate(ORecord record)
public void onRecordFinalizeCreation(ORecord record)
public void onRecordFinalizeDeletion(ORecord record)
public ORecordHook.RESULT onTrigger(ORecordHook.TYPE iType, ORecord record)
onTrigger
in interface ORecordHook
Copyright © 2009–2020 OrientDB. All rights reserved.