Package com.logicaldoc.core.contact
Interface ContactDAO
- All Superinterfaces:
- PersistentObjectDAO<Contact>
- All Known Implementing Classes:
- HibernateContactDAO
Instances of this class is a DAO-service for Contact business entities.
- Since:
- 6.8
- Author:
- Marco Meschieri - LogicalDOC
- 
Field SummaryFields inherited from interface com.logicaldoc.core.PersistentObjectDAOENTITY
- 
Method SummaryModifier and TypeMethodDescriptionfindByUser(Long userId, String email) Finds the contacts of the specified user.Methods inherited from interface com.logicaldoc.core.PersistentObjectDAObulkUpdate, delete, delete, deleteAll, deleteAll, evict, evict, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDatabaseMetadata, getDbms, initialize, isMySQL, isOracle, jdbcUpdate, jdbcUpdate, query, query, queryForDouble, queryForDouble, queryForInt, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForObject, queryForResultSet, queryForString, queryForString, store
- 
Method Details- 
findByUserFinds 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
 
 
-