Class: OfflineDataProviderProxy¶
A designer-facing interface that provides access to a offline odata provider.
Hierarchy¶
-
OfflineDataProviderProxy
Implements¶
Summary¶
Constructors¶
Properties¶
Class Properties¶
Inherited Properties¶
Methods¶
Class Methods¶
- getDefiningRequests
- getOfflineParameters
- hasPendingDownload
- hasPendingUpload
- isOfflineEnabled
- isRequestQueueEmpty
Inherited Methods¶
Constructors¶
constructor¶
+ new OfflineDataProviderProxy(serviceName
: string): OfflineDataProviderProxy
Inherited from ODataProviderProxy.constructor
Parameters:
Name | Type |
---|---|
serviceName |
string |
Returns: OfflineDataProviderProxy
Properties¶
Methods¶
getDefiningRequests¶
▸ getDefiningRequests(): Array‹IDefiningRequest›
Implementation of IOfflineODataProviderProxy
Gets the list of defining requests
Returns: Array‹IDefiningRequest›
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
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