Class SearchResultsView

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
io.jmix.flowui.view.View<ViewLayout>
io.jmix.flowui.view.StandardView
io.jmix.searchflowui.view.result.SearchResultsView
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasStyle, com.vaadin.flow.router.AfterNavigationObserver, com.vaadin.flow.router.BeforeEnterObserver, com.vaadin.flow.router.BeforeLeaveObserver, com.vaadin.flow.router.HasDynamicTitle, com.vaadin.flow.router.internal.AfterNavigationHandler, com.vaadin.flow.router.internal.BeforeEnterHandler, com.vaadin.flow.router.internal.BeforeLeaveHandler, Serializable

@Route(value="search/results", layout=DefaultMainViewParent.class) @ViewController("search_SearchResultsView") @ViewDescriptor("search-results-view.xml") @DialogMode(width="50em", height="42.5em", resizable=true) public class SearchResultsView extends StandardView
See Also:
  • Field Details

  • Constructor Details

    • SearchResultsView

      public SearchResultsView()
  • Method Details

    • beforeEnter

      public void beforeEnter(com.vaadin.flow.router.BeforeEnterEvent event)
      Specified by:
      beforeEnter in interface com.vaadin.flow.router.internal.BeforeEnterHandler
      Overrides:
      beforeEnter in class View<ViewLayout>
    • createSearchContext

      protected SearchContext createSearchContext(SearchFieldContext searchFieldContext)
    • createSearchContext

      protected SearchContext createSearchContext(String value, List<String> entities, int size)
    • initSearchFieldContext

      protected void initSearchFieldContext()
    • parseQueryParameters

      protected void parseQueryParameters(Map<String,List<String>> parameters)
    • initView

      public void initView(SearchFieldContext searchFieldContext)
    • handleSearchResult

      protected void handleSearchResult(SearchResult searchResult)
    • handleNoSearchText

      protected void handleNoSearchText()
    • renderResult

      protected void renderResult(SearchResult searchResult)
    • createNoSearchTextSpan

      protected com.vaadin.flow.component.html.Span createNoSearchTextSpan()
    • createHitDiv

      protected com.vaadin.flow.component.html.Div createHitDiv(String caption)
    • createSearchField

      protected SearchField createSearchField(SearchResult searchResult)
    • createInstanceButton

      protected JmixButton createInstanceButton(String entityName, SearchResultEntry entry)
    • openEntityView

      protected void openEntityView(SearchResultEntry entry, String entityName)
    • formatFieldCaption

      protected String formatFieldCaption(String entityName, String fieldName)
    • reloadEntity

      protected Object reloadEntity(MetaClass metaClass, Object entityId)