01.06.2013 Views

OpenEdge Development: Mobile Applications - Product ...

OpenEdge Development: Mobile Applications - Product ...

OpenEdge Development: Mobile Applications - Product ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

progress.data.JSDO class<br />

Events<br />

Table 13: progress.data.JSDO events<br />

Member<br />

Brief description<br />

(See also the reference entry)<br />

afterCreate event Fires after the JSDO, by means of a<br />

saveChanges( ) call following an add( ) call,<br />

sends a request to create a record and receives a<br />

response to this request from the AppServer<br />

afterDelete event Fires after the JSDO, by means of a<br />

saveChanges( ) call following a remove( ) call,<br />

sends a request to delete a record and receives a<br />

response to this request from the AppServer<br />

afterFill event Fires after the JSDO, by means of a fill( ) call,<br />

sends a request to read a temp-table or<br />

ProDataSet into JSDO local storage and receives<br />

a response to this request from the AppServer<br />

afterInvoke event Fires after a non–built-in method is called<br />

asynchronously on a JSDO and a response to the<br />

request is received from the AppServer<br />

afterSaveChanges event Fires once for each call to the saveChanges( )<br />

method on a JSDO, after responses to all create,<br />

update, and delete requests have been received<br />

from the AppServer<br />

afterUpdate event Fires after the JSDO, by means of a<br />

saveChanges( ) call following an assign( ) call,<br />

sends a request to update a record and receives a<br />

response to this request from the AppServer<br />

beforeCreate event Fires before the JSDO, by means of a<br />

saveChanges( ) call following an add( ) call,<br />

sends a request the AppServer to create a record<br />

beforeDelete event Fires before the JSDO, by means of a<br />

saveChanges( ) call following a remove( ) call,<br />

sends a request the AppServer to delete a record<br />

beforeFill event Fires before the JSDO, by means of a fill( )<br />

call, sends a request to the AppServer to read a<br />

temp-table or ProDataSet into JSDO local storage<br />

beforeInvoke event Fires when a non–built-in method is called<br />

asynchronously on a JSDO, before the request for<br />

the operation is sent to the AppServer<br />

beforeSaveChanges event Fires once for each call to the saveChanges( )<br />

method on a JSDO, before any create, update, or<br />

delete requests are sent to the AppServer<br />

beforeUpdate event Fires before the JSDO, by means of a<br />

saveChanges( ) call following an assign( ) call,<br />

sends a request the AppServer to update a record<br />

160 <strong>OpenEdge</strong> ® <strong>Development</strong>: <strong>Mobile</strong> <strong>Applications</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!