Class HibernateContactDAO

    • Constructor Detail

      • HibernateContactDAO

        public HibernateContactDAO()
    • Method Detail

      • findByUser

        public List<Contact> findByUser​(Long userId,
                                        String email)
        Description copied from interface: ContactDAO
        Finds the contacts of the specified user.
        Specified by:
        findByUser in interface ContactDAO
        Parameters:
        userId - The ID of the user or null
        email - Optional email specification,
        Returns:
        The collection of found Contacts