Package org.gbif.api.service.common
Interface SearchService<T,P extends SearchParameter,R extends SearchRequest<P>>
- 
- Type Parameters:
 T- the type of returned resultsP- the supported search parameter enumerationR- the supported search request type. For faceted searches this needs to extendFacetedSearchRequest
- All Known Subinterfaces:
 DatasetSearchService,OccurrenceSearchService
public interface SearchService<T,P extends SearchParameter,R extends SearchRequest<P>>
Parameterized generic search interface that supports pagination. The genericSearchResponseandSearchRequestare used to provide the basic search parameters in a request and allow facets for results. This marker interface should be extended by other interfaces that support full text, faceted and paginated search. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchResponse<T,P>search(R searchRequest)Issues a SearchRequest and retrieves a response resulting of the search operation. 
 - 
 
- 
- 
Method Detail
- 
search
SearchResponse<T,P> search(R searchRequest)
Issues a SearchRequest and retrieves a response resulting of the search operation. The actual result information will contain a list elements of type T.- Parameters:
 searchRequest- the searchRequest that contains the search parameters- Returns:
 - the SearchResponse resulting of the search operation
 
 
 - 
 
 -