Class HibernateAutomationRoutineDAO
- java.lang.Object
-
- com.logicaldoc.core.HibernatePersistentObjectDAO<AutomationRoutine>
-
- com.logicaldoc.enterprise.automation.HibernateAutomationRoutineDAO
-
- All Implemented Interfaces:
com.logicaldoc.core.PersistentObjectDAO<AutomationRoutine>,AutomationRoutineDAO
public class HibernateAutomationRoutineDAO extends com.logicaldoc.core.HibernatePersistentObjectDAO<AutomationRoutine> implements AutomationRoutineDAO
Implements the DAO for automation routines- Since:
- 8.1
- Author:
- Marco Meschieri - LogicalDOC
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandelete(long id, int code)AutomationRoutinefindByName(String name, long tenantId)voidinitialize(AutomationRoutine routine)-
Methods inherited from class com.logicaldoc.core.HibernatePersistentObjectDAO
bulkUpdate, delete, deleteAll, deleteAll, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDbms, getSessionFactory, isOracle, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, queryForObject, queryForRowSet, 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, deleteAll, deleteAll, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDbms, isOracle, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, queryForObject, queryForRowSet, queryForString, store
-
-
-
-
Method Detail
-
findByName
public AutomationRoutine findByName(String name, long tenantId)
- Specified by:
findByNamein interfaceAutomationRoutineDAO
-
initialize
public void initialize(AutomationRoutine routine)
- Specified by:
initializein interfacecom.logicaldoc.core.PersistentObjectDAO<AutomationRoutine>- Overrides:
initializein classcom.logicaldoc.core.HibernatePersistentObjectDAO<AutomationRoutine>
-
delete
public boolean delete(long id, int code) throws com.logicaldoc.core.PersistenceException- Specified by:
deletein interfacecom.logicaldoc.core.PersistentObjectDAO<AutomationRoutine>- Overrides:
deletein classcom.logicaldoc.core.HibernatePersistentObjectDAO<AutomationRoutine>- Throws:
com.logicaldoc.core.PersistenceException
-
-