Interface EmailAccountDAO

All Superinterfaces:
com.logicaldoc.core.PersistentObjectDAO<EmailAccount>
All Known Implementing Classes:
HibernateEmailAccountDAO

public interface EmailAccountDAO extends com.logicaldoc.core.PersistentObjectDAO<EmailAccount>
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 Type
    Method
    Description
    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, getDatabaseMetadata, getDbms, initialize, isOracle, jdbcUpdate, jdbcUpdate, query, query, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForRowSet, queryForRowSet, queryForString, store
  • Method Details

    • findByType

      List<EmailAccount> findByType(String type, Long tenantId)
      Gets all the accounts of a given type
      Parameters:
      type - The type
      tenantId - The tenant ID
      Returns:
      The list of the found accounts