Class GenericFilterUrlQueryParametersBinder

java.lang.Object
io.jmix.flowui.facet.urlqueryparameters.AbstractUrlQueryParametersBinder
io.jmix.flowui.facet.urlqueryparameters.GenericFilterUrlQueryParametersBinder
All Implemented Interfaces:
UrlQueryParametersFacet.Binder

public class GenericFilterUrlQueryParametersBinder extends AbstractUrlQueryParametersBinder
  • Field Details

  • Constructor Details

    • GenericFilterUrlQueryParametersBinder

      public GenericFilterUrlQueryParametersBinder(GenericFilter filter, UrlParamSerializer urlParamSerializer, org.springframework.context.ApplicationContext applicationContext)
  • Method Details

    • autowireDependencies

      protected void autowireDependencies()
    • initComponent

      protected void initComponent(GenericFilter filter)
    • bindDataLoaderListener

      protected void bindDataLoaderListener(GenericFilter filter)
    • onPostLoad

      protected void onPostLoad(EventObject event)
    • onConfigurationChanged

      protected void onConfigurationChanged(GenericFilter.ConfigurationChangeEvent event)
    • onFilterComponentsChanged

      protected void onFilterComponentsChanged(LogicalFilterComponent.FilterComponentsChangeEvent<?> event)
    • updateQueryParameters

      protected void updateQueryParameters()
    • serializeQueryParameters

      public com.google.common.collect.ImmutableMap<String,List<String>> serializeQueryParameters()
    • serializeConfigurationId

      protected String serializeConfigurationId(Configuration configuration)
    • serializePropertyCondition

      protected String serializePropertyCondition(PropertyCondition condition)
    • updateState

      public void updateState(com.vaadin.flow.router.QueryParameters queryParameters)
      Description copied from interface: UrlQueryParametersFacet.Binder
      Informs query parameters binder that view query parameters has been changed.
      Parameters:
      queryParameters - a view query parameters
    • deserializeConfigurationId

      protected String deserializeConfigurationId(String configurationParam)
    • deserializeConditions

      protected List<FilterComponent> deserializeConditions(List<String> conditionParams, DataLoader dataLoader)
    • isPermitted

      protected boolean isPermitted(DataLoader dataLoader, FilterComponent filterComponent)
    • updateConfigurationConditions

      protected void updateConfigurationConditions(Configuration currentConfiguration, List<String> conditionParams)
    • updateFilterComponent

      @Nullable protected FilterComponent updateFilterComponent(FilterComponent configurationComponent, FilterComponent filterComponent)
    • updatePropertyCondition

      @Nullable protected FilterComponent updatePropertyCondition(PropertyFilter configurationComponent, PropertyFilter filterComponent)
    • parseCondition

      protected FilterComponent parseCondition(String conditionString, DataLoader dataLoader)
    • parsePropertyCondition

      protected PropertyFilter<?> parsePropertyCondition(String conditionString, DataLoader dataLoader)
    • generatePropertyFilterValueComponent

      protected com.vaadin.flow.component.HasValueAndElement<?,?> generatePropertyFilterValueComponent(PropertyFilter<?> propertyFilter)
    • bindFilterComponentsChangeListener

      protected void bindFilterComponentsChangeListener(GenericFilter filter)
    • unbindFilterComponentsChange

      protected void unbindFilterComponentsChange()
    • getConfigurationParam

      public String getConfigurationParam()
    • getConditionParam

      public String getConditionParam()
    • setConfigurationParam

      public void setConfigurationParam(@Nullable String conditionParam)
    • setConditionParam

      public void setConditionParam(@Nullable String conditionParam)
    • isPropertyMatched

      protected boolean isPropertyMatched(PropertyFilter<?> propertyFilter, PropertyFilter<?> anotherPropertyFilter)
    • isOperationMatched

      protected boolean isOperationMatched(PropertyFilter<?> propertyFilter, PropertyFilter<?> anotherPropertyFilter)
    • getMetadataTools

      protected MetadataTools getMetadataTools()
    • getSingleFilterSupport

      protected SingleFilterSupport getSingleFilterSupport()
    • getComponent

      @Nullable public com.vaadin.flow.component.Component getComponent()
      Specified by:
      getComponent in class AbstractUrlQueryParametersBinder