namespace sap.ui.mdc.mixin

Control sample: sap.ui.mdc.mixin
Visiblity: restricted
Available since: N/A
Module: sap/ui/mdc/mixin/FilterIntegrationMixin
Application Component: CA-UI5-MDC

Nodes Overview

Node Description
sap.ui.mdc.mixin.AdaptationMixin

Enhances a given control prototype with consolidated handling for adaptation.

sap.ui.mdc.mixin.DelegateMixin

Enhances a given control prototype with consolidated asynchronous handling for delegate modules and their initialization.

sap.ui.mdc.mixin.FilterIntegrationMixin

Enhances a given control prototype with consolidated handling for external IFilter integration

The following methods are available:

  • setFilter - The setter for the filter association
  • _validateFilter - Validates the provided IFilter control instance and may return an error
  • checkAndRebind - Executes a the rebind method for the given control instance.

To use the FilterIntegrationMixin, the implementing Control requires the filter associaton.

Additionally, the following methods are necessary to be implemented:

  • rebind
  • isFilteringEnabled

Hooks that are called by the FilterIntegrationMixin if implemented in the control.

  • _onFilterProvided(oFilter: sap.ui.mdc.IFilter) - Notifies the control that a valid filter association has been provided. The provided filter instance is passed.
  • _onFilterRemoved(oFilter: sap.ui.mdc.IFilter) - Notifies the control that the filter association has been removed. The removed filter instance is passed.
  • _onFiltersChanged(oEvent) - Called when the search event of the filter is fired. The event object is passed.
  • _onFilterSearch(oEvent) - Called when the filtersChanged event of the filter is fired. The event object is passed.

sap.ui.mdc.mixin.PromiseMixin

Enhances a given control prototype with a management mechanism for lifecycle related promises.


Methods Overview

Method Description