class sap.ui.integration.util.RequestDataProvider

Visiblity: restricted
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/integration/util/RequestDataProvider
Application Component: CA-UI5-CTR

Constructor

Constructor for a new RequestDataProvider.

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject#constructor for a general description of the syntax of the settings object.

new sap.ui.integration.util.RequestDataProvider(sId?, mSettings?)
Param Type Default Value Description
sId? string

ID for the new data provider, generated automatically if no ID is given.

mSettings? object

Initial settings for the new data provider.


Properties

Name Type Default Value Description
allowCustomDataType boolean false Visibility: public

Borrowed Properties

Name Type Default Value Description
baseRuntimeUrl string

The base url where resources for card or editor are located.

Visibility: public
settingsJson string

Data settings in json format. Will override any other settings.

Visibility: public

Methods Overview

Method Description
sap.ui.integration.util.RequestDataProvider.extend

Creates a new subclass of class sap.ui.integration.util.RequestDataProvider with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.ui.integration.util.DataProvider.extend.

getAllowCustomDataType

Gets current value of property allowCustomDataType.

Default value is false.

sap.ui.integration.util.RequestDataProvider.getMetadata

Returns a metadata object for class sap.ui.integration.util.RequestDataProvider.

setAllowCustomDataType

Sets a new value for property allowCustomDataType.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is false.

sap.ui.integration.util.RequestDataProvider.extend

Creates a new subclass of class sap.ui.integration.util.RequestDataProvider with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.ui.integration.util.DataProvider.extend.

Param Type DefaultValue Description
sClassName string

Name of the class being created

oClassInfo object

Object literal with information about the class

FNMetaImpl function

Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class

getAllowCustomDataType

Gets current value of property allowCustomDataType.

Default value is false.

sap.ui.integration.util.RequestDataProvider.getMetadata

Returns a metadata object for class sap.ui.integration.util.RequestDataProvider.

setAllowCustomDataType

Sets a new value for property allowCustomDataType.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is false.

Param Type DefaultValue Description
bAllowCustomDataType boolean false

New value for property allowCustomDataType