public class HeaderHook
extends com.orientechnologies.orient.core.hook.ODocumentHookAbstract
implements com.orientechnologies.orient.core.db.ODatabaseLifecycleListener
com.orientechnologies.orient.core.db.ODatabaseLifecycleListener.PRIORITYcom.orientechnologies.orient.core.hook.ORecordHook.DISTRIBUTED_EXECUTION_MODE, com.orientechnologies.orient.core.hook.ORecordHook.HOOK_POSITION, com.orientechnologies.orient.core.hook.ORecordHook.RESULT, com.orientechnologies.orient.core.hook.ORecordHook.SCOPE, com.orientechnologies.orient.core.hook.ORecordHook.TYPE| Constructor and Description |
|---|
HeaderHook() |
HeaderHook(com.orientechnologies.orient.core.db.document.ODatabaseDocument database) |
| Modifier and Type | Method and Description |
|---|---|
com.orientechnologies.orient.core.hook.ORecordHook.DISTRIBUTED_EXECUTION_MODE |
getDistributedExecutionMode() |
com.orientechnologies.orient.core.db.ODatabaseLifecycleListener.PRIORITY |
getPriority() |
protected void |
init() |
void |
onClose(com.orientechnologies.orient.core.db.ODatabaseInternal iDatabase) |
void |
onCreate(com.orientechnologies.orient.core.db.ODatabaseInternal iDatabase) |
void |
onCreateClass(com.orientechnologies.orient.core.db.ODatabaseInternal iDatabase,
com.orientechnologies.orient.core.metadata.schema.OClass iClass) |
void |
onDrop(com.orientechnologies.orient.core.db.ODatabaseInternal iDatabase) |
void |
onDropClass(com.orientechnologies.orient.core.db.ODatabaseInternal iDatabase,
com.orientechnologies.orient.core.metadata.schema.OClass iClass) |
void |
onLocalNodeConfigurationRequest(com.orientechnologies.orient.core.record.impl.ODocument iConfiguration) |
void |
onOpen(com.orientechnologies.orient.core.db.ODatabaseInternal iDatabase) |
com.orientechnologies.orient.core.hook.ORecordHook.RESULT |
onRecordBeforeCreate(com.orientechnologies.orient.core.record.impl.ODocument iDocument) |
com.orientechnologies.orient.core.hook.ORecordHook.RESULT |
onRecordBeforeUpdate(com.orientechnologies.orient.core.record.impl.ODocument iDocument) |
filterBySchemaClass, getExcludeClasses, getIncludeClasses, onRecordAfterCreate, onRecordAfterDelete, onRecordAfterRead, onRecordAfterUpdate, onRecordBeforeDelete, onRecordBeforeRead, onRecordCreateFailed, onRecordCreateReplicated, onRecordDeleteFailed, onRecordDeleteReplicated, onRecordFinalizeCreation, onRecordFinalizeDeletion, onRecordFinalizeUpdate, onRecordReadFailed, onRecordReadReplicated, onRecordUpdateFailed, onRecordUpdateReplicated, onTrigger, onUnregister, setExcludeClasses, setIncludeClassespublic HeaderHook()
public HeaderHook(com.orientechnologies.orient.core.db.document.ODatabaseDocument database)
protected void init()
public com.orientechnologies.orient.core.hook.ORecordHook.DISTRIBUTED_EXECUTION_MODE getDistributedExecutionMode()
getDistributedExecutionMode in interface com.orientechnologies.orient.core.hook.ORecordHookpublic com.orientechnologies.orient.core.hook.ORecordHook.RESULT onRecordBeforeCreate(com.orientechnologies.orient.core.record.impl.ODocument iDocument)
onRecordBeforeCreate in class com.orientechnologies.orient.core.hook.ODocumentHookAbstractpublic com.orientechnologies.orient.core.hook.ORecordHook.RESULT onRecordBeforeUpdate(com.orientechnologies.orient.core.record.impl.ODocument iDocument)
onRecordBeforeUpdate in class com.orientechnologies.orient.core.hook.ODocumentHookAbstractpublic com.orientechnologies.orient.core.db.ODatabaseLifecycleListener.PRIORITY getPriority()
getPriority in interface com.orientechnologies.orient.core.db.ODatabaseLifecycleListenerpublic void onCreate(com.orientechnologies.orient.core.db.ODatabaseInternal iDatabase)
onCreate in interface com.orientechnologies.orient.core.db.ODatabaseLifecycleListenerpublic void onOpen(com.orientechnologies.orient.core.db.ODatabaseInternal iDatabase)
onOpen in interface com.orientechnologies.orient.core.db.ODatabaseLifecycleListenerpublic void onClose(com.orientechnologies.orient.core.db.ODatabaseInternal iDatabase)
onClose in interface com.orientechnologies.orient.core.db.ODatabaseLifecycleListenerpublic void onDrop(com.orientechnologies.orient.core.db.ODatabaseInternal iDatabase)
onDrop in interface com.orientechnologies.orient.core.db.ODatabaseLifecycleListenerpublic void onCreateClass(com.orientechnologies.orient.core.db.ODatabaseInternal iDatabase,
com.orientechnologies.orient.core.metadata.schema.OClass iClass)
onCreateClass in interface com.orientechnologies.orient.core.db.ODatabaseLifecycleListenerpublic void onDropClass(com.orientechnologies.orient.core.db.ODatabaseInternal iDatabase,
com.orientechnologies.orient.core.metadata.schema.OClass iClass)
onDropClass in interface com.orientechnologies.orient.core.db.ODatabaseLifecycleListenerpublic void onLocalNodeConfigurationRequest(com.orientechnologies.orient.core.record.impl.ODocument iConfiguration)
onLocalNodeConfigurationRequest in interface com.orientechnologies.orient.core.db.ODatabaseLifecycleListenerCopyright © 2020. All Rights Reserved.