Class SearchUiServiceImpl
java.lang.Object
net.datenwerke.rs.search.client.search.SearchUiServiceImpl
- All Implemented Interfaces:
SearchUiService
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSearchUiServiceImpl(<any> searchAreaProvider, <any> searchModuleProvider, DwMainViewportUiService viewportService, <any> dtoInfoServiceProvider) -
Method Summary
Modifier and TypeMethodDescriptionSearchFilterDtocreateFilterFor(List<Class<? extends RsDto>> allowedTypes, boolean exactTypes) Creates a filter which only allows results of the given types, e.g.voidenhanceQuery(String query) void
-
Field Details
-
TAG_BASE_TYPE
- See Also:
-
TAG_EXACT_TYPE
- See Also:
-
-
Constructor Details
-
SearchUiServiceImpl
public SearchUiServiceImpl(<any> searchAreaProvider, <any> searchModuleProvider, DwMainViewportUiService viewportService, <any> dtoInfoServiceProvider)
-
-
Method Details
-
runSearch
- Specified by:
runSearchin interfaceSearchUiService
-
displaySearchModule
public void displaySearchModule()- Specified by:
displaySearchModulein interfaceSearchUiService
-
enhanceQuery
- Specified by:
enhanceQueryin interfaceSearchUiService
-
createFilterFor
public SearchFilterDto createFilterFor(List<Class<? extends RsDto>> allowedTypes, boolean exactTypes) Description copied from interface:SearchUiServiceCreates a filter which only allows results of the given types, e.g. report variants, or specific report types.- Specified by:
createFilterForin interfaceSearchUiService- Parameters:
allowedTypes- the allowed types to filterexactTypes- 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
-