Class DefaultTmaCartService
java.lang.Object
de.hybris.platform.servicelayer.internal.service.AbstractService
de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
de.hybris.platform.order.impl.DefaultAbstractOrderService<CartModel,CartEntryModel>
de.hybris.platform.order.impl.DefaultCartService
de.hybris.platform.b2ctelcoservices.order.impl.DefaultTmaCartService
- All Implemented Interfaces:
TmaCartService,de.hybris.platform.order.AbstractOrderService<CartModel,,CartEntryModel> de.hybris.platform.order.CartService,Serializable,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean
public class DefaultTmaCartService
extends de.hybris.platform.order.impl.DefaultCartService
implements TmaCartService
Default implementation of
TmaCartService- Since:
- 1907
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
de.hybris.platform.servicelayer.internal.service.AbstractService.SerializableDTO -
Field Summary
Fields inherited from class de.hybris.platform.order.impl.DefaultCartService
SESSION_CART_PARAMETER_NAMEFields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
modelService, sessionService, txManagerFields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
tenant -
Constructor Summary
ConstructorsConstructorDescriptionDefaultTmaCartService(de.hybris.platform.store.services.BaseStoreService baseStoreService) -
Method Summary
Modifier and TypeMethodDescriptioncreateCartForUserAndBaseSite(UserModel userModel, BaseSiteModel baseSiteModel) Creates a cart for the provided user.protected de.hybris.platform.store.services.BaseStoreServiceprotected de.hybris.platform.servicelayer.i18n.CommonI18NServiceprotected TmaCustomerInventoryServiceprotected de.hybris.platform.servicelayer.keygenerator.KeyGeneratorprotected de.hybris.platform.servicelayer.user.UserNetCheckingStrategyvoidsetCommonI18NService(de.hybris.platform.servicelayer.i18n.CommonI18NService commonI18NService) voidsetCustomerInventoryService(TmaCustomerInventoryService customerInventoryService) voidsetKeyGenerator(de.hybris.platform.servicelayer.keygenerator.KeyGenerator keyGenerator) voidsetUserNetCheckingStrategy(de.hybris.platform.servicelayer.user.UserNetCheckingStrategy userNetCheckingStrategy) booleanThis method validates the applied eligibilityMethods inherited from class de.hybris.platform.order.impl.DefaultCartService
addToCart, appendToCart, calculateCart, changeCurrentCartUser, changeSessionCartCurrency, clone, createCartFromQuote, getCreateCartFromQuoteStrategy, getNextEntryNumber, getSessionCart, hasCart, hasSessionCart, internalGetSessionCart, postProcessClonedEntries, removeSessionCart, setAddToCartStrategy, setCartFactory, setCreateCartFromQuoteStrategy, setOrderCalculation, setSessionCart, updateQuantities, updateQuantitiesMethods inherited from class de.hybris.platform.order.impl.DefaultAbstractOrderService
addAllGlobalDiscountValues, addAllTotalTaxValues, addEntryAtPosition, addGlobalDiscountValue, addNewEntry, addNewEntry, addNewEntry, addTotalTaxValue, getAbstractOrderEntryService, getAbstractOrderEntryTypeService, getCloneAbstractOrderStrategy, getCollidingEntry, getEntriesForNumber, getEntriesForProduct, getEntryForNumber, getEntryTypeCode, getGlobalDiscountValue, getOrderDao, getSaveAbstractOrderStrategy, removeGlobalDiscountValue, removeTotalTaxValue, saveOrder, setAbstractOrderEntryService, setAbstractOrderEntryTypeService, setCloneAbstractOrderStrategy, setOrderDao, setSaveAbstractOrderStrategyMethods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagerMethods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
afterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, writeReplaceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.order.AbstractOrderService
addAllGlobalDiscountValues, addAllTotalTaxValues, addGlobalDiscountValue, addNewEntry, addNewEntry, addNewEntry, addTotalTaxValue, clone, getEntriesForNumber, getEntriesForProduct, getEntryForNumber, getGlobalDiscountValue, removeGlobalDiscountValue, removeTotalTaxValue, saveOrderMethods inherited from interface de.hybris.platform.order.CartService
addToCart, appendToCart, calculateCart, changeCurrentCartUser, changeSessionCartCurrency, createCartFromQuote, getSessionCart, hasCart, hasSessionCart, removeSessionCart, setSessionCart, updateQuantities, updateQuantities
-
Constructor Details
-
DefaultTmaCartService
public DefaultTmaCartService(de.hybris.platform.store.services.BaseStoreService baseStoreService)
-
-
Method Details
-
createCartForUserAndBaseSite
Description copied from interface:TmaCartServiceCreates a cart for the provided user.- Specified by:
createCartForUserAndBaseSitein interfaceTmaCartService- Parameters:
userModel- The user for which the cart will be createdbaseSiteModel- The base site for which the cart will be created- Returns:
- The cart which was created.
-
validateCartForEligibilityRules
Description copied from interface:TmaCartServiceThis method validates the applied eligibility- Specified by:
validateCartForEligibilityRulesin interfaceTmaCartService- Parameters:
cart- The cart- Returns:
- false all the applied eligibility are valid, true otherwise
-
getUserNetCheckingStrategy
protected de.hybris.platform.servicelayer.user.UserNetCheckingStrategy getUserNetCheckingStrategy() -
setUserNetCheckingStrategy
public void setUserNetCheckingStrategy(de.hybris.platform.servicelayer.user.UserNetCheckingStrategy userNetCheckingStrategy) -
getKeyGenerator
protected de.hybris.platform.servicelayer.keygenerator.KeyGenerator getKeyGenerator() -
setKeyGenerator
public void setKeyGenerator(de.hybris.platform.servicelayer.keygenerator.KeyGenerator keyGenerator) -
getCommonI18NService
protected de.hybris.platform.servicelayer.i18n.CommonI18NService getCommonI18NService() -
setCommonI18NService
public void setCommonI18NService(de.hybris.platform.servicelayer.i18n.CommonI18NService commonI18NService) -
getBaseStoreService
protected de.hybris.platform.store.services.BaseStoreService getBaseStoreService() -
getCustomerInventoryService
-
setCustomerInventoryService
-