Class DefaultWishlist2Dao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
de.hybris.platform.wishlist2.impl.daos.impl.DefaultWishlist2Dao
- All Implemented Interfaces:
Dao,Wishlist2Dao
-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindAllWishlists(UserModel user) Retrieves all wishlists of the specificUserModelfindDefaultWishlist(UserModel user) Retrieves the default wishlist of the specificUserModelfindWishlistEntryByProduct(ProductModel product, Wishlist2Model wishlist) Retrieves all wishlist entries which contain the given product from the specific wishlistMethods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
Constructor Details
-
DefaultWishlist2Dao
public DefaultWishlist2Dao()
-
-
Method Details
-
findAllWishlists
Description copied from interface:Wishlist2DaoRetrieves all wishlists of the specificUserModel- Specified by:
findAllWishlistsin interfaceWishlist2Dao- Parameters:
user- the owner of the wishlists- Returns:
- all found wishlists
-
findDefaultWishlist
Description copied from interface:Wishlist2DaoRetrieves the default wishlist of the specificUserModel- Specified by:
findDefaultWishlistin interfaceWishlist2Dao- Parameters:
user- the owner of the default wishlist- Returns:
- the found wishlist, or null if no default wishlist can be found.
-
findWishlistEntryByProduct
public List<Wishlist2EntryModel> findWishlistEntryByProduct(ProductModel product, Wishlist2Model wishlist) Description copied from interface:Wishlist2DaoRetrieves all wishlist entries which contain the given product from the specific wishlist- Specified by:
findWishlistEntryByProductin interfaceWishlist2Dao- Parameters:
product- the product which is contained in the wishlist entry which needs to be foundwishlist- the wishlist which contains the wishlist entry- Returns:
- all found wishlist entries
-