Class DefaultWishlist2Dao

    • Constructor Detail

      • DefaultWishlist2Dao

        public DefaultWishlist2Dao()
    • Method Detail

      • findDefaultWishlist

        public Wishlist2Model findDefaultWishlist​(UserModel user)
        Description copied from interface: Wishlist2Dao
        Retrieves the default wishlist of the specific UserModel
        Specified by:
        findDefaultWishlist in interface Wishlist2Dao
        Parameters:
        user - the owner of the default wishlist
        Returns:
        the found wishlist, or null if no default wishlist can be found.
      • findWishlistEntryByProduct

        public java.util.List<Wishlist2EntryModel> findWishlistEntryByProduct​(ProductModel product,
                                                                              Wishlist2Model wishlist)
        Description copied from interface: Wishlist2Dao
        Retrieves all wishlist entries which contain the given product from the specific wishlist
        Specified by:
        findWishlistEntryByProduct in interface Wishlist2Dao
        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