Class OrderEntryOverviewController


  • @Controller
    @RequestMapping
    public class OrderEntryOverviewController
    extends AbstractConfigurationOverviewController
    Controller for OrderEntry entities (e.g. quote, order history) Configuration Overview integration
    • Constructor Detail

      • OrderEntryOverviewController

        public OrderEntryOverviewController()
    • Method Detail

      • getQuotationOverview

        @RequestMapping(value="/my-account/my-quotes/{quoteNumber}/{entryNumber}/configurationDisplay/CPQCONFIGURATOR",
                        method=GET)
        public java.lang.String getQuotationOverview​(@PathVariable("quoteNumber")
                                                     java.lang.String quotationId,
                                                     @PathVariable("entryNumber")
                                                     int entryNumber,
                                                     org.springframework.ui.Model model,
                                                     org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel,
                                                     javax.servlet.http.HttpServletRequest request)
                                              throws BusinessException
        This method handles the case, when the configuration overview is displayed in the context of a quotation.
        Parameters:
        quotationId -
        entryNumber -
        model -
        redirectModel -
        request -
        Returns:
        overview page view name
        Throws:
        BusinessException
      • getOrderOverview

        @RequestMapping(value="/my-account/order/{orderCode}/{entryNumber}/configurationDisplay/CPQCONFIGURATOR",
                        method=GET)
        public java.lang.String getOrderOverview​(@PathVariable("orderCode")
                                                 java.lang.String orderCode,
                                                 @PathVariable("entryNumber")
                                                 int entryNumber,
                                                 org.springframework.ui.Model model,
                                                 org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel,
                                                 javax.servlet.http.HttpServletRequest request)
                                          throws BusinessException
        This method handles the case, when the overview page is displayed in context of an order.
        Parameters:
        orderCode -
        entryNumber -
        model -
        redirectModel -
        request -
        Returns:
        overview page view name
        Throws:
        BusinessException
      • getSavedCartOverview

        @RequestMapping(value="/my-account/saved-carts/{cartCode}/{entryNumber}/configurationDisplay/CPQCONFIGURATOR",
                        method=GET)
        public java.lang.String getSavedCartOverview​(@PathVariable("cartCode")
                                                     java.lang.String cartCode,
                                                     @PathVariable("entryNumber")
                                                     int entryNumber,
                                                     org.springframework.ui.Model model,
                                                     org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel,
                                                     javax.servlet.http.HttpServletRequest request)
                                              throws BusinessException
        This method handles the case, when the overview page is displayed in context of a saved cart.
        Parameters:
        cartCode -
        entryNumber -
        model -
        redirectModel -
        request -
        Returns:
        overviewpage view name
        Throws:
        BusinessException
      • setConfigurationSavedCartIntegrationFacade

        public void setConfigurationSavedCartIntegrationFacade​(ConfigurationSavedCartIntegrationFacade configurationSavedCartIntegrationFacade)
        Parameters:
        configurationSavedCartIntegrationFacade - the configurationSavedCartIntegrationFacade to set
      • initializeOverviewUiData

        protected OverviewUiData initializeOverviewUiData​(java.lang.String configId,
                                                          java.lang.String code,
                                                          int entryNumber,
                                                          java.lang.String sourceDocumentId,
                                                          OverviewMode overviewMode)
      • setOverviewMode

        protected void setOverviewMode​(java.lang.String configId,
                                       OverviewMode overviewMode,
                                       OverviewUiData overviewUiData)
      • setConfigurationQuoteIntegrationFacade

        public void setConfigurationQuoteIntegrationFacade​(ConfigurationQuoteIntegrationFacade configurationQuoteIntegrationFacade)
        Parameters:
        configurationQuoteIntegrationFacade - cpq facaded for integration with hybris quotation
      • setConfigurationOrderIntegrationFacade

        public void setConfigurationOrderIntegrationFacade​(ConfigurationOrderIntegrationFacade configurationOrderIntegrationFacade)
        Parameters:
        configurationOrderIntegrationFacade - cpq facaded for integration with hybris order