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

      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, bulkUpdate, delete, delete, deleteAll, deleteAll, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByObjectQuery, findByQuery, findByQuery, findByWhere, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDbms, initialize, isOracle, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, 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 type
        tenantId - The tenant ID
        Returns:
        The list of the found accounts