Class AbstractCartPageController
java.lang.Object
de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractPageController
de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractCartPageController
- Direct Known Subclasses:
CartPageController,DefaultInspectCartController,QuoteController,SelectiveCartController,SelectiveCartSplitListController
-
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.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 voidRemove the session data of the cart restoration.protected voidcontinueUrl(org.springframework.ui.Model model) protected voidcreateProductEntryList(org.springframework.ui.Model model, CartData cartData) protected voidcreateProductList(org.springframework.ui.Model model) protected CartFacadeprotected AcceleratorCheckoutFacadeprotected SessionServiceprotected voidprepareDataForPage(org.springframework.ui.Model model) voidsetupCartPageRestorationData(org.springframework.ui.Model model) Prepare the restoration data and always display any modifications on the cart page.protected booleanvalidateCart(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) 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, 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
-
AbstractCartPageController
public AbstractCartPageController()
-
-
Method Details
-
createProductList
protected void createProductList(org.springframework.ui.Model model) throws CMSItemNotFoundException - Throws:
CMSItemNotFoundException
-
createProductEntryList
-
continueUrl
- Throws:
CMSItemNotFoundException
-
prepareDataForPage
protected void prepareDataForPage(org.springframework.ui.Model model) throws CMSItemNotFoundException - Throws:
CMSItemNotFoundException
-
clearSessionRestorationData
protected void clearSessionRestorationData()Remove the session data of the cart restoration. -
setupCartPageRestorationData
public void setupCartPageRestorationData(org.springframework.ui.Model model) Prepare the restoration data and always display any modifications on the cart page.- Parameters:
model- - the cart page
-
validateCart
protected boolean validateCart(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) -
getSiteConfigService
- Overrides:
getSiteConfigServicein classAbstractPageController
-
getCartFacade
-
getSessionService
- Overrides:
getSessionServicein classAbstractPageController
-
getCheckoutFacade
-