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 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 Type
    Method
    Description
    findByType(String type, Long tenantId)
    Gets all the accounts of a given type
    get()
    Gets the object available in the application context

    Methods 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

      static EmailAccountDAO get()
      Gets the object available in the application context
      Returns:
      the instance of this object in the application context
    • 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