List binding implementation for client models.
Creates a new ClientListBinding.
This constructor should only be called by subclasses or model implementations, not by application or control code. Such code should use Model#bindList on the corresponding model implementation instead.
new sap.ui.model.ClientListBinding(oModel, sPath, oContext, aSorters?, aFilters?, mParameters?)
Param | Type | Default Value | Description |
---|---|---|---|
oModel | sap.ui.model.Model | Model instance that this binding is created for and that it belongs to |
|
sPath | string | Binding path to be used for this binding, syntax depends on the concrete subclass |
|
oContext | sap.ui.model.Context | Binding context relative to which a relative binding path will be resolved |
|
aSorters? | sap.ui.model.Sorter sap.ui.model.Sorter[] | Initial sort order (can be either a sorter or an array of sorters) |
|
aFilters? | sap.ui.model.Filter sap.ui.model.Filter[] | Predefined filter/s (can be either a filter or an array of filters) |
|
mParameters? | object | Map of optional parameters as defined by subclasses; this class does not introduce any own parameters |
Method | Description |
---|---|
sap.ui.model.ClientListBinding.extend |
Creates a new subclass of class sap.ui.model.ClientListBinding with name
|
filter |
Applies a new set of filters to the list represented by this binding. See ListBinding#filter for a more detailed description of list filtering. When no |
sap.ui.model.ClientListBinding.getMetadata |
Returns a metadata object for class sap.ui.model.ClientListBinding. |
Creates a new subclass of class sap.ui.model.ClientListBinding 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.model.ListBinding.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 |
Applies a new set of filters to the list represented by this binding.
See ListBinding#filter for a more detailed description of list filtering.
When no sFilterType
is given, any previously configured application filters are cleared and the given filters are used as control filters
Param | Type | DefaultValue | Description |
---|---|---|---|
aFilters | sap.ui.model.Filter sap.ui.model.Filter[] |
Single filter object or an array of filter objects |
|
sFilterType | sap.ui.model.FilterType |
Type of the filter which should be adjusted; if no type is given, then any previously configured application filters are cleared and the given filters are used as control filters |