Interface ContactDAO

All Superinterfaces:
PersistentObjectDAO<Contact>
All Known Implementing Classes:
HibernateContactDAO

public interface ContactDAO extends PersistentObjectDAO<Contact>
Instances of this class is a DAO-service for Contact business entities.
Since:
6.8
Author:
Marco Meschieri - LogicalDOC
  • Method Details

    • findByUser

      List<Contact> findByUser(Long userId, String email) throws PersistenceException
      Finds the contacts of the specified user.
      Parameters:
      userId - The ID of the user or null
      email - Optional email specification,
      Returns:
      The collection of found Contacts
      Throws:
      PersistenceException - Error in the database