public class HibernateContactDAO extends HibernatePersistentObjectDAO<Contact> implements ContactDAO
ContactDAO
entityClass, 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, store
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
bulkUpdate, delete, deleteAll, findAll, findAllIds, findById, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDbms, initialize, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, queryForRowSet, store
public List<Contact> findByUser(Long userId, String email)
ContactDAO
findByUser
in interface ContactDAO
userId
- The ID of the user or nullemail
- Optional email specification,Copyright © 2008-2014 Logical Objects. All Rights Reserved.