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
-
Field Summary
Fields inherited from interface com.logicaldoc.core.PersistentObjectDAO
ENTITY
-
Method Summary
Modifier and TypeMethodDescriptionint
applyTriggersToTree
(long rootId) Replicates the triggers of a parent folder to all the treefindByFolderId
(long folderId) This method selects all triggers associated to a folderMethods inherited from interface com.logicaldoc.core.PersistentObjectDAO
bulkUpdate, delete, delete, deleteAll, deleteAll, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDatabaseMetadata, getDbms, initialize, isOracle, jdbcUpdate, jdbcUpdate, query, query, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForRowSet, queryForRowSet, queryForString, store
-
Method Details
-
findByFolderId
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
-