Package com.logicaldoc.email.dao
Interface EmailAccountDAO
- All Superinterfaces:
com.logicaldoc.core.PersistentObjectDAO<EmailAccount>
- All Known Implementing Classes:
HibernateEmailAccountDAO
DAO for
EmailAccounts 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 typestatic EmailAccountDAOget()Gets the object available in the application contextMethods inherited from interface com.logicaldoc.core.PersistentObjectDAO
bulkUpdate, delete, delete, deleteAll, deleteAll, evict, evict, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDatabaseMetadata, getDbms, initialize, initialize, isMariaDB, isMySQL, isOracle, jdbcUpdate, jdbcUpdate, query, query, queryForDouble, queryForDouble, queryForInt, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForObject, queryForResultSet, queryForString, queryForString, store
-
Method Details
-
get
Gets the object available in the application context- Returns:
- the instance of this object in the application context
-
findByType
Gets all the accounts of a given type- Parameters:
type- The typetenantId- The tenant ID- Returns:
- The list of the found accounts
-