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 Summary
Fields inherited from interface com.logicaldoc.core.PersistentObjectDAO
ENTITY
-
Method Summary
Modifier and TypeMethodDescriptionfindByUser
(Long userId, String email) Finds the contacts of the specified user.Methods inherited from interface com.logicaldoc.core.PersistentObjectDAO
bulkUpdate, delete, delete, deleteAll, deleteAll, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDatabaseMetadata, getDbms, initialize, isOracle, jdbcUpdate, jdbcUpdate, query, query, queryForDouble, queryForDouble, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForRowSet, queryForRowSet, queryForString, store
-
Method Details
-
findByUser
Finds the contacts of the specified user.- Parameters:
userId
- The ID of the user or nullemail
- Optional email specification,- Returns:
- The collection of found Contacts
-