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 of
LDAPServerrDAO
- Since:
- 8.2.2
- Author:
- Marco Meschieri - LogicalDOC
-
Field Summary
Fields inherited from interface com.logicaldoc.core.PersistentObjectDAO
ENTITY
-
Method Summary
Modifier and TypeMethodDescriptionfindAll()
findAll
(long tenantId) 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, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDatabaseMetadata, getDbms, getSessionFactory, initialize, isMySQL, isOracle, jdbcUpdate, jdbcUpdate, query, query, queryForDouble, queryForDouble, queryForInt, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForObject, queryForResultSet, 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, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDatabaseMetadata, getDbms, initialize, isMySQL, isOracle, jdbcUpdate, jdbcUpdate, query, query, queryForDouble, queryForDouble, queryForInt, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForObject, queryForResultSet, queryForString, store
-
Method Details
-
findEnabled
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 \
- Throws:
com.logicaldoc.core.PersistenceException
- Error in the database
-
getMaxPosition
public int getMaxPosition(long tenantId) - Specified by:
getMaxPosition
in interfaceLDAPServerDAO
-
findAll
- Specified by:
findAll
in interfacecom.logicaldoc.core.PersistentObjectDAO<LDAPServer>
- Overrides:
findAll
in classcom.logicaldoc.core.HibernatePersistentObjectDAO<LDAPServer>
-
findAll
- Specified by:
findAll
in interfacecom.logicaldoc.core.PersistentObjectDAO<LDAPServer>
- Overrides:
findAll
in classcom.logicaldoc.core.HibernatePersistentObjectDAO<LDAPServer>
-