Package com.logicaldoc.ldap
Class HibernateLDAPServerDAO
- java.lang.Object
-
- com.logicaldoc.core.HibernatePersistentObjectDAO<LDAPServer>
-
- com.logicaldoc.ldap.HibernateLDAPServerDAO
-
- All Implemented Interfaces:
com.logicaldoc.core.PersistentObjectDAO<LDAPServer>
,LDAPServerDAO
public class HibernateLDAPServerDAO extends com.logicaldoc.core.HibernatePersistentObjectDAO<LDAPServer> implements LDAPServerDAO
Hibernate implementation ofLDAPServerrDAO
- 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 serversint
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 class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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 interfaceLDAPServerDAO
- Parameters:
tenantId
- identifier of the tenant- Returns:
- list of the enabled servers
-
getMaxPosition
public int getMaxPosition(long tenantId)
- Specified by:
getMaxPosition
in interfaceLDAPServerDAO
-
findAll
public List<LDAPServer> findAll()
- Specified by:
findAll
in interfacecom.logicaldoc.core.PersistentObjectDAO<LDAPServer>
- Overrides:
findAll
in classcom.logicaldoc.core.HibernatePersistentObjectDAO<LDAPServer>
-
findAll
public List<LDAPServer> findAll(long tenantId)
- Specified by:
findAll
in interfacecom.logicaldoc.core.PersistentObjectDAO<LDAPServer>
- Overrides:
findAll
in classcom.logicaldoc.core.HibernatePersistentObjectDAO<LDAPServer>
-
-