public interface NamedQueryService
| Modifier and Type | Method and Description |
|---|---|
<T> SearchResult<T> |
getSearchResult(NamedQuery namedQuery)
Performs a search based on the given namedQuery attribute
|
<T> java.util.List<T> |
search(NamedQuery namedQuery)
Performs a search based on the given namedQuery attribute
|
<T> java.util.List<T> search(NamedQuery namedQuery) throws InvalidNamedQueryException, SearchExecutionNamedQueryException
T - - The type to be returnednamedQuery - - object holding everything related to the current query.InvalidNamedQueryException - when the queryName does not match any existing named queriesSearchExecutionNamedQueryException - when an error happens while executing the query on the search engine<T> SearchResult<T> getSearchResult(NamedQuery namedQuery) throws InvalidNamedQueryException, SearchExecutionNamedQueryException
T - - The type to be returnednamedQuery - - object holding everything related to the current query.SearchResultInvalidNamedQueryException - when the queryName does not match any existing named queriesSearchExecutionNamedQueryException - when an error happens while executing the query on the search engineCopyright © 2018 SAP SE. All Rights Reserved.