Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

The Mobile service plugin contains functionality to be used in the RESTFull Mobile Service solution that accompanies a Mobile solution.

As such, the Mobile Service plugin is not accessible in the actual Mobile Solution, but only in the Mobile Service solution


Return Types
OfflineDataDescription

Method Summary
OfflineDataDescription #createOfflineDataDescription()
OfflineDataDescription #createOfflineDataDescription(prefix)
Array #getRowDescriptions(fs, pks)
void #performSync(data, version, authenticateResult)

Method Details
createOfflineDataDescription

OfflineDataDescription createOfflineDataDescription ()

Returns
createOfflineDataDescription

OfflineDataDescription createOfflineDataDescription (prefix)

Parameters
{String} prefix – specified formname prefix used to retrieve row data from REST wise
Returns
getRowDescriptions

Array getRowDescriptions (fs, pks)

Parameters
{JSFoundSet} fs – the foundset
{Object[]} pks – the array of pks
Returns
performSync

void performSync (data, version, authenticateResult)

Parameters
{Object} data – The data package that is given to the offline_data form ws_update method.
{Number} version – The version number that is given to the offline_data form ws_update method.
{Object} authenticateResult – The authenticateResult object that is given to the offline_data form ws_update method. (generated by the offline_data.ws_authenticate)
Returns
void
  • No labels