Class ORestrictedAccessHook
java.lang.Object
com.orientechnologies.orient.core.metadata.security.ORestrictedAccessHook
Checks the access against restricted resources. Restricted resources are those documents of
classes that implement ORestricted abstract class.
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisAllowed(ODatabaseDocumentInternal database, ODocument iDocument, ORestrictedOperation iAllowOperation, boolean iReadOriginal) static booleanonRecordBeforeCreate(ODocument iDocument, ODatabaseDocumentInternal database)
-
Constructor Details
-
ORestrictedAccessHook
public ORestrictedAccessHook()
-
-
Method Details
-
onRecordBeforeCreate
-
isAllowed
public static boolean isAllowed(ODatabaseDocumentInternal database, ODocument iDocument, ORestrictedOperation iAllowOperation, boolean iReadOriginal)
-