Class TransportLocationsController

java.lang.Object
de.hybris.platform.coretravelcommonsocc.controllers.TravelBaseController
de.hybris.platform.coretransportocc.controllers.TransportLocationsController

@Controller @RequestMapping("/{baseSiteId}") public class TransportLocationsController extends TravelBaseController
  • Constructor Details

    • TransportLocationsController

      public TransportLocationsController()
  • Method Details

    • getOriginSuggestions

      @Secured({"ROLE_CLIENT","ROLE_GUEST","ROLE_CUSTOMERGROUP","ROLE_CUSTOMERMANAGERGROUP","ROLE_TRUSTED_CLIENT"}) @RequestMapping(value="/originSuggestions", method=GET) @ResponseBody public org.springframework.http.ResponseEntity<TransportLocationSuggestionResponse> getOriginSuggestions(@RequestParam("searchText") String searchText, @RequestParam(value="destination",required=false,defaultValue="") String destination)
    • getDestinationSuggestions

      @Secured({"ROLE_CLIENT","ROLE_GUEST","ROLE_CUSTOMERGROUP","ROLE_CUSTOMERMANAGERGROUP","ROLE_TRUSTED_CLIENT"}) @RequestMapping(value="/destinationSuggestions", method=GET) @ResponseBody public org.springframework.http.ResponseEntity<TransportLocationSuggestionResponse> getDestinationSuggestions(@RequestParam("searchText") String searchText, @RequestParam(value="origin",required=false,defaultValue="") String origin)