Class HibernateLDAPServerDAO

  • All Implemented Interfaces:
    com.logicaldoc.core.PersistentObjectDAO<LDAPServer>, LDAPServerDAO

    public class HibernateLDAPServerDAO
    extends com.logicaldoc.core.HibernatePersistentObjectDAO<LDAPServer>
    implements LDAPServerDAO
    Hibernate implementation of LDAPServerrDAO
    Since:
    8.2.2
    Author:
    Marco Meschieri - LogicalDOC
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List<LDAPServer> findAll()  
      List<LDAPServer> findAll​(long tenantId)  
      List<LDAPServer> findEnabled​(Long tenantId)
      Finds all active servers
      int getMaxPosition​(long tenantId)  
      • Methods inherited from class com.logicaldoc.core.HibernatePersistentObjectDAO

        bulkUpdate, delete, delete, deleteAll, deleteAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDbms, getSessionFactory, initialize, isOracle, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, queryForObject, queryForRowSet, queryForString, setSessionFactory, store
      • Methods inherited from interface com.logicaldoc.core.PersistentObjectDAO

        bulkUpdate, delete, delete, deleteAll, deleteAll, 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

      • findEnabled

        public List<LDAPServer> findEnabled​(Long tenantId)
        Description copied from interface: LDAPServerDAO
        Finds all active servers
        Specified by:
        findEnabled in interface LDAPServerDAO
        Parameters:
        tenantId - identifier of the tenant
        Returns:
        list of the enabled servers
      • findAll

        public List<LDAPServer> findAll()
        Specified by:
        findAll in interface com.logicaldoc.core.PersistentObjectDAO<LDAPServer>
        Overrides:
        findAll in class com.logicaldoc.core.HibernatePersistentObjectDAO<LDAPServer>
      • findAll

        public List<LDAPServer> findAll​(long tenantId)
        Specified by:
        findAll in interface com.logicaldoc.core.PersistentObjectDAO<LDAPServer>
        Overrides:
        findAll in class com.logicaldoc.core.HibernatePersistentObjectDAO<LDAPServer>