Package com.logicaldoc.ldap
Interface LDAPServerDAO
- All Superinterfaces:
com.logicaldoc.core.PersistentObjectDAO<LDAPServer>
- All Known Implementing Classes:
HibernateLDAPServerDAO
DAO for
LDAPServers handling.- Author:
- Marco Meschieri - LogicalDOC
-
Field Summary
Fields inherited from interface com.logicaldoc.core.PersistentObjectDAO
ENTITY -
Method Summary
Modifier and TypeMethodDescriptionfindEnabled(Long tenantId) Finds all active serversstatic LDAPServerDAOget()Gets the object available in the application contextintgetMaxPosition(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
Gets the object available in the application context- Returns:
- the instance of this object in the application context
-
findEnabled
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)
-