Interface LDAPServerDAO

All Superinterfaces:
com.logicaldoc.core.PersistentObjectDAO<LDAPServer>
All Known Implementing Classes:
HibernateLDAPServerDAO

public interface LDAPServerDAO extends com.logicaldoc.core.PersistentObjectDAO<LDAPServer>
DAO for LDAPServers handling.
Author:
Marco Meschieri - LogicalDOC
  • Field Summary

    Fields inherited from interface com.logicaldoc.core.PersistentObjectDAO

    ENTITY
  • Method Summary

    Modifier and Type
    Method
    Description
    findEnabled(Long tenantId)
    Finds all active servers
    get()
    Gets the object available in the application context
    int
    getMaxPosition(long tenantId)
     

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

      List<LDAPServer> findEnabled(Long tenantId) throws com.logicaldoc.core.PersistenceException
      Finds all active servers
      Parameters:
      tenantId - identifier of the tenant
      Returns:
      list of the enabled servers
      Throws:
      com.logicaldoc.core.PersistenceException - Error in the database
    • getMaxPosition

      int getMaxPosition(long tenantId)