Class MiniCartControllerForSelectiveCart
- java.lang.Object
-
- de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
-
- de.hybris.platform.selectivecartaddon.controllers.misc.MiniCartControllerForSelectiveCart
-
@Controller public class MiniCartControllerForSelectiveCart extends AbstractController
Controller to Override the MiniCart Controller to add wish list quantity into checked list total items add wish list entry into checked list.
-
-
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.AbstractController
FORWARD_PREFIX, REDIRECT_PREFIX, ROOT
-
-
Constructor Summary
Constructors Constructor Description MiniCartControllerForSelectiveCart()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.IntegercalculateTotalNumber()protected java.lang.IntegercalculateTotalQuantityNumber()protected CartFacadegetCartFacade()protected CMSComponentServicegetCmsComponentService()java.lang.StringgetMiniCart(java.lang.String totalDisplay, org.springframework.ui.Model model)protected SelectiveCartFacadegetSelectiveCartFacade()java.lang.StringrolloverMiniCartPopup(java.lang.String componentUid, org.springframework.ui.Model model)-
Methods inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
addRequestToModel, getBean
-
-
-
-
Method Detail
-
getMiniCart
@RequestMapping(value="/cart/miniCart/{totalDisplay:.*}", method=GET) public java.lang.String getMiniCart(@PathVariable java.lang.String totalDisplay, org.springframework.ui.Model model)
-
rolloverMiniCartPopup
@RequestMapping(value="/cart/rollover/{componentUid:.*}", method=GET) public java.lang.String rolloverMiniCartPopup(@PathVariable java.lang.String componentUid, org.springframework.ui.Model model) throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
calculateTotalNumber
protected java.lang.Integer calculateTotalNumber()
-
calculateTotalQuantityNumber
protected java.lang.Integer calculateTotalQuantityNumber()
-
getSelectiveCartFacade
protected SelectiveCartFacade getSelectiveCartFacade()
-
getCartFacade
protected CartFacade getCartFacade()
-
getCmsComponentService
protected CMSComponentService getCmsComponentService()
-
-