BriefcaseSyncDownTarget
Target for sync that downloads records using the briefcase (priming records) API
Constructors
Properties
Functions
Save cleaned record in local store
Delete from local store records that a full sync down would no longer download
Continue fetching records conforming to target if any
Delete record from local store
Return ids of "dirty" records (records locally created/upated or deleted)
Get record from local store by storeId
Get records from local store by storeId
Return ids of records that should not be written over during a sync down with merge mode leave-if-changed
Gets the latest modification timestamp from the array of records.
Return ids of non-dirty records (records NOT locally created/updated or deleted)
Given a record, return true if it was locally created/updated or deleted
Given a record, return true if it was locally created
Given a record, return true if it was locally deleted
Given a record, return true if it was locally updated
Overriding saveRecordsToLocalStore since we might want records in different soups
Start fetching records conforming to target If a value for maxTimeStamp greater than 0 is passed in, only records created/modified after maxTimeStamp should be returned