Interface TmaCommerceCartDao

All Superinterfaces:
de.hybris.platform.commerceservices.order.dao.CommerceCartDao, de.hybris.platform.servicelayer.internal.dao.Dao
All Known Implementing Classes:
DefaultTmaCommerceCartDao

public interface TmaCommerceCartDao extends de.hybris.platform.commerceservices.order.dao.CommerceCartDao
The Data Access Object responsible for handling CartModel.
Since:
2205
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the cart for site and code.
    Retrieves the carts for site.

    Methods inherited from interface de.hybris.platform.commerceservices.order.dao.CommerceCartDao

    getCartForCodeAndUser, getCartForGuidAndSite, getCartForGuidAndSiteAndUser, getCartForSiteAndUser, getCartsForRemovalForSiteAndUser, getCartsForSiteAndUser
  • Method Details

    • getCartForSiteAndCode

      CartModel getCartForSiteAndCode(BaseSiteModel site, String code)
      Retrieves the cart for site and code.
      Parameters:
      site - the site
      code - the code
      Returns:
      the cart for site and code
    • getCartsForSite

      List<CartModel> getCartsForSite(BaseSiteModel site, Integer offset, Integer limit)
      Retrieves the carts for site. Excluding saved carts and quote carts.
      Parameters:
      offset - 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.
      site - the site
      Returns:
      the carts for site