01.06.2013 Views

OpenEdge Development: Mobile Applications - Product ...

OpenEdge Development: Mobile Applications - Product ...

OpenEdge Development: Mobile Applications - Product ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table 12: progress.data.JSDO table-reference methods<br />

Member<br />

progress.data.JSDO class<br />

Brief description<br />

(See also the reference entry)<br />

add( ) method Creates a new record object for a temp-table<br />

referenced in JSDO local storage and returns a<br />

reference to the new record<br />

addRecords( ) method Reads a specified object and updates the local<br />

storage of the JSDO<br />

assign( ) method (JSDO<br />

class)<br />

Updates field values for the specified temp-table<br />

record referenced in JSDO local storage<br />

find( ) method Searches for a record in a temp-table referenced in<br />

JSDO local storage and returns a reference to that<br />

record if found<br />

findById( ) method Locates and returns the record in JSDO local<br />

storage with the internal ID you specify<br />

foreach( ) method Loops through the records of a temp-table<br />

referenced in JSDO local storage and invokes a<br />

function as a parameter on each iteration<br />

getData( ) method Returns an array of record objects for a temp-table<br />

referenced in JSDO local storage<br />

getId( ) method Returns the unique internal ID for the specified<br />

temp-table record referenced in JSDO local<br />

storage<br />

getSchema( ) method Returns an array of objects, one for each field that<br />

defines the schema of a temp-table referenced in<br />

JSDO local storage<br />

remove( ) method Deletes the specified temp-table record referenced<br />

in JSDO local storage<br />

subscribe( ) method Subscribes a given event handler function to a<br />

named event for a JSDO or table reference<br />

unsubscribe( ) method Unsubscribes a given event handler function from<br />

a named event of a JSDO or table reference<br />

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

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

Saved successfully!

Ooh no, something went wrong!