@RequestMapping(value = BASE_MAPPING, method = RequestMethod.GET)
public ResourceSupport listSearches(RootResourceInformation resourceInformation) {
verifySearchesExposed(resourceInformation);
Links queryMethodLinks = getSearchLinks(resourceInformation.getDomainType());
if (queryMethodLinks.isEmpty()) {
throw new ResourceNotFoundException();
}
ResourceSupport result = new ResourceSupport();
result.add(queryMethodLinks);