Package com.logicaldoc.robot
Class HibernateRobotDAO
java.lang.Object
com.logicaldoc.core.HibernatePersistentObjectDAO<Robot>
com.logicaldoc.robot.HibernateRobotDAO
@Repository("robotDAO")
public class HibernateRobotDAO
extends com.logicaldoc.core.HibernatePersistentObjectDAO<Robot>
implements RobotDAO
Hibernate implementation of
RobotDAO- Since:
- 9.2
- Author:
- Marco Meschieri - LogicalDOC
-
Field Summary
Fields inherited from interface com.logicaldoc.core.PersistentObjectDAO
ENTITY -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(long id, int code) findByName(String name, long tenantId) Finds the robot by it's nameMethods inherited from class com.logicaldoc.core.HibernatePersistentObjectDAO
bulkUpdate, delete, deleteAll, deleteAll, evict, evict, findAll, findAll, 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, queryForString, setSessionFactory, storeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.logicaldoc.core.PersistentObjectDAO
bulkUpdate, delete, deleteAll, deleteAll, evict, evict, findAll, findAll, 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, queryForString, store
-
Method Details
-
findByName
Description copied from interface:RobotDAOFinds the robot by it's name- Specified by:
findByNamein interfaceRobotDAO- Parameters:
name- The nametenantId- Identifier of the tenant- Returns:
- The found robot
- Throws:
com.logicaldoc.core.PersistenceException- Error in the database
-
delete
public void delete(long id, int code) throws com.logicaldoc.core.PersistenceException
-