Class ConfigErrorHandlerImpl
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.frontend.util.impl.ConfigErrorHandlerImpl
-
- All Implemented Interfaces:
ConfigErrorHandler
public class ConfigErrorHandlerImpl extends java.lang.Object implements ConfigErrorHandler
Default implementation of theConfigErrorHandler
-
-
Constructor Summary
Constructors Constructor Description ConfigErrorHandlerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.web.servlet.ModelAndViewforwardToErrorPageAndRedirect(org.springframework.ui.Model model, java.lang.String redirectUrl)protected org.springframework.web.servlet.ModelAndViewforwardToErrorPageAndRedirectToHomePage(org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request)java.lang.StringhandleConfigurationAccessError()java.lang.StringhandleError()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.java.lang.StringhandleErrorFromOrderHistory(java.lang.String orderCode, int entryNumber, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel)java.lang.StringhandleErrorFromQuotes(java.lang.String quotationId, int entryNumber, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel)java.lang.StringhandleErrorFromSavedCarts(java.lang.String cartCode, int entryNumber, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel)
-
-
-
Method Detail
-
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
public java.lang.String 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, java.lang.String redirectUrl)
-
handleErrorFromOrderHistory
public java.lang.String handleErrorFromOrderHistory(java.lang.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 java.lang.String handleErrorFromQuotes(java.lang.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 java.lang.String handleErrorFromSavedCarts(java.lang.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
public java.lang.String handleConfigurationAccessError()
- Specified by:
handleConfigurationAccessErrorin interfaceConfigErrorHandler- Returns:
- Navigation end point for configuration access error case.
-
-