nuvolabase/orientdb — pull request #1363 by henryzhao81 (2013-02-21 01:40:44+00:00)
Title: https://github.com/nuvolabase/orientdb/issues/1225

Add class trigger :
Create class OTriggered with 8 attributes, each attribute could be a link to OFunction. If any class extends from OTriggered, for any of those operations happens, corresponding function will be triggered. The current document and OScriptDocumentDatabaseWrapper will be binding to the script engine.
- beforeCreate
- afterCreate
- beforeRead
- afterRead
- beforeUpdate
- afterUpdate
- beforeDelete
- afterDelete