Utility class used by mdc controls to create the filter statement
Node | Description |
---|
Method | Description |
---|---|
sap.ui.mdc.util.FilterUtil.getConditionsMap |
Returns internal conditions for a set of properties. Properties without a condition will be ignored. The resulting conditions are represented by the operation and by the values array. Note: |
sap.ui.mdc.util.FilterUtil.getFilterInfo |
Creates the filter statements based on the externalize conditions. |
sap.ui.mdc.util.FilterUtil.getPropertyByKey |
Returns a specific PropertyInfo object by a given name |
Returns internal conditions for a set of properties. Properties without a condition will be ignored. The resulting conditions are represented by the operation and by the values array. Note:
The operation information will be returned as they are contained in the internal conditions model. This has to be considered, in case custom operations are used.
Param | Type | DefaultValue | Description |
---|---|---|---|
oFilterBar | sap.ui.mdc.FilterBar |
instance of the filter bar |
|
aPropertyNames | array |
list of property names to be considered |
Creates the filter statements based on the externalize conditions.
Param | Type | DefaultValue | Description |
---|---|---|---|
vTypeProvider | sap.ui.mdc.Control sap.ui.mdc.util.TypeUtil |
the MDC control instance or TypeUtil |
|
mConditions | Object<string,any> |
map with externalized conditions |
|
aPropertiesMetadata | array |
array with all the property metadata |
|
aIgnoreProperties | array |
an array of property names which should be not considered for filtering |
Returns a specific PropertyInfo object by a given name
Param | Type | DefaultValue | Description |
---|---|---|---|
aPropertiesMetadata | array |
array with all the property metadata |
|
sKey | string |
name of the property |