Package ubic.gemma.rest
Class SearchWebService
- java.lang.Object
-
- ubic.gemma.rest.SearchWebService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchWebService.SearchResultsResponseDataObjectstatic classSearchWebService.SearchResultValueObject<T extends ubic.gemma.model.IdentifiableValueObject<?>>Representation ofSearchResultfor the RESTful API.classSearchWebService.SearchSettingsValueObjectRepresents search settings for the RESTful API.
-
Field Summary
Fields Modifier and Type Field Description static intMAX_SEARCH_RESULTSMaximum number of search results.static StringRESULT_TYPES_SCHEMA_NAMEName used in the OpenAPI schema to identify result types as persearch(String, TaxonArg, PlatformArg, List, LimitArg, ExcludeArg)'s fourth argument.
-
Constructor Summary
Constructors Constructor Description SearchWebService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchWebService.SearchResultsResponseDataObjectsearch(String query, TaxonArg<?> taxonArg, PlatformArg<?> platformArg, List<String> resultTypes, LimitArg limit, ExcludeArg<ubic.gemma.core.search.SearchResult<?>> excludeArg)Search everything subject to taxon and platform constraints.
-
-
-
Field Detail
-
RESULT_TYPES_SCHEMA_NAME
public static final String RESULT_TYPES_SCHEMA_NAME
Name used in the OpenAPI schema to identify result types as persearch(String, TaxonArg, PlatformArg, List, LimitArg, ExcludeArg)'s fourth argument.- See Also:
- Constant Field Values
-
MAX_SEARCH_RESULTS
public static final int MAX_SEARCH_RESULTS
Maximum number of search results.- See Also:
- Constant Field Values
-
-
Method Detail
-
search
@GET @Produces("application/json") public SearchWebService.SearchResultsResponseDataObject search(@QueryParam("query") String query, @QueryParam("taxon") TaxonArg<?> taxonArg, @QueryParam("platform") PlatformArg<?> platformArg, @QueryParam("resultTypes") List<String> resultTypes, @QueryParam("limit") LimitArg limit, @QueryParam("exclude") ExcludeArg<ubic.gemma.core.search.SearchResult<?>> excludeArg)Search everything subject to taxon and platform constraints.Naming the schema in for the result types is necessary so that it can be resolved in
CustomModelResolver.
-
-