OpenEdge Development: Mobile Applications - Product ...
OpenEdge Development: Mobile Applications - Product ...
OpenEdge Development: Mobile Applications - Product ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
progress.data.JSDO class<br />
Table 10: progress.data.JSDO properties (2 of 2)<br />
Member<br />
table reference property<br />
(JSDO)<br />
Brief description<br />
(See also the reference entry)<br />
A property on a JSDO that has the name of a<br />
temp-table mapped by the <strong>Mobile</strong> resource for<br />
which the current JSDO is created<br />
useRelationships property A Boolean that specifies whether JSDO methods<br />
that operate on table references in JSDO local<br />
storage work with the table relationships defined in<br />
the schema (that is, work only on the records of a<br />
child table that are related to the parent)<br />
Methods Certain methods of the progress.data.JSDO class are called on the JSDO object<br />
itself, without regard to a table reference, whether that reference is explicit (specified<br />
in the method signature) or implicit (in the case of a JSDO containing only one<br />
temp-table that is not explicitly specified). Other methods can be called on a reference<br />
to a temp-table mapped by the <strong>Mobile</strong> resource for which the current JSDO is created.<br />
Table 11: progress.data.JSDO class-instance methods<br />
Member<br />
Brief description<br />
(See also the reference entry)<br />
addRecords( ) method Reads a specified object and updates the local<br />
storage of the JSDO<br />
fill( ) method Initializes the JSDO local storage from the data<br />
records in a single temp-table, or in one or more<br />
temp-tables of a ProDataSet, as returned by the<br />
built-in read operation of the <strong>Mobile</strong> resource for<br />
which the JSDO is created<br />
invocation method Any method on the JSDO that is defined by the<br />
<strong>Mobile</strong> resource to execute a corresponding ABL<br />
routine on the AppServer as an invoke operation<br />
saveChanges( ) method Synchronizes to the AppServer all changes made<br />
to JSDO local storage since the last call to the<br />
fill( ) or saveChanges( ) method<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 />
158 <strong>OpenEdge</strong> ® <strong>Development</strong>: <strong>Mobile</strong> <strong>Applications</strong>