Interface Wishlist2Dao

All Superinterfaces:
Dao
All Known Implementing Classes:
DefaultWishlist2Dao

public interface Wishlist2Dao extends Dao
  • Method Details

    • findAllWishlists

      List<Wishlist2Model> findAllWishlists(UserModel user)
      Retrieves all wishlists of the specific UserModel
      Parameters:
      user - the owner of the wishlists
      Returns:
      all found wishlists
    • findDefaultWishlist

      Wishlist2Model findDefaultWishlist(UserModel user)
      Retrieves the default wishlist of the specific UserModel
      Parameters:
      user - the owner of the default wishlist
      Returns:
      the found wishlist, or null if no default wishlist can be found.
    • findWishlistEntryByProduct

      List<Wishlist2EntryModel> findWishlistEntryByProduct(ProductModel product, Wishlist2Model wishlist)
      Retrieves all wishlist entries which contain the given product from the specific wishlist
      Parameters:
      product - the product which is contained in the wishlist entry which needs to be found
      wishlist - the wishlist which contains the wishlist entry
      Returns:
      all found wishlist entries