Interface QueryParametersFacet.Binder

All Known Implementing Classes:
AbstractQueryParametersBinder, GenericFilterQueryParametersBinder, PaginationQueryParametersBinder, PropertyFilterQueryParametersBinder
Enclosing interface:
QueryParametersFacet

public static interface QueryParametersFacet.Binder
An interface to be implemented by an object that binds UI component with query parameters.
  • Method Details

    • getId

      @Nullable String getId()
      Returns:
      the query parameters binder id
    • setId

      void setId(@Nullable String id)
      Sets the query parameters binder id.
      Parameters:
      id - id to set
    • updateState

      void updateState(com.vaadin.flow.router.QueryParameters queryParameters)
      Informs query parameters binder that view query parameters has been changed.
      Parameters:
      queryParameters - a view query parameters
    • addQueryParametersChangeListener

      com.vaadin.flow.shared.Registration addQueryParametersChangeListener(Consumer<QueryParametersFacet.QueryParametersChangeEvent> listener)
      Parameters:
      listener - the listener to add, not null
      Returns:
      a registration object that can be used for removing the listener.