Class SearchUiServiceImpl

java.lang.Object
net.datenwerke.rs.search.client.search.SearchUiServiceImpl
All Implemented Interfaces:
SearchUiService

public class SearchUiServiceImpl extends Object implements SearchUiService
  • Field Details

  • Constructor Details

    • SearchUiServiceImpl

      public SearchUiServiceImpl(<any> searchAreaProvider, <any> searchModuleProvider, DwMainViewportUiService viewportService, <any> dtoInfoServiceProvider)
  • Method Details

    • runSearch

      public void runSearch(String searchStr)
      Specified by:
      runSearch in interface SearchUiService
    • displaySearchModule

      public void displaySearchModule()
      Specified by:
      displaySearchModule in interface SearchUiService
    • enhanceQuery

      public String enhanceQuery(String query)
      Specified by:
      enhanceQuery in interface SearchUiService
    • createFilterFor

      public SearchFilterDto createFilterFor(List<Class<? extends RsDto>> allowedTypes, boolean exactTypes)
      Description copied from interface: SearchUiService
      Creates a filter which only allows results of the given types, e.g. report variants, or specific report types.
      Specified by:
      createFilterFor in interface SearchUiService
      Parameters:
      allowedTypes - the allowed types to filter
      exactTypes - if true, the exact types of "allowedTypes" are matched. If false, also their subclasses are matched.
      Returns:
      a filter containing default values and only allowing the given types