OfflineODataParameters

The class represents the configuration details for an OfflineODataProvider.

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var pageSize: Integer
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var storeName: String
Link copied to clipboard
open var storePath: URL
Link copied to clipboard
open var timeout: Integer
Link copied to clipboard
open var urlSuffix: String

Functions

Link copied to clipboard
Returns true if Client Registrations is enabled.
Link copied to clipboard
Check whether client-only metadata is enabled
Link copied to clipboard
Specifies whether or not to enable deleting of individual entities from the ErrorArchive; the entity set which contains information about failed requests during the last upload.
Link copied to clipboard
Returns true if the OData backend or mobile services supports repeatable requests.
Link copied to clipboard
Returns true if request queue optimization is enabled.
Link copied to clipboard
Returns true if transaction builder is enabled.
Link copied to clipboard
Returns true if an optimization that deleting an entity that was created locally but not yet uploaded undoes the creation is enabled.
Link copied to clipboard
Return true if forceUploadOnUserSwitch flag is set.
Link copied to clipboard
Return true if SAP Mobile Services will execute defining query in the order of addition.
Link copied to clipboard
open fun setAutoRegisterClient(autoRegisterClient: Boolean)
Specifies whether or not to enable Client Registrations.
Link copied to clipboard
open fun setEnableClientOnlyMetadata(enableClientOnlyMetadata: Boolean)
Specifies whether or not to enable client-only schema creation based on the provied client only metadata.
Link copied to clipboard
open fun setEnableIndividualErrorArchiveDeletion(enableIndividualErrorArchiveDeletion: Boolean)
Specifies whether or not to enable deleting of individual error archive entity from ErrorArchive entity set.
Link copied to clipboard
open fun setEnableRepeatableRequests(enableRepeatableRequests: Boolean)
Defines true if the OData backend or mobile services supports repeatable requests.
Link copied to clipboard
open fun setEnableRequestQueueOptimization(enableRequestQueueOptimization: Boolean)
Defines whether OfflineOdata supports request queue optimization before uploading to the OData backend.
Link copied to clipboard
open fun setEnableTransactionBuilder(enableTransactionBuilder: Boolean)
Defines whether to enable OfflineOData transaction builder to group requests into change sets before uploading to the OData back-end.
Link copied to clipboard
open fun setEnableUndoLocalCreation(enableUndoLocalCreation: Boolean)
Defines whether an optimization that deleting an entity that was created locally but not yet uploaded undoes the creation is enabled.
open fun setForcePurgeClientOnlyDataOnMetadataChange(forcePurgeClientOnlyDataOnMetadataChange: Boolean)
Sepcifies whether or not to purge client-only data if the provided metadata has some incompatible change with previous metadata version when the client-only schema was built.
Link copied to clipboard
open fun setForcePurgeClientOnlyDataOnUserSwitch(forcePurgeClientOnlyDataOnUserSwitch: Boolean)
Specifies whether or not to purge client only data before switch user.
Link copied to clipboard
open fun setForceUploadOnUserSwitch(forceUploadOnUserSwitch: Boolean)
Specifies whether or not to force uploading previous user's pending change when a second user is opening local store that was used by the previous user.
Link copied to clipboard
open fun setRefreshInOrderOfAddition(refreshInOrderOfAddition: Boolean)
Specifies whether or not SAP Mobile Services will execute defining query in the order of addition.