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
-
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 de.hybris.platform.commercefacades.order.CartFacadeprotected de.hybris.platform.acceleratorfacades.order.AcceleratorCheckoutFacadeprotected de.hybris.platform.servicelayer.session.SessionServicede.hybris.platform.acceleratorservices.config.SiteConfigServiceprotected 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 de.hybris.platform.cms2.exceptions.CMSItemNotFoundException - Throws:
de.hybris.platform.cms2.exceptions.CMSItemNotFoundException
-
createProductEntryList
-
continueUrl
protected void continueUrl(org.springframework.ui.Model model) throws de.hybris.platform.cms2.exceptions.CMSItemNotFoundException - Throws:
de.hybris.platform.cms2.exceptions.CMSItemNotFoundException
-
prepareDataForPage
protected void prepareDataForPage(org.springframework.ui.Model model) throws de.hybris.platform.cms2.exceptions.CMSItemNotFoundException - Throws:
de.hybris.platform.cms2.exceptions.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
public de.hybris.platform.acceleratorservices.config.SiteConfigService getSiteConfigService()- Overrides:
getSiteConfigServicein classAbstractPageController
-
getCartFacade
protected de.hybris.platform.commercefacades.order.CartFacade getCartFacade() -
getSessionService
protected de.hybris.platform.servicelayer.session.SessionService getSessionService()- Overrides:
getSessionServicein classAbstractPageController
-
getCheckoutFacade
protected de.hybris.platform.acceleratorfacades.order.AcceleratorCheckoutFacade getCheckoutFacade()
-