DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.

Enter additional information related to this 'class' inside the {div} macro with 'id=description'

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

OfflineDataDescription
 

createOfflineDataDescription

OfflineDataDescription
createOfflineDataDescription
(prefix)

Parameters

{String} prefix - specified formname prefix used to retrieve row data from REST wise

Returns

OfflineDataDescription
 

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

Array
 

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