Interface SearchFacade<ITEM,STATE extends SearchStateData>
- Type Parameters:
ITEM- Type of item to be searched.STATE- Type of search state depending containing the information about the query.
- All Known Subinterfaces:
B2BBudgetFacade,B2BCostCenterFacade,BudgetFacade,CostCenterFacade
- All Known Implementing Classes:
DefaultB2BBudgetFacade,DefaultB2BBudgetFacade,DefaultB2BCostCenterFacade,DefaultB2BCostCenterFacade
public interface SearchFacade<ITEM,STATE extends SearchStateData>
Defines the search funtionality for different types of data objects, using the concept of pagination and states.
-
Method Summary
Modifier and TypeMethodDescriptionautocomplete(STATE searchState) Get the auto complete suggestions for the provided input.search(STATE searchState, PageableData pageableData) Searches for the ITEM's based on the search state.
-
Method Details
-
search
Searches for the ITEM's based on the search state. The query object allows more complex queries using facet selection.- Parameters:
searchState- the search query objectpageableData- the page to return- Returns:
- the search results
-
autocomplete
Get the auto complete suggestions for the provided input.- Parameters:
searchState- the search query object- Returns:
- a list of suggested search terms
-