public class HibernateContactDAO extends HibernatePersistentObjectDAO<Contact> implements ContactDAO
ContactDAOentityClass, log, sessionFactory| Constructor and Description |
|---|
HibernateContactDAO() |
| Modifier and Type | Method and Description |
|---|---|
List<Contact> |
findByUser(Long userId,
String email)
Finds the contacts of the specified user.
|
bulkUpdate, delete, deleteAll, evict, findAll, findAllIds, findById, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, flush, getConnection, getCurrentSession, getDbms, getSessionFactory, initialize, isHsql, isMySQL, isOracle, isSqlServer, jdbcUpdate, jdbcUpdate, merge, prepareQuery, query, queryForInt, queryForList, queryForList, queryForLong, queryForRowSet, refresh, saveOrUpdate, setSessionFactory, storeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbulkUpdate, delete, deleteAll, findAll, findAllIds, findById, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDbms, initialize, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, queryForRowSet, storepublic List<Contact> findByUser(Long userId, String email)
ContactDAOfindByUser in interface ContactDAOuserId - The ID of the user or nullemail - Optional email specification,Copyright © 2008-2014 Logical Objects. All Rights Reserved.