Constructor
new FHIRTreeBinding(oModel, sPath, oContextopt, aFiltersopt, mParametersopt, aSortersopt)
Constructor for a new FHIRTreeBinding
- 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 |
||||||||||||||||||||||||||||||||||||||||||||||||||
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
|
||||||||||||||||||||||||||||||||||||||||||||||||||
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) |
Extends
- sap.ui.model.TreeBinding
Methods
attachTreeLoadingCompleted(oDataopt, fnFunction, oListeneropt) → {sap.fhir.model.r4.FHIRTreeBinding}
Attach event-handler fnFunction
to the treeLoadingCompleted
event of this sap.fhir.model.r4.FHIRTreeBinding
.
- Since:
- 1.0.0
- Source:
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
oData |
object
|
<optional> |
The object, that should be passed along with the event-object when firing the event. |
fnFunction |
function
|
The function to call, when the event occurs. This function will be called on the oListener-instance (if present) or in a 'static way'. |
|
oListener |
object
|
<optional> |
Object on which to call the given function. If empty, the global context (window) is used. |
attachTreeLoadingStarted(oDataopt, fnFunction, oListeneropt) → {sap.fhir.model.r4.FHIRTreeBinding}
Attach event-handler fnFunction
to the treeLoadingStarted
event of this sap.fhir.model.r4.FHIRTreeBinding
.
- Since:
- 1.0.0
- Source:
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
oData |
object
|
<optional> |
The object, that should be passed along with the event-object when firing the event. |
fnFunction |
function
|
The function to call, when the event occurs. This function will be called on the oListener-instance (if present) or in a 'static way'. |
|
oListener |
object
|
<optional> |
Object on which to call the given function. If empty, the global context (window) is used. |
detachTreeLoadingCompleted(fnFunction, oListener) → {sap.fhir.model.r4.FHIRTreeBinding}
Detach event-handler fnFunction
from the treeLoadingCompleted
event of this sap.fhir.model.r4.FHIRTreeBinding
. The passed function and listener
object must match the ones previously used for event registration.
- Since:
- 1.0.0
- Source:
Parameters:
Name | Type | Description |
---|---|---|
fnFunction |
function
|
The function to call, when the event occurs. |
oListener |
object
|
Object on which the given function had to be called. |
detachTreeLoadingStarted(fnFunction, oListener) → {sap.fhir.model.r4.FHIRTreeBinding}
Detach event-handler fnFunction
from the treeLoadingStarted
event of this sap.fhir.model.r4.FHIRTreeBinding
. The passed function and listener
object must match the ones previously used for event registration.
- Since:
- 1.0.0
- Source:
Parameters:
Name | Type | Description |
---|---|---|
fnFunction |
function
|
The function to call, when the event occurs. |
oListener |
object
|
Object on which the given function had to be called. |
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 |
getLength() → {number}
Determines the number of entities contained by the actual tree binding
- Since:
- 1.0.0
- Source:
Returns:
- Type:
-
number
The number of entities contained by the current list binding
refresh(sChangeReason)
Refreshes the tree 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
Events
treeLoadingCompleted
Fired, when the tree binding has finished requesting tree items from the FHIR server
- Source:
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
oEvent |
sap.ui.base.Event
|
|
treeLoadingStarted
Fired, when the tree binding starts to request tree items from the FHIR server
- Source:
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
oEvent |
sap.ui.base.Event
|
|