Skip to end of metadata
Go to start of metadata



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

 

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

 

onFind

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

Returns

 

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

 

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

 

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

 



  • No labels