Package com.logicaldoc.email.dao
Interface EmailAccountDAO
-
- All Superinterfaces:
com.logicaldoc.core.PersistentObjectDAO<EmailAccount>
- All Known Implementing Classes:
HibernateEmailAccountDAO
public interface EmailAccountDAO extends com.logicaldoc.core.PersistentObjectDAO<EmailAccount>
DAO forEmailAccount
handling.- Since:
- 4.0
- Author:
- Michael Scholz, Alessandro Gasparini - LogicalDOC
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<EmailAccount>
findByType(String type, Long tenantId)
Gets all the accounts of a given type-
Methods inherited from interface com.logicaldoc.core.PersistentObjectDAO
bulkUpdate, delete, delete, deleteAll, deleteAll, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDbms, initialize, isOracle, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, queryForObject, queryForRowSet, queryForString, store
-
-
-
-
Method Detail
-
findByType
List<EmailAccount> findByType(String type, Long tenantId)
Gets all the accounts of a given type- Parameters:
type
- The typetenantId
- The tenant ID- Returns:
- The list of the found accounts
-
-