JSONStoreInitOptions
Options that are used to modify the init operation in WLJSONStore.
Constructor Summary
Public Constructor | ||
public |
constructor(username: string, password: string, enableAnalytics: boolean, secureRandom: string, pbkdf2Iterations: number) Constructor to initialize JSONStoreInitOptions |
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
Method Summary
Public Methods | ||
public |
setSyncOptions(syncPolicy: JSONStoreSyncPolicy, syncAdapterPath: string): * Set Synchronization Options for the collection set |
Public Constructors
public constructor(username: string, password: string, enableAnalytics: boolean, secureRandom: string, pbkdf2Iterations: number) source
Constructor to initialize JSONStoreInitOptions
Params:
Name | Type | Attribute | Description |
username | string |
|
The user name |
password | string |
|
The password to be used for the store. |
enableAnalytics | boolean |
|
When true, analytics will be logged for JSONStore. |
secureRandom | string |
|
The secure random string to be used by security artifacts. |
pbkdf2Iterations | number |
|
Public Members
public syncPolicy: JSONStoreSyncPolicy source
Public Methods
public setSyncOptions(syncPolicy: JSONStoreSyncPolicy, syncAdapterPath: string): * source
Set Synchronization Options for the collection set
Params:
Name | Type | Attribute | Description |
syncPolicy | JSONStoreSyncPolicy | Must be either of ['SYNC_NONE', 'SYNC_DOWNSTREAM', 'SYNC_UPSTREAM'] |
|
syncAdapterPath | string | Name of the Sync Adapter |
Return:
* |