public interface Wishlist2Dao extends Dao
| Modifier and Type | Method and Description |
|---|---|
List<Wishlist2Model> |
findAllWishlists(UserModel user)
Retrieves all wishlists of the specific
UserModel |
Wishlist2Model |
findDefaultWishlist(UserModel user)
Retrieves the default wishlist of the specific
UserModel |
List<Wishlist2EntryModel> |
findWishlistEntryByProduct(ProductModel product,
Wishlist2Model wishlist)
Retrieves all wishlist entries which contain the given product from the specific wishlist
|
List<Wishlist2Model> findAllWishlists(UserModel user)
UserModeluser - the owner of the wishlistsWishlist2Model findDefaultWishlist(UserModel user)
UserModeluser - the owner of the default wishlistList<Wishlist2EntryModel> findWishlistEntryByProduct(ProductModel product, Wishlist2Model wishlist)
product - the product which is contained in the wishlist entry which needs to be foundwishlist - the wishlist which contains the wishlist entryCopyright © 2017 SAP SE. All Rights Reserved.