Skip to end of metadata
Go to start of metadata

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)
JSFoundSet createRemoteSearchFoundSet(data)
Array getRowDescriptions(datasource, 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

 

createRemoteSearchFoundSet

JSFoundSet createRemoteSearchFoundSet (data)

Parameters

{Object} data - The data that is given into the offline_data.ws_create method

Returns

JSFoundSet - The FoundSet that is in find mode or null if no FoundSet could be created.
 

getRowDescriptions

Array getRowDescriptions (datasource, pks)

Parameters

{String} datasource - the pks belong to
{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