Constructor
new FHIRListBinding(oModel, sPath, oContextopt, aSortersopt, aFiltersopt, mParametersopt)
Constructor for a new FHIRListBinding
- Version:
- 2.4.0
- Since:
- 1.0.0
- Source:
Parameters:
Name | Type | Attributes | Description | |||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
oModel |
sap.fhir.model.r4.FHIRModel
|
The FHIRModel |
||||||||||||||||||||||||||||||||||||||||||
sPath |
string
|
The binding path in the model |
||||||||||||||||||||||||||||||||||||||||||
oContext |
sap.fhir.model.r4.Context
|
<optional> |
The parent context which is required as base for a relative path |
|||||||||||||||||||||||||||||||||||||||||
aSorters |
sap.ui.model.Sorter
|
Array.<sap.ui.model.Sorter>
|
<optional> |
The dynamic sorters to be used initially (can be either a sorter or an array of sorters) |
|||||||||||||||||||||||||||||||||||||||||
aFilters |
sap.ui.model.Filter
|
Array.<sap.ui.model.Filter>
|
<optional> |
The dynamic application filters to be used initially (can be either a filter or an array of filters) |
|||||||||||||||||||||||||||||||||||||||||
mParameters |
object
|
<optional> |
The map which contains additional parameters for the binding
|
Extends
- sap.ui.model.ListBinding
Methods
filter(aFiltersopt, sFilterType)
Filters the actual list binding depending on the given aFilters
- Since:
- 1.0.0
- Source:
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
aFilters |
Array.<sap.ui.model.Filter>
|
<optional> |
The filters defined for the list binding |
sFilterType |
sap.ui.model.FilterType
|
Type of the filter which should be adjusted, if it is not given, the standard behaviour applies |
getFilters() → {Array.<sap.ui.model.Filter>}
Determines the actual filters of the list binding
- Since:
- 1.0.0
- Source:
Returns:
- Type:
-
Array.<sap.ui.model.Filter>
The array containing the actual filters
getLength() → {number}
Determines the number of entities contained by the actual list binding
- Since:
- 1.0.0
- Source:
Returns:
- Type:
-
number
The number of entities contained by the current list binding
getSorters() → {Array.<sap.ui.model.Sorter>}
Determines the actual sorters of the list binding
- Since:
- 1.0.0
- Source:
Returns:
- Type:
-
Array.<sap.ui.model.Sorter>
The array containing the actual sorters
refresh(sChangeReason)
Refreshes the list binding
- Since:
- 1.0.0
- Source:
Parameters:
Name | Type | Description |
---|---|---|
sChangeReason |
sap.ui.model.ChangeReason
|
The reason for refreshing the binding |
sort(aSorters, bRefresh)
Sorts the actual list binding based on the given aSorters
- Since:
- 1.0.0
- Source:
Parameters:
Name | Type | Description |
---|---|---|
aSorters |
Array.<sap.ui.model.Sorter>
|
The sorters defined for the list binding |
bRefresh |
boolean
|
If the binding should directly send a call or wait for the filters, for p13ndialog |
Type Definitions
Parameter
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
urlParameters |
object
|
<optional> |
The parameters that will be passed as query strings |
- Since:
- 1.0.0
- Source:
Type:
-
object