Skip to content

Class: OfflineDataProviderProxy

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

Hierarchy

Implements

Summary

Constructors

Properties

Methods

Constructors

constructor

+ new OfflineDataProviderProxy(serviceName: string): OfflineDataProviderProxy

Inherited from ODataProviderProxy.constructor

Parameters:

Name Type
serviceName string

Returns: OfflineDataProviderProxy

Properties

Protected _serviceName

_serviceName: string

Inherited from ODataProviderProxy._serviceName

Methods

getOfflineParameters

getOfflineParameters(): IOfflineODataParametersProxy

Implementation of IOfflineODataProviderProxy

Gets the offline parameters object

Returns: IOfflineODataParametersProxy


hasPendingDownload

hasPendingDownload(): boolean

Implementation of IOfflineODataProviderProxy

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.

Returns: boolean


hasPendingUpload

hasPendingUpload(): boolean

Implementation of IOfflineODataProviderProxy

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.

Returns: boolean


isInitialized

isInitialized(): boolean

Implementation of IOfflineODataProviderProxy

Inherited from ODataProviderProxy.isInitialized

Determine whether the data provider is initialized

Returns: boolean


isOfflineEnabled

isOfflineEnabled(): boolean

Implementation of IOfflineODataProviderProxy

Overrides ODataProviderProxy.isOfflineEnabled

Determine whether the data provider is for online

Returns: boolean


isRequestQueueEmpty

isRequestQueueEmpty(): boolean

Implementation of IOfflineODataProviderProxy

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

Returns: boolean