Describing Sailfish Framework Methods

Main methods used in the Sailfish framework.

Authentication Methods

Authenticate the user by login and password

User authentication with password change

Methods for Working with Certificates and Digital Signature

Get certificates list

Sign cell

Server Accessibility Check Method

Mobile platform server accessibility check

Framework Setup Methods

Set server URL

Get server URL

Set API version

Set application name

Display framework log in the console (setLogEnabled)

Methods of Working with Database

Connect to database

Change database encryption key (reKeyDatabase)

Execute request in opened database

Get resource tables list

Delete saved resource data

Disconnect database

Methods for Working with Resources

Get all resources list

Synchronous request to get resource data with scalar parameters

Asynchronous request to get resource data with scalar parameters

Synchronous request to get resource data with table parameters

Asynchronous request to get resource data with table parameters

Synchronous request to get resource data with table or scalar parameters

Asynchronous request to get resource data with table or scalar parameters

Resume resource downloading (useDownload)

Set the path to the folder with files of the current resource downloading state (setFilePath)

Methods of Working with Environments and Projects

Set environment name

Set project name

Set device identifier

Get environment name

Get project name

Get device identifier

Methods for Working with Files

Upload file to server (putFile)

Get file (getFile)

Encryption of file, string, byte array

Decryption of file, string, byte array

Get information about on server (getFileMeta)

Get directory contents (getDirectoryContent)

Delete file on server (deleteFile)

Method for Working with Transactions

Get data about completed transaction

Get completed transactions list with table resource

Delete transaction on server

To initialize and set up the Sailfish framework, see the Initializing and Setting Up Sailfish Framework section.

See also:

Sailfish Framework | Initializing and Setting Up Sailfish Framework | Auxiliary Classes