Class AccommodationSuggestionsController

java.lang.Object
de.hybris.platform.coretravelcommonsocc.controllers.TravelBaseController
de.hybris.platform.coreaccommodationocc.controllers.AccommodationSuggestionsController

@Controller @RequestMapping("/{baseSiteId}") public class AccommodationSuggestionsController extends TravelBaseController
Web Service Accommodation Suggestion Controller for accommodation search.
  • Constructor Details

    • AccommodationSuggestionsController

      public AccommodationSuggestionsController()
  • Method Details

    • getAccommodationSuggestions

      @Secured({"ROLE_CLIENT","ROLE_GUEST","ROLE_CUSTOMERGROUP","ROLE_CUSTOMERMANAGERGROUP","ROLE_TRUSTED_CLIENT"}) @RequestMapping(value="/accommodationSuggestions", method=GET) @ResponseBody public org.springframework.http.ResponseEntity<AccommodationSuggestionList> getAccommodationSuggestions(@RequestHeader(name="sap.cx-sales-application") String salesApplication, @RequestParam String searchText)
    • populateLocationSuggestionSearchedByGoogleAPI

      protected final List<AccommodationSuggestion> populateLocationSuggestionSearchedByGoogleAPI(List<GlobalSuggestionData> suggestionResults)
      Populate location suggestion by google list.
      Parameters:
      suggestionResults - the suggestion results
      Returns:
      the list