public class DefaultWishlist2Dao extends AbstractItemDao implements Wishlist2Dao
flexibleSearchService, modelService| Constructor and Description |
|---|
DefaultWishlist2Dao() |
| 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
|
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelServicepublic List<Wishlist2Model> findAllWishlists(UserModel user)
Wishlist2DaoUserModelfindAllWishlists in interface Wishlist2Daouser - the owner of the wishlistspublic Wishlist2Model findDefaultWishlist(UserModel user)
Wishlist2DaoUserModelfindDefaultWishlist in interface Wishlist2Daouser - the owner of the default wishlistpublic List<Wishlist2EntryModel> findWishlistEntryByProduct(ProductModel product, Wishlist2Model wishlist)
Wishlist2DaofindWishlistEntryByProduct in interface Wishlist2Daoproduct - 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.