Class DefaultTmaCommerceCartDao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
de.hybris.platform.commerceservices.order.dao.impl.DefaultCommerceCartDao
de.hybris.platform.b2ctelcoservices.daos.impl.DefaultTmaCommerceCartDao
- All Implemented Interfaces:
TmaCommerceCartDao,de.hybris.platform.commerceservices.order.dao.CommerceCartDao,de.hybris.platform.servicelayer.internal.dao.Dao
public class DefaultTmaCommerceCartDao
extends de.hybris.platform.commerceservices.order.dao.impl.DefaultCommerceCartDao
implements TmaCommerceCartDao
Default implementation for
TmaCommerceCartDao.- Since:
- 2205
-
Field Summary
Fields inherited from class de.hybris.platform.commerceservices.order.dao.impl.DefaultCommerceCartDao
FIND_CART_FOR_GUID_AND_SITE, FIND_CART_FOR_GUID_AND_USER_AND_SITE, FIND_CART_FOR_SITE_AND_USER_AND_EXCLUDED_GUID, FIND_CART_FOR_USER_AND_SITE, FIND_CARTS_FOR_SITE_AND_USER, FIND_EXPIRED_SAVED_CARTS_FOR_SITE_AND_USER, FIND_OLD_CARTS_FOR_SITE, FIND_OLD_CARTS_FOR_SITE_AND_USER, NOT_QUOTE_CART_CLAUSE, NOT_SAVED_CART_CLAUSE, ORDERBYCLAUSE, SELECTCLAUSEFields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCartForSiteAndCode(BaseSiteModel site, String code) Retrieves the cart for site and code.getCartsForSite(BaseSiteModel site, Integer offset, Integer limit) Retrieves the carts for site.getCartsForSiteAndUser(BaseSiteModel site, UserModel user) Gets the carts for site and user (including saved carts and quote carts).Methods inherited from class de.hybris.platform.commerceservices.order.dao.impl.DefaultCommerceCartDao
createSearchQuery, doSearch, doSearch, getCartForCodeAndUser, getCartForGuidAndSite, getCartForGuidAndSiteAndUser, getCartForSiteAndUser, getCartsForRemovalForSiteAndUserMethods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.commerceservices.order.dao.CommerceCartDao
getCartForCodeAndUser, getCartForGuidAndSite, getCartForGuidAndSiteAndUser, getCartForSiteAndUser, getCartsForRemovalForSiteAndUser
-
Constructor Details
-
DefaultTmaCommerceCartDao
public DefaultTmaCommerceCartDao()
-
-
Method Details
-
getCartForSiteAndCode
Description copied from interface:TmaCommerceCartDaoRetrieves the cart for site and code.- Specified by:
getCartForSiteAndCodein interfaceTmaCommerceCartDao- Parameters:
site- the sitecode- the code- Returns:
- the cart for site and code
-
getCartsForSite
Description copied from interface:TmaCommerceCartDaoRetrieves the carts for site. Excluding saved carts and quote carts.- Specified by:
getCartsForSitein interfaceTmaCommerceCartDao- Parameters:
site- the siteoffset- the offset represents the position in list from where the result list will start.limit- the limit represents the number of entries that will be selected for the result list.- Returns:
- the carts for site
-
getCartsForSiteAndUser
Gets the carts for site and user (including saved carts and quote carts).- Specified by:
getCartsForSiteAndUserin interfacede.hybris.platform.commerceservices.order.dao.CommerceCartDao- Overrides:
getCartsForSiteAndUserin classde.hybris.platform.commerceservices.order.dao.impl.DefaultCommerceCartDao
-