Class TransportOfferingStatusPageController


@Controller @RequestMapping("/transport-offering-status") public class TransportOfferingStatusPageController extends AbstractPageController
Controller for Transport Offering Status page
  • Constructor Details

    • TransportOfferingStatusPageController

      public TransportOfferingStatusPageController()
  • Method Details

    • getTransportOfferingStatusPage

      @RequestMapping(method={GET,POST}) public String getTransportOfferingStatusPage(@Valid @ModelAttribute("transportOfferingStatusForm") @Valid TransportOfferingStatusSearchForm form, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model) throws de.hybris.platform.cms2.exceptions.CMSItemNotFoundException
      Method responsible for handling GET request on Transport Offering Status page
      Parameters:
      form -
      bindingResult -
      model -
      Returns:
      String
      Throws:
      de.hybris.platform.cms2.exceptions.CMSItemNotFoundException
    • getTransportOfferingStatusResults

      @RequestMapping(value="/refresh-transport-offering-status-results", method=POST) public String getTransportOfferingStatusResults(@Valid @ModelAttribute @Valid TransportOfferingStatusSearchForm transportOfferingStatusForm, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model) throws de.hybris.platform.cms2.exceptions.CMSItemNotFoundException, com.fasterxml.jackson.core.JsonProcessingException
      Method to refresh the transportOfferingStatus page after performing a form validation
      Parameters:
      transportOfferingStatusForm - as the input TransportOfferingStatusForm
      bindingResult - as the spring bindingResults
      model -
      Returns:
      the location of the flightStatusSearchResponse tag use to render the status result table if there are no errors, the landing page otherwise
      Throws:
      de.hybris.platform.cms2.exceptions.CMSItemNotFoundException
      com.fasterxml.jackson.core.JsonProcessingException
    • getFormErrorResponseData

      protected FormErrorResponseData getFormErrorResponseData(org.springframework.validation.BindingResult bindingResult, boolean hasErrorFlag)