Package com.logicaldoc.workflow.trigger
Interface WorkflowTriggerDAO
-
- All Superinterfaces:
com.logicaldoc.core.PersistentObjectDAO<WorkflowTrigger>
- All Known Implementing Classes:
HibernateWorkflowTriggerDAO
public interface WorkflowTriggerDAO extends com.logicaldoc.core.PersistentObjectDAO<WorkflowTrigger>
DAO to operate on Workflow triggers.- Since:
- 6.6.2
- Author:
- Marco Meschieri - LogicalDOC
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
applyTriggersToTree(long rootId)
Replicates the triggers of a parent folder to all the treeList<WorkflowTrigger>
findByFolderId(long folderId)
This method selects all triggers associated to a folder-
Methods inherited from interface com.logicaldoc.core.PersistentObjectDAO
bulkUpdate, bulkUpdate, delete, delete, deleteAll, deleteAll, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByObjectQuery, findByQuery, findByQuery, findByWhere, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDbms, initialize, isOracle, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForRowSet, queryForString, store
-
-
-
-
Method Detail
-
findByFolderId
List<WorkflowTrigger> findByFolderId(long folderId)
This method selects all triggers associated to a folder- Parameters:
folderId
- identifier of the folder- Returns:
- list of triggers
-
applyTriggersToTree
int applyTriggersToTree(long rootId)
Replicates the triggers of a parent folder to all the tree- Parameters:
rootId
- identifier of the folder root of the tree- Returns:
- number of altered folders
-
-