Class ConfigurationOverviewController
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.ConfigurationOverviewController
@Controller
@RequestMapping
public class ConfigurationOverviewController
extends AbstractConfigurationOverviewController
Default Controller implementation to be used for the configuration overview page.
- See Also:
-
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 TypeMethodDescriptiongetConfigurationOverview(String configIdEncoded, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request) Renders the product config overview page.protected StringgetConfigurationOverviewForConfigId(org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request, String configId) protected UiStatusgetOrCreateUiStatusForCartEntry(String cartItemKey) protected voidhandleCPQAction(OverviewUiData overviewUIData, ConfigurationOverviewData configOverviewData, UiStatus uiStatus) protected OverviewUiDataprotected ConfigurationOverviewDatapopulateConfigurationModel(String productCode, String configId, ConfigurationOverviewData overview) protected OrderEntryDatareReadEntry(CartModificationData addedToCart) protected voidupdateAppliedFilters(UiStatus uiStatus, ConfigurationOverviewData configOverviewData) org.springframework.web.servlet.ModelAndViewupdateConfiguationOverview(OverviewUiData overviewUIData, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request) Updates the product config overview page.protected voidupdateCsticFilterList(OverviewUiData overviewUIData, UiStatus uiStatus) protected voidupdateGroupFilterList(OverviewUiData overviewUIData, UiStatus uiStatus) protected voidupdateGroups(UiStatus uiStatus, ConfigurationOverviewData configOverviewData) 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
-
ConfigurationOverviewController
public ConfigurationOverviewController()
-
-
Method Details
-
getConfigurationOverview
@RequestMapping(value="/**/{configId:.*}/configOverview", method=GET) public String getConfigurationOverview(@PathVariable("configId") String configIdEncoded, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request) throws BusinessException Renders the product config overview page.- Parameters:
configIdEncoded- configuration identifiermodel- view modelrequest- http request- Returns:
- view name
- Throws:
BusinessException
-
reReadEntry
-
getConfigurationOverviewForConfigId
protected String getConfigurationOverviewForConfigId(org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request, String configId) throws BusinessException - Throws:
BusinessException
-
getOrCreateUiStatusForCartEntry
-
initializeOverviewUiDataForConfiguration
-
updateConfiguationOverview
@RequestMapping(value="/cpq/configOverview", method=POST) @ResponseBody public org.springframework.web.servlet.ModelAndView updateConfiguationOverview(@ModelAttribute("overviewUiData") OverviewUiData overviewUIData, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request) throws BusinessException Updates the product config overview page. For example if a filter value was changed.- Parameters:
overviewUIData- data currently displayed on overview pagemodel- view modelrequest- http request- Returns:
- view name
- Throws:
BusinessException
-
handleCPQAction
protected void handleCPQAction(OverviewUiData overviewUIData, ConfigurationOverviewData configOverviewData, UiStatus uiStatus) throws BusinessException - Throws:
BusinessException
-
updateGroups
-
updateGroupFilterList
-
populateConfigurationModel
protected ConfigurationOverviewData populateConfigurationModel(String productCode, String configId, ConfigurationOverviewData overview) -
updateCsticFilterList
-
updateAppliedFilters
protected void updateAppliedFilters(UiStatus uiStatus, ConfigurationOverviewData configOverviewData)
-