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_TYPEFields inherited from class de.hybris.platform.sap.productconfig.frontend.controllers.AbstractProductConfigController
CMS_PAGE_TYPE, CMS_PC_PAGE_ID, CMS_PC_PAGE_TYPEFields 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_8Fields inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
FORWARD_PREFIX, REDIRECT_PREFIX, ROOT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ConfigurationOverviewDataenrichOverviewData(String code, ConfigurationOverviewData configOverviewData) protected voidgetAbstractOrderOverview(String code, int entryNumber, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request, ConfigurationOverviewData configOverviewData, OverviewMode overviewMode) protected ConfigurationOrderIntegrationFacadeprotected ConfigurationQuoteIntegrationFacadegetOrderOverview(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.getQuotationOverview(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.getSavedCartOverview(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(String configId, String code, int entryNumber, String sourceDocumentId, OverviewMode overviewMode) protected UiStatusinitializeUIStatusForAbstractOrder(ConfigurationOverviewData overviewData) protected voidrecordUiAccessOverview(ConfigurationOverviewData configOverviewData) voidsetConfigurationOrderIntegrationFacade(ConfigurationOrderIntegrationFacade configurationOrderIntegrationFacade) voidsetConfigurationQuoteIntegrationFacade(ConfigurationQuoteIntegrationFacade configurationQuoteIntegrationFacade) voidsetConfigurationSavedCartIntegrationFacade(ConfigurationSavedCartIntegrationFacade configurationSavedCartIntegrationFacade) protected voidsetOverviewMode(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, updateUiStatusForOverviewInSessionMethods 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, getSessionId, 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, updatePageTitleMethods 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, urlEncodeMethods inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
addRequestToModel, getBean
-
Constructor Details
-
OrderEntryOverviewController
public OrderEntryOverviewController()
-
-
Method Details
-
getQuotationOverview
@RequestMapping(value="/my-account/my-quotes/{quoteNumber}/{entryNumber}/configurationDisplay/CPQCONFIGURATOR", method=GET) public String getQuotationOverview(@PathVariable("quoteNumber") 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
-
getAbstractOrderOverview
protected void getAbstractOrderOverview(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 String getOrderOverview(@PathVariable("orderCode") 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 String getSavedCartOverview(@PathVariable("cartCode") 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
-
getConfigurationSavedCartIntegrationFacade
- Returns:
- the configurationSavedCartIntegrationFacade
-
setConfigurationSavedCartIntegrationFacade
public void setConfigurationSavedCartIntegrationFacade(ConfigurationSavedCartIntegrationFacade configurationSavedCartIntegrationFacade) - Parameters:
configurationSavedCartIntegrationFacade- the configurationSavedCartIntegrationFacade to set
-
recordUiAccessOverview
-
initializeOverviewUiData
protected OverviewUiData initializeOverviewUiData(String configId, String code, int entryNumber, String sourceDocumentId, OverviewMode overviewMode) -
setOverviewMode
protected void setOverviewMode(String configId, OverviewMode overviewMode, OverviewUiData overviewUiData) -
initializeUIStatusForAbstractOrder
-
enrichOverviewData
protected ConfigurationOverviewData enrichOverviewData(String code, ConfigurationOverviewData configOverviewData) -
getConfigurationQuoteIntegrationFacade
-
setConfigurationQuoteIntegrationFacade
public void setConfigurationQuoteIntegrationFacade(ConfigurationQuoteIntegrationFacade configurationQuoteIntegrationFacade) - Parameters:
configurationQuoteIntegrationFacade- cpq facaded for integration with hybris quotation
-
getConfigurationOrderIntegrationFacade
-
setConfigurationOrderIntegrationFacade
public void setConfigurationOrderIntegrationFacade(ConfigurationOrderIntegrationFacade configurationOrderIntegrationFacade) - Parameters:
configurationOrderIntegrationFacade- cpq facaded for integration with hybris order
-