@RestController @RequestMapping(value="/api/discover") public class DiscoveryRestController extends Object implements org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
DiscoveryRestController() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
FacetsResource |
getFacets(String query,
String dsoType,
String dsoScope,
String configuration,
List<SearchFilter> searchFilters,
org.springframework.data.domain.Pageable page) |
FacetConfigurationResource |
getFacetsConfiguration(String dsoScope,
String configuration,
org.springframework.data.domain.Pageable pageable) |
org.springframework.hateoas.ResourceSupport |
getFacetValues(String facetName,
String prefix,
String query,
String dsoType,
String dsoScope,
String configuration,
List<SearchFilter> searchFilters,
org.springframework.data.domain.Pageable page) |
SearchConfigurationResource |
getSearchConfiguration(String dsoScope,
String configuration) |
SearchResultsResource |
getSearchObjects(String query,
String dsoType,
String dsoScope,
String configuration,
List<SearchFilter> searchFilters,
org.springframework.data.domain.Pageable page) |
SearchSupportResource |
getSearchSupport(String dsoScope,
String configuration) |
@Autowired protected Utils utils
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanException@RequestMapping(method=GET) public SearchSupportResource getSearchSupport(@RequestParam(name="scope",required=false) String dsoScope, @RequestParam(name="configuration",required=false) String configuration) throws Exception
Exception@RequestMapping(method=GET,
value="/search")
public SearchConfigurationResource getSearchConfiguration(@RequestParam(name="scope",required=false)
String dsoScope,
@RequestParam(name="configuration",required=false)
String configuration)
throws Exception
Exception@RequestMapping(method=GET,
value="/search/facets")
public FacetsResource getFacets(@RequestParam(name="query",required=false)
String query,
@RequestParam(name="dsoType",required=false)
String dsoType,
@RequestParam(name="scope",required=false)
String dsoScope,
@RequestParam(name="configuration",required=false)
String configuration,
List<SearchFilter> searchFilters,
org.springframework.data.domain.Pageable page)
throws Exception
Exception@RequestMapping(method=GET,
value="/search/objects")
public SearchResultsResource getSearchObjects(@RequestParam(name="query",required=false)
String query,
@RequestParam(name="dsoType",required=false)
String dsoType,
@RequestParam(name="scope",required=false)
String dsoScope,
@RequestParam(name="configuration",required=false)
String configuration,
List<SearchFilter> searchFilters,
org.springframework.data.domain.Pageable page)
throws Exception
Exception@RequestMapping(method=GET,
value="/facets")
public FacetConfigurationResource getFacetsConfiguration(@RequestParam(name="scope",required=false)
String dsoScope,
@RequestParam(name="configuration",required=false)
String configuration,
org.springframework.data.domain.Pageable pageable)
throws Exception
Exception@RequestMapping(method=GET,
value="/facets/{name}")
public org.springframework.hateoas.ResourceSupport getFacetValues(@PathVariable(value="name")
String facetName,
@RequestParam(name="prefix",required=false)
String prefix,
@RequestParam(name="query",required=false)
String query,
@RequestParam(name="dsoType",required=false)
String dsoType,
@RequestParam(name="scope",required=false)
String dsoScope,
@RequestParam(name="configuration",required=false)
String configuration,
List<SearchFilter> searchFilters,
org.springframework.data.domain.Pageable page)
throws Exception
ExceptionCopyright © 2019 DuraSpace. All rights reserved.