Class OrderEntryOverviewController
- java.lang.Object
-
- de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
-
- de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractPageController
-
- de.hybris.platform.sap.productconfig.frontend.controllers.AbstractProductConfigController
-
- de.hybris.platform.sap.productconfig.frontend.controllers.AbstractConfigurationOverviewController
-
- de.hybris.platform.sap.productconfig.frontend.controllers.OrderEntryOverviewController
-
@Controller @RequestMapping public class OrderEntryOverviewController extends AbstractConfigurationOverviewController
Controller for OrderEntry entities (e.g. quote, order history) Configuration Overview integration
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
AbstractController.HttpNotFoundException
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.sap.productconfig.frontend.controllers.AbstractConfigurationOverviewController
ALLOWED_FIELDS_OVERVIEWUIDATA, CMS_OV_PAGE_ID, CMS_OV_PAGE_TYPE
-
Fields inherited from class de.hybris.platform.sap.productconfig.frontend.controllers.AbstractProductConfigController
CMS_PAGE_TYPE, CMS_PC_PAGE_ID, CMS_PC_PAGE_TYPE
-
Fields inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractPageController
CMS_PAGE_MODEL, CMS_PAGE_TITLE, PAGE_ROOT, REDIRECT_TO_LOGIN_FOR_CHECKOUT, REDIRECT_TO_MULTISTEP_CHECKOUT, REGISTRATION_CONSENT_ID, UTF_8
-
Fields inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
FORWARD_PREFIX, REDIRECT_PREFIX, ROOT
-
-
Constructor Summary
Constructors Constructor Description OrderEntryOverviewController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConfigurationOverviewDataenrichOverviewData(java.lang.String code, ConfigurationOverviewData configOverviewData)protected voidgetAbstractOrderOverview(java.lang.String code, int entryNumber, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request, ConfigurationOverviewData configOverviewData, OverviewMode overviewMode)protected ConfigurationOrderIntegrationFacadegetConfigurationOrderIntegrationFacade()protected ConfigurationQuoteIntegrationFacadegetConfigurationQuoteIntegrationFacade()ConfigurationSavedCartIntegrationFacadegetConfigurationSavedCartIntegrationFacade()java.lang.StringgetOrderOverview(java.lang.String orderCode, int entryNumber, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel, javax.servlet.http.HttpServletRequest request)This method handles the case, when the overview page is displayed in context of an order.java.lang.StringgetQuotationOverview(java.lang.String quotationId, int entryNumber, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel, javax.servlet.http.HttpServletRequest request)This method handles the case, when the configuration overview is displayed in the context of a quotation.java.lang.StringgetSavedCartOverview(java.lang.String cartCode, int entryNumber, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel, javax.servlet.http.HttpServletRequest request)This method handles the case, when the overview page is displayed in context of a saved cart.protected OverviewUiDatainitializeOverviewUiData(java.lang.String configId, java.lang.String code, int entryNumber, java.lang.String sourceDocumentId, OverviewMode overviewMode)protected UiStatusinitializeUIStatusForAbstractOrder(ConfigurationOverviewData overviewData)protected voidrecordUiAccessOverview(ConfigurationOverviewData configOverviewData)voidsetConfigurationOrderIntegrationFacade(ConfigurationOrderIntegrationFacade configurationOrderIntegrationFacade)voidsetConfigurationQuoteIntegrationFacade(ConfigurationQuoteIntegrationFacade configurationQuoteIntegrationFacade)voidsetConfigurationSavedCartIntegrationFacade(ConfigurationSavedCartIntegrationFacade configurationSavedCartIntegrationFacade)protected voidsetOverviewMode(java.lang.String configId, OverviewMode overviewMode, OverviewUiData overviewUiData)-
Methods inherited from class de.hybris.platform.sap.productconfig.frontend.controllers.AbstractConfigurationOverviewController
addBreadCrumb, computeUiGroupFilterList, generateCsticFilterDataList, getCartItemPk, getConfigurationErrorHandler, getConfigurationOverviewFacade, getErrorCountForUi, getOrderFacade, getOrderItemPk, getPageId, getPageType, getQuantity, getQuoteFacade, getQuoteItemPk, getSaveCartFacade, getUiStatusForOverview, initBinderConfigOverviewUiData, initializeFilterListsInUiStatus, initializeGroupFilterDataList, needConfigurationDetails, prepareOverviewUiData, prepareOverviewUiData, prepareUiModel, prepareUiModel, setConfigurationErrorHandler, setConfigurationOverviewFacade, setOrderFacade, setQuoteFacade, setSaveCartFacade, setUiStatusForOverviewInSession, updateUiStatusForOverviewInSession
-
Methods inherited from class de.hybris.platform.sap.productconfig.frontend.controllers.AbstractProductConfigController
afterReloadConfiguration, cleanUpSessionAttribute, getAbstractOrderEntryLinkStrategy, getBindingResultForConfigAndSaveUiStatus, getBindingResultForConfiguration, getBreadcrumbBuilder, getCartEntryNumber, getCartEntryNumber, getCartFacade, getCartItemByConfigId, getCartItemByProductCode, getConfigCartFacade, getConfigFacade, getGalleryImages, getOrderEntry, getOrderEntry, getProductCodeForCartItem, getProductConfigurationConflictChecker, getProductConfigurationValidator, getProductDataForProductCode, getProductFacade, getProductLinkStrategy, getProductService, getSessionAccessFacade, getUiRecorder, getUiStateHandler, getUiStatusForConfig, getUiStatusForConfigId, getUiStatusSync, handleRequestContext, initBinderConfigData, initializeUiStatus, isConfigLinkedToCart, isConfigRemoved, loadNewConfiguration, logConfigurationCheckDeviation, logLoadConfig, logModelmetaData, logRequestMetaData, populateCMSAttributes, populateProductData, populateProductData, populateProductDetailForDisplay, reloadConfigurationById, reloadConfigurationByKBKey, removeNullCstics, removeNullCsticsFromGroup, setAbstractOrderEntryLinkStrategy, setBreadcrumbBuilder, setCartEntryLinks, setCartFacade, setConfigCartFacade, setConfigFacade, setProductConfigurationConflictChecker, setProductConfigurationValidator, setProductFacade, setProductLinkStrategy, setProductService, setSessionAccessFacade, setUiRecorder, setUiStateHandler, setUiStatusForConfig, setUiStatusSync, updatePageTitle
-
Methods inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractPageController
addRegistrationConsentDataToModel, checkRequestUrl, createMetaElement, decodeWithScheme, getBaseSiteService, getCheckoutRedirectUrl, getCmsPageService, getCmsPreviewService, getCmsSiteService, getConfigurationService, getConsentFacade, getContentPageForLabelOrId, getCurrencies, getCurrentCurrency, getCurrentLanguage, getCustomerFacade, getHostConfigService, getI18nService, getLanguages, getMessageSource, getPageTitleResolver, getRequestContextData, getSessionService, getSiteConfigService, getSiteName, getSiteUid, getStoreSessionFacade, getUser, getUserFacade, getViewForPage, getViewForPage, prepareNotFoundPage, setUpMetaData, setUpMetaDataForContentPage, storeCmsPageInModel, storeContentPageTitleInModel, storeContinueUrl, urlEncode
-
Methods inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
addRequestToModel, getBean
-
-
-
-
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 BusinessExceptionThis 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
-
getAbstractOrderOverview
protected void getAbstractOrderOverview(java.lang.String code, int entryNumber, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request, ConfigurationOverviewData configOverviewData, OverviewMode overviewMode) throws BusinessException- 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 BusinessExceptionThis 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 BusinessExceptionThis 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
-
getConfigurationSavedCartIntegrationFacade
public ConfigurationSavedCartIntegrationFacade getConfigurationSavedCartIntegrationFacade()
- Returns:
- the configurationSavedCartIntegrationFacade
-
setConfigurationSavedCartIntegrationFacade
public void setConfigurationSavedCartIntegrationFacade(ConfigurationSavedCartIntegrationFacade configurationSavedCartIntegrationFacade)
- Parameters:
configurationSavedCartIntegrationFacade- the configurationSavedCartIntegrationFacade to set
-
recordUiAccessOverview
protected void recordUiAccessOverview(ConfigurationOverviewData configOverviewData)
-
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)
-
initializeUIStatusForAbstractOrder
protected UiStatus initializeUIStatusForAbstractOrder(ConfigurationOverviewData overviewData)
-
enrichOverviewData
protected ConfigurationOverviewData enrichOverviewData(java.lang.String code, ConfigurationOverviewData configOverviewData)
-
getConfigurationQuoteIntegrationFacade
protected ConfigurationQuoteIntegrationFacade getConfigurationQuoteIntegrationFacade()
-
setConfigurationQuoteIntegrationFacade
public void setConfigurationQuoteIntegrationFacade(ConfigurationQuoteIntegrationFacade configurationQuoteIntegrationFacade)
- Parameters:
configurationQuoteIntegrationFacade- cpq facaded for integration with hybris quotation
-
getConfigurationOrderIntegrationFacade
protected ConfigurationOrderIntegrationFacade getConfigurationOrderIntegrationFacade()
-
setConfigurationOrderIntegrationFacade
public void setConfigurationOrderIntegrationFacade(ConfigurationOrderIntegrationFacade configurationOrderIntegrationFacade)
- Parameters:
configurationOrderIntegrationFacade- cpq facaded for integration with hybris order
-
-