Class ConfigErrorHandlerImpl
java.lang.Object
de.hybris.platform.sap.productconfig.frontend.util.impl.ConfigErrorHandlerImpl
- All Implemented Interfaces:
ConfigErrorHandler
Default implementation of the
ConfigErrorHandler-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.web.servlet.ModelAndViewforwardToErrorPageAndRedirect(org.springframework.ui.Model model, String redirectUrl) protected org.springframework.web.servlet.ModelAndViewforwardToErrorPageAndRedirectToHomePage(org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request) org.springframework.web.servlet.ModelAndViewhandleErrorForAjaxRequest(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model) Returns navigation end point for AJAX request in session failover case.handleErrorFromOrderHistory(String orderCode, int entryNumber, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) handleErrorFromQuotes(String quotationId, int entryNumber, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) handleErrorFromSavedCarts(String cartCode, int entryNumber, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel)
-
Constructor Details
-
ConfigErrorHandlerImpl
public ConfigErrorHandlerImpl()
-
-
Method Details
-
handleErrorForAjaxRequest
public org.springframework.web.servlet.ModelAndView handleErrorForAjaxRequest(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model) Description copied from interface:ConfigErrorHandlerReturns navigation end point for AJAX request in session failover case.- Specified by:
handleErrorForAjaxRequestin interfaceConfigErrorHandler- Returns:
- navigation end point for AJAX request in session failover case.
-
handleError
- Specified by:
handleErrorin interfaceConfigErrorHandler- Returns:
- Navigation end point for session failover case.
-
forwardToErrorPageAndRedirectToHomePage
protected org.springframework.web.servlet.ModelAndView forwardToErrorPageAndRedirectToHomePage(org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request) -
forwardToErrorPageAndRedirect
protected org.springframework.web.servlet.ModelAndView forwardToErrorPageAndRedirect(org.springframework.ui.Model model, String redirectUrl) -
handleErrorFromOrderHistory
public String handleErrorFromOrderHistory(String orderCode, int entryNumber, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) - Specified by:
handleErrorFromOrderHistoryin interfaceConfigErrorHandler- Returns:
- navigation end point for error during configuration from order history
-
handleErrorFromQuotes
public String handleErrorFromQuotes(String quotationId, int entryNumber, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) - Specified by:
handleErrorFromQuotesin interfaceConfigErrorHandler- Returns:
- navigation end point for error during configuration from quotes
-
handleErrorFromSavedCarts
public String handleErrorFromSavedCarts(String cartCode, int entryNumber, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) - Specified by:
handleErrorFromSavedCartsin interfaceConfigErrorHandler- Returns:
- navigation end point for error during configuration from saved carts
-
handleConfigurationAccessError
- Specified by:
handleConfigurationAccessErrorin interfaceConfigErrorHandler- Returns:
- Navigation end point for configuration access error case.
-