Class SolrSearchFilteringGrid

  • All Implemented Interfaces:
    com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.BlurNotifier<com.vaadin.flow.component.grid.Grid<org.ikasan.solr.model.IkasanSolrDocument>>, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.Focusable<com.vaadin.flow.component.grid.Grid<org.ikasan.solr.model.IkasanSolrDocument>>, com.vaadin.flow.component.FocusNotifier<com.vaadin.flow.component.grid.Grid<org.ikasan.solr.model.IkasanSolrDocument>>, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasStyle, com.vaadin.flow.component.HasTheme, com.vaadin.flow.data.binder.HasDataProvider<org.ikasan.solr.model.IkasanSolrDocument>, com.vaadin.flow.data.binder.HasItems<org.ikasan.solr.model.IkasanSolrDocument>, com.vaadin.flow.data.event.SortEvent.SortNotifier<com.vaadin.flow.component.grid.Grid<org.ikasan.solr.model.IkasanSolrDocument>,​com.vaadin.flow.component.grid.GridSortOrder<org.ikasan.solr.model.IkasanSolrDocument>>, com.vaadin.flow.data.provider.HasDataGenerators<org.ikasan.solr.model.IkasanSolrDocument>, java.io.Serializable

    public class SolrSearchFilteringGrid
    extends com.vaadin.flow.component.grid.Grid<org.ikasan.solr.model.IkasanSolrDocument>
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.vaadin.flow.component.grid.Grid

        com.vaadin.flow.component.grid.Grid.AbstractGridExtension<T extends java.lang.Object>, com.vaadin.flow.component.grid.Grid.Column<T extends java.lang.Object>, com.vaadin.flow.component.grid.Grid.DataCommunicatorBuilder<T extends java.lang.Object,​U extends com.vaadin.flow.data.provider.ArrayUpdater>, com.vaadin.flow.component.grid.Grid.SelectionMode, com.vaadin.flow.component.grid.Grid.UpdateQueue
      • Nested classes/interfaces inherited from interface com.vaadin.flow.component.BlurNotifier

        com.vaadin.flow.component.BlurNotifier.BlurEvent<C extends com.vaadin.flow.component.Component>
      • Nested classes/interfaces inherited from interface com.vaadin.flow.component.FocusNotifier

        com.vaadin.flow.component.FocusNotifier.FocusEvent<C extends com.vaadin.flow.component.Component>
    • Constructor Summary

      Constructors 
      Constructor Description
      SolrSearchFilteringGrid​(org.ikasan.spec.solr.SolrGeneralService<org.ikasan.solr.model.IkasanSolrDocument,​org.ikasan.solr.model.IkasanSolrDocumentSearchResults> solrSearchService, SearchFilter searchFilter, com.vaadin.flow.component.html.Label resultsLabel)
      Constructors
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addGridFiltering​(com.vaadin.flow.component.grid.HeaderRow hr, java.util.function.Consumer<java.lang.String> setFilter, java.lang.String columnKey)
      Add filtering to a column.
      long getResultSize()  
      void init​(long startTime, long endTime, java.lang.String searchTerm, java.util.List<java.lang.String> types, boolean negateQuery)  
      void init​(long startTime, long endTime, java.lang.String searchTerm, java.util.List<java.lang.String> types, boolean negateQuery, SearchFilter searchFilter)  
      • Methods inherited from class com.vaadin.flow.component.grid.Grid

        addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addColumnReorderListener, addColumnResizeListener, addColumns, addComponentColumn, addContextMenu, addDataGenerator, addDragEndListener, addDragStartListener, addDropListener, addFirstHeaderRow, addItemClickListener, addItemDoubleClickListener, addSelectionListener, addSortListener, addThemeVariants, addValueProvider, appendFooterRow, appendHeaderRow, asMultiSelect, asSingleSelect, compareMaybeComparables, createColumn, createColumnId, createDefaultArrayUpdater, createEditor, createSortingComparator, deselect, deselectAll, getArrayUpdater, getBeanType, getClassNameGenerator, getColumnByKey, getColumnLayers, getColumns, getDataCommunicator, getDataProvider, getDefaultColumnFactory, getDefaultHeaderRow, getDragFilter, getDropFilter, getDropMode, getEditor, getFooterRows, getHeaderRows, getPageSize, getPropertySet, getSelectedItems, getSelectionModel, getSortOrder, getUniqueKeyProperty, getUniqueKeyProvider, initConnector, insertColumnLayer, isColumnReorderingAllowed, isDetailsVisible, isDetailsVisibleOnClick, isHeightByRows, isMultiSort, isRowsDraggable, isVerticalScrollingEnabled, onAttach, onDataProviderChange, onDetach, onEnabledStateChanged, prependFooterRow, prependHeaderRow, recalculateColumnWidths, removeAllColumns, removeColumn, removeColumnByKey, removeColumnLayer, removeColumns, removeDataGenerator, removeThemeVariants, scrollToEnd, scrollToIndex, scrollToStart, select, setClassNameGenerator, setColumnKey, setColumnOrder, setColumnOrder, setColumnReorderingAllowed, setColumns, setDataProvider, setDetailsVisible, setDetailsVisibleOnClick, setDragDataGenerator, setDragFilter, setDropFilter, setDropMode, setHeightByRows, setItemDetailsRenderer, setMultiSort, setPageSize, setRowsDraggable, setSelectionDragDetails, setSelectionMode, setSelectionModel, setSortableColumns, setUniqueKeyProperty, setUniqueKeyProvider, setVerticalScrollingEnabled, sort, updateSelectionModeOnClient
      • Methods inherited from class com.vaadin.flow.component.Component

        addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, set, setElement, setId, setVisible
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.vaadin.flow.component.AttachNotifier

        addAttachListener
      • Methods inherited from interface com.vaadin.flow.component.BlurNotifier

        addBlurListener
      • Methods inherited from interface com.vaadin.flow.component.DetachNotifier

        addDetachListener
      • Methods inherited from interface com.vaadin.flow.component.Focusable

        addFocusShortcut, blur, focus, getTabIndex, setTabIndex
      • Methods inherited from interface com.vaadin.flow.component.FocusNotifier

        addFocusListener
      • Methods inherited from interface com.vaadin.flow.data.binder.HasDataProvider

        setItems
      • Methods inherited from interface com.vaadin.flow.component.HasElement

        getElement
      • Methods inherited from interface com.vaadin.flow.component.HasEnabled

        isEnabled, setEnabled
      • Methods inherited from interface com.vaadin.flow.data.binder.HasItems

        setItems, setItems
      • Methods inherited from interface com.vaadin.flow.component.HasSize

        getHeight, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, setHeight, setHeightFull, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidthFull
      • Methods inherited from interface com.vaadin.flow.component.HasStyle

        addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
      • Methods inherited from interface com.vaadin.flow.component.HasTheme

        addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeName
    • Constructor Detail

      • SolrSearchFilteringGrid

        public SolrSearchFilteringGrid​(org.ikasan.spec.solr.SolrGeneralService<org.ikasan.solr.model.IkasanSolrDocument,​org.ikasan.solr.model.IkasanSolrDocumentSearchResults> solrSearchService,
                                       SearchFilter searchFilter,
                                       com.vaadin.flow.component.html.Label resultsLabel)
        Constructors
    • Method Detail

      • addGridFiltering

        public void addGridFiltering​(com.vaadin.flow.component.grid.HeaderRow hr,
                                     java.util.function.Consumer<java.lang.String> setFilter,
                                     java.lang.String columnKey)
        Add filtering to a column.
        Parameters:
        hr -
        setFilter -
        columnKey -
      • init

        public void init​(long startTime,
                         long endTime,
                         java.lang.String searchTerm,
                         java.util.List<java.lang.String> types,
                         boolean negateQuery)
      • init

        public void init​(long startTime,
                         long endTime,
                         java.lang.String searchTerm,
                         java.util.List<java.lang.String> types,
                         boolean negateQuery,
                         SearchFilter searchFilter)
      • getResultSize

        public long getResultSize()