Class HibernateContactDAO

java.lang.Object
com.logicaldoc.core.HibernatePersistentObjectDAO<Contact>
com.logicaldoc.core.contact.HibernateContactDAO
All Implemented Interfaces:
ContactDAO, PersistentObjectDAO<Contact>

public class HibernateContactDAO extends HibernatePersistentObjectDAO<Contact> implements ContactDAO
Hibernate implementation of ContactDAO
Since:
4.0
Author:
Marco Meschieri - LogicalDOC
  • Constructor Details

    • HibernateContactDAO

      public HibernateContactDAO()
  • Method Details

    • 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