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 void
clearSessionRestorationData()
Remove the session data of the cart restoration.protected void
continueUrl(org.springframework.ui.Model model)
protected void
createProductEntryList(org.springframework.ui.Model model, CartData cartData)
protected void
createProductList(org.springframework.ui.Model model)
protected CartFacade
getCartFacade()
protected AcceleratorCheckoutFacade
getCheckoutFacade()
protected SessionService
getSessionService()
SiteConfigService
getSiteConfigService()
protected void
prepareDataForPage(org.springframework.ui.Model model)
void
setupCartPageRestorationData(org.springframework.ui.Model model)
Prepare the restoration data and always display any modifications on the cart page.protected boolean
validateCart(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:
getSiteConfigService
in classAbstractPageController
-
getCartFacade
protected CartFacade getCartFacade()
-
getSessionService
protected SessionService getSessionService()
- Overrides:
getSessionService
in classAbstractPageController
-
getCheckoutFacade
protected AcceleratorCheckoutFacade getCheckoutFacade()
-
-