DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.

Enter additional information related to this 'class' inside the {div} macro with 'id=description'


Event Summary

onAfterCreate
A method that is executed after a new record is created.

onAfterDelete
A method that is executed after a delete operation.

onAfterFind
A method that is executed after a foundset has switched to find mode.

onAfterInsert
A method that is executed after an insert operation.

onAfterSearch
A method that is executed after a search is executed for a foundset.

onAfterUpdate
A method that is executed after an update operation.
Boolean
onCreate
A method that is executed before a record is created.
Boolean
onDelete
A method that is executed before a delete operation.
Boolean
onFind
A method that is executed before a foundset is going into find mode.
Boolean
onInsert
A method that is executed before an insert operation.
Boolean
onSearch
A method that is executed before search() is called on a foundset in find mode.
Boolean
onUpdate
A method that is executed before an update operation.

Event Details
onAfterCreate
A method that is executed after a new record is created.
Parameters
{JSRecord} record - record that is created

onAfterDelete
A method that is executed after a delete operation.
Parameters
{JSRecord} record - record that is deleted

onAfterFind
A method that is executed after a foundset has switched to find mode.

onAfterInsert
A method that is executed after an insert operation.
Parameters
{JSRecord} record - record that is inserted

onAfterSearch
A method that is executed after a search is executed for a foundset.

onAfterUpdate
A method that is executed after an update operation.
Parameters
{JSRecord} record - record that is updated

onCreate
A method that is executed before a record is created. The method can block the creation by returning false.
Returns
Boolean

onDelete
A method that is executed before a delete operation. The method can block the delete operation by returning false.
Parameters
{JSRecord} record - record that will be deleted
Returns
Boolean

onFind
A method that is executed before a foundset is going into find mode. The method can block the mode change.
Returns
Boolean

onInsert
A method that is executed before an insert operation. The method can block the insert operation by returning false.
Parameters
{JSRecord} record - record that will be inserted
Returns
Boolean

onSearch
A method that is executed before search() is called on a foundset in find mode. The method can block the search (foundset will stay in find mode).
Parameters
{Boolean} clearLastResults
{Boolean} reduceSearch
Returns
Boolean

onUpdate
A method that is executed before an update operation. A method can block the update by returning false.
Parameters
{JSRecord} record - record that will be updated
Returns
Boolean