Package com.axelor.search.impl
Class GlobalSearchServiceImpl
java.lang.Object
com.axelor.search.impl.GlobalSearchServiceImpl
- All Implemented Interfaces:
GlobalSearchService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionentities()Get the list of entities allowed to search.filters()Get list of pre-defined filters.search(GlobalSearchParams params) Perform global search with the given params.usage()Get the usage help for the search (can use html).
-
Constructor Details
-
GlobalSearchServiceImpl
public GlobalSearchServiceImpl()
-
-
Method Details
-
usage
Description copied from interface:GlobalSearchServiceGet the usage help for the search (can use html).The usage help will be shown to the users to guide them how to use the search.
- Specified by:
usagein interfaceGlobalSearchService- Returns:
- the help text
-
filters
Description copied from interface:GlobalSearchServiceGet list of pre-defined filters.If filters are not supported, return
null.- Specified by:
filtersin interfaceGlobalSearchService- Returns:
- list of filters, or null
-
entities
Description copied from interface:GlobalSearchServiceGet the list of entities allowed to search.- Specified by:
entitiesin interfaceGlobalSearchService- Returns:
- list of entity names
-
search
Description copied from interface:GlobalSearchServicePerform global search with the given params.- Specified by:
searchin interfaceGlobalSearchService- Parameters:
params- the search parameters- Returns:
- search result
-