public class OrienteerUserRoleHook
extends com.orientechnologies.orient.core.hook.ODocumentHookAbstract
com.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.Scoped, com.orientechnologies.orient.core.hook.ORecordHook.TYPE| Constructor and Description |
|---|
OrienteerUserRoleHook(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.hook.ORecordHook.RESULT |
onRecordBeforeCreate(com.orientechnologies.orient.core.record.impl.ODocument doc)
Add doc to field _allowRead if it doesn't exists in _allowRead set
|
filterBySchemaClass, getExcludeClasses, getIncludeClasses, onRecordAfterCreate, onRecordAfterDelete, onRecordAfterRead, onRecordAfterUpdate, onRecordBeforeDelete, onRecordBeforeRead, onRecordBeforeUpdate, onRecordCreateFailed, onRecordCreateReplicated, onRecordDeleteFailed, onRecordDeleteReplicated, onRecordFinalizeCreation, onRecordFinalizeDeletion, onRecordFinalizeUpdate, onRecordReadFailed, onRecordReadReplicated, onRecordUpdateFailed, onRecordUpdateReplicated, onTrigger, onUnregister, setExcludeClasses, setIncludeClassespublic OrienteerUserRoleHook(com.orientechnologies.orient.core.db.document.ODatabaseDocument database)
public com.orientechnologies.orient.core.hook.ORecordHook.RESULT onRecordBeforeCreate(com.orientechnologies.orient.core.record.impl.ODocument doc)
onRecordBeforeCreate in class com.orientechnologies.orient.core.hook.ODocumentHookAbstractdoc - ODocument role documentORecordHook.RESULT returns super.onBeforeCreate(doc)public com.orientechnologies.orient.core.hook.ORecordHook.DISTRIBUTED_EXECUTION_MODE getDistributedExecutionMode()
Copyright © 2020. All rights reserved.