Skip to content

Class: OfflineDataProviderProxy

A designer-facing interface that provides access to a offline odata provider.

Hierarchy

Implements

Summary

Constructors

Properties

Class Properties

Currently none in this class.

Inherited Properties

Accessors

Class Accessors

Currently none in this class.

Inherited Accessors

Currently none inherited from the parent class(es).

Methods

Class Methods

Inherited Methods

Constructors

Constructor

+ new OfflineDataProviderProxy(serviceName: string): OfflineDataProviderProxy

Inherited from ODataProviderProxy.constructor

Parameters:

Name Type
serviceName string

Returns: OfflineDataProviderProxy

Methods

getDefiningRequests

getDefiningRequests(): IDefiningRequest[]

Gets the list of defining requests

Implementation of IOfflineODataProviderProxy.getDefiningRequests

Returns: IDefiningRequest[]


getOfflineParameters

getOfflineParameters(): IOfflineODataParametersProxy

Gets the offline parameters object

Implementation of IOfflineODataProviderProxy.getOfflineParameters

Returns: IOfflineODataParametersProxy


hasPendingDownload

hasPendingDownload(): boolean

Whether or not there is a pending download (a download that was cancelled either explicitly or because the provider was closed). It may be possible to continue the download by triggering a new download.

Implementation of IOfflineODataProviderProxy.hasPendingDownload

Returns: boolean


hasPendingUpload

hasPendingUpload(): boolean

Whether or not there is a pending upload (a upload that was cancelled either explicitly or because the provider was closed). It may be possible to continue the upload by triggering a new upload.

Implementation of IOfflineODataProviderProxy.hasPendingUpload

Returns: boolean


isOfflineEnabled

isOfflineEnabled(): boolean

Determine whether the data provider is for online

Implementation of IOfflineODataProviderProxy.isOfflineEnabled Overrides ODataProviderProxy.isOfflineEnabled

Returns: boolean


isRequestQueueEmpty

isRequestQueueEmpty(): boolean

Checks whether or not, there are any pending requests stored in the request queue that have not yet been uploaded.

Implementation of IOfflineODataProviderProxy.isRequestQueueEmpty

Returns: boolean