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 boolean
delete(long id, int code)
AutomationRoutine
findByName(String name, long tenantId)
void
initialize(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:
findByName
in interfaceAutomationRoutineDAO
-
initialize
public void initialize(AutomationRoutine routine)
- Specified by:
initialize
in interfacecom.logicaldoc.core.PersistentObjectDAO<AutomationRoutine>
- Overrides:
initialize
in classcom.logicaldoc.core.HibernatePersistentObjectDAO<AutomationRoutine>
-
delete
public boolean delete(long id, int code) throws com.logicaldoc.core.PersistenceException
- Specified by:
delete
in interfacecom.logicaldoc.core.PersistentObjectDAO<AutomationRoutine>
- Overrides:
delete
in classcom.logicaldoc.core.HibernatePersistentObjectDAO<AutomationRoutine>
- Throws:
com.logicaldoc.core.PersistenceException
-
-