Interface B2BCommentDao<C extends B2BCommentModel,​T extends AbstractOrderModel>

    • Method Detail

      • findCommentsByUser

        java.util.List<C> findCommentsByUser​(UserModel user,
                                             T order)
        Find all comments owned by user and associated to an order
        Parameters:
        user - The owner of a B2BCommentModel
        order - An order or cart.
        Returns:
        All comments associated to an order or cart owned by user.
      • findCommentsByOrder

        java.util.List<C> findCommentsByOrder​(T order)
        Find all comments and associated to an order
        Parameters:
        order - An order or cart.
        Returns:
        All comments associated to an order.