Class PropertyFilterUrlQueryParametersBinderProvider

java.lang.Object
io.jmix.flowui.facet.urlqueryparameters.AbstractUrlQueryParametersBinderProvider
io.jmix.flowui.facet.urlqueryparameters.PropertyFilterUrlQueryParametersBinderProvider
All Implemented Interfaces:
UrlQueryParametersBinderProvider, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@Component("flowui_PropertyFilterUrlQueryParametersBinderProvider") public class PropertyFilterUrlQueryParametersBinderProvider extends AbstractUrlQueryParametersBinderProvider implements org.springframework.context.ApplicationContextAware
Provides a specific implementation of UrlQueryParametersBinderProvider that supports the binding of URL query parameters to PropertyFilter components. The provider is responsible for parsing XML configuration and initializing the binding between PropertyFilter components and URL query parameters.
  • Constructor Details

    • PropertyFilterUrlQueryParametersBinderProvider

      public PropertyFilterUrlQueryParametersBinderProvider(UrlParamSerializer urlParamSerializer, LoaderSupport loaderSupport)
  • Method Details

    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • supports

      public boolean supports(org.dom4j.Element element)
      Description copied from interface: UrlQueryParametersBinderProvider
      Checks whether the provided element can be loaded by provider.
      Specified by:
      supports in interface UrlQueryParametersBinderProvider
      Parameters:
      element - element to check
      Returns:
      true if element is supported
    • load

      public void load(UrlQueryParametersFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context)
      Description copied from interface: UrlQueryParametersBinderProvider
      Loads parameters from XML to create a binder that binds the parameters of the URL query and the state of the component.

      See example: PaginationUrlQueryParametersBinderProvider.

      Specified by:
      load in interface UrlQueryParametersBinderProvider
      Parameters:
      facet - the facet
      element - element to load
      context - loader context