Interface RobotDAO

All Superinterfaces:
com.logicaldoc.core.PersistentObjectDAO<Robot>
All Known Implementing Classes:
HibernateRobotDAO

public interface RobotDAO extends com.logicaldoc.core.PersistentObjectDAO<Robot>
This interface is a DAO-service for Robots
Version:
9.2
Author:
Marco Meschieri - LogicalDOC
  • Field Summary

    Fields inherited from interface com.logicaldoc.core.PersistentObjectDAO

    ENTITY
  • Method Summary

    Modifier and Type
    Method
    Description
    findByName(String name, long tenantId)
    Finds the robot by it's name
    static RobotDAO
    get()
    Gets the object available in the application context

    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

      static RobotDAO get()
      Gets the object available in the application context
      Returns:
      the instance of this object in the application context
    • findByName

      Robot findByName(String name, long tenantId) throws com.logicaldoc.core.PersistenceException
      Finds the robot by it's name
      Parameters:
      name - The name
      tenantId - Identifier of the tenant
      Returns:
      The found robot
      Throws:
      com.logicaldoc.core.PersistenceException - Error in the database