Interface SearchService
- All Known Implementing Classes:
SearchServiceImpl
Deprecated.
The search service is used from the client through DWR.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classDeprecated.static classDeprecated. -
Method Summary
Modifier and TypeMethodDescriptioncreateSearchQuery(SearchService.SearchParameters searchParameters, FulltextSearchBuilder.SearchScope searchScope) Deprecated.generates a query from parameters that can be used to start a searchgenerateSearchQueryString(SearchService.SearchParameters searchParameters) Deprecated.Deprecated.Deprecated.@Nullable RowloadRow(String key, String entityModel, boolean skipDefaultDisplay, String formName, List<String> visibleColumns) Deprecated.relationSearch(SearchService.SearchParameters relationSearchParameters) Deprecated.This is used for the relations grid where all objects in relation to another record are shown.relationSearchForKeys(SearchService.SearchParameters relationSearchParameters) Deprecated.Returns the primary keys of all that match.search(SearchService.SearchParameters searchParameters) Deprecated.Finds records for showing them in a data grid.searchForKeys(SearchService.SearchParameters searchParameters) Deprecated.Returns the primary keys of all that match.searchForRemoteField(SearchService.SearchParameters searchParameters) Deprecated.
-
Method Details
-
search
DetailedGridResultData search(SearchService.SearchParameters searchParameters) throws PersistException, RpcExecutionException Deprecated.Finds records for showing them in a data grid. This is used for search forms, search filters, and combinations of both. -
searchForRemoteField
DetailedGridResultData searchForRemoteField(SearchService.SearchParameters searchParameters) throws PersistException, RpcExecutionException Deprecated. -
getDefaultSearchFilters
Deprecated.- Throws:
PersistException
-
searchForKeys
PrimaryKey[] searchForKeys(SearchService.SearchParameters searchParameters) throws PersistException, RpcExecutionException Deprecated.Returns the primary keys of all that match. No order, no offset/limit. -
relationSearch
DetailedGridResultData relationSearch(SearchService.SearchParameters relationSearchParameters) throws PersistException, RpcExecutionException Deprecated.This is used for the relations grid where all objects in relation to another record are shown.Example: all addresses for a person.
-
relationSearchForKeys
PrimaryKey[] relationSearchForKeys(SearchService.SearchParameters relationSearchParameters) throws PersistException, RpcExecutionException Deprecated.Returns the primary keys of all that match. No order, no offset/limit. -
generateSearchQueryString
String generateSearchQueryString(SearchService.SearchParameters searchParameters) throws PersistException, RpcExecutionException Deprecated. -
loadRow
Row loadRow(Entity entity, boolean skipDefaultDisplay, Iterable<Column> visibleColumns) throws RpcExecutionException, PersistException Deprecated. -
loadRow
@Nullable @Nullable Row loadRow(String key, String entityModel, boolean skipDefaultDisplay, String formName, List<String> visibleColumns) throws RpcExecutionException, PersistException Deprecated. -
createSearchQuery
Query createSearchQuery(SearchService.SearchParameters searchParameters, FulltextSearchBuilder.SearchScope searchScope) Deprecated.generates a query from parameters that can be used to start a search- Parameters:
searchParameters- the parameters to generate the query fromsearchScope- the scope to generate the query for- Returns:
- the finished query
-