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 SummaryFields inherited from interface com.logicaldoc.core.PersistentObjectDAOENTITY
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete(long id, int code) findByName(String name, long tenantId) Finds the robot by it's nameMethods inherited from class com.logicaldoc.core.HibernatePersistentObjectDAObulkUpdate, 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.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.logicaldoc.core.PersistentObjectDAObulkUpdate, 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- 
findByNameDescription copied from interface:RobotDAOFinds the robot by it's name- Specified by:
- findByNamein interface- RobotDAO
- Parameters:
- name- The name
- tenantId- Identifier of the tenant
- Returns:
- The found robot
- Throws:
- com.logicaldoc.core.PersistenceException- Error in the database
 
- 
deletepublic void delete(long id, int code) throws com.logicaldoc.core.PersistenceException 
 
-