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,SapQuoteController,SelectiveCartController,SelectiveCartSplitListController
public abstract class AbstractCartPageController extends AbstractPageController
-
-
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_8
-
Fields inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
FORWARD_PREFIX, REDIRECT_PREFIX, ROOT
-
-
Constructor Summary
Constructors Constructor Description AbstractCartPageController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclearSessionRestorationData()Remove 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 CartFacadegetCartFacade()protected AcceleratorCheckoutFacadegetCheckoutFacade()protected SessionServicegetSessionService()SiteConfigServicegetSiteConfigService()protected 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, urlEncode
-
Methods inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
addRequestToModel, getBean
-
-
-
-
Method Detail
-
createProductList
protected void createProductList(org.springframework.ui.Model model) throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
createProductEntryList
protected void createProductEntryList(org.springframework.ui.Model model, CartData cartData)
-
continueUrl
protected void continueUrl(org.springframework.ui.Model model) throws CMSItemNotFoundException- 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
public SiteConfigService getSiteConfigService()
- Overrides:
getSiteConfigServicein classAbstractPageController
-
getCartFacade
protected CartFacade getCartFacade()
-
getSessionService
protected SessionService getSessionService()
- Overrides:
getSessionServicein classAbstractPageController
-
getCheckoutFacade
protected AcceleratorCheckoutFacade getCheckoutFacade()
-
-