Package com.logicaldoc.core.contact
Class HibernateContactDAO
java.lang.Object
com.logicaldoc.core.HibernatePersistentObjectDAO<Contact>
com.logicaldoc.core.contact.HibernateContactDAO
- All Implemented Interfaces:
ContactDAO,PersistentObjectDAO<Contact>
public class HibernateContactDAO
extends HibernatePersistentObjectDAO<Contact>
implements ContactDAO
Hibernate implementation of
ContactDAO- Since:
- 4.0
- Author:
- Marco Meschieri - LogicalDOC
-
Field Summary
Fields inherited from interface com.logicaldoc.core.PersistentObjectDAO
ENTITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindByUser(Long userId, String email) Finds the contacts of the specified user.Methods inherited from class com.logicaldoc.core.HibernatePersistentObjectDAO
bulkUpdate, delete, delete, deleteAll, deleteAll, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDatabaseMetadata, getDbms, getSessionFactory, initialize, isOracle, jdbcUpdate, jdbcUpdate, query, query, queryForDouble, queryForDouble, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForRowSet, queryForRowSet, queryForString, setSessionFactory, storeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
Constructor Details
-
HibernateContactDAO
public HibernateContactDAO()
-
-
Method Details
-
findByUser
Description copied from interface:ContactDAOFinds the contacts of the specified user.- Specified by:
findByUserin interfaceContactDAO- Parameters:
userId- The ID of the user or nullemail- Optional email specification,- Returns:
- The collection of found Contacts
-