Package com.logicaldoc.email.dao
Interface EmailAccountDAO
- All Superinterfaces:
com.logicaldoc.core.PersistentObjectDAO<EmailAccount>
- All Known Implementing Classes:
HibernateEmailAccountDAO
DAO for
EmailAccount
handling.- Since:
- 4.0
- Author:
- Michael Scholz, Alessandro Gasparini - LogicalDOC
-
Field Summary
Fields inherited from interface com.logicaldoc.core.PersistentObjectDAO
ENTITY
-
Method Summary
Modifier and TypeMethodDescriptionfindByType
(String type, Long tenantId) Gets all the accounts of a given typeMethods inherited from interface com.logicaldoc.core.PersistentObjectDAO
bulkUpdate, delete, delete, deleteAll, deleteAll, 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, store
-
Method Details
-
findByType
Gets all the accounts of a given type- Parameters:
type
- The typetenantId
- The tenant ID- Returns:
- The list of the found accounts
-