Package de.xima.fc.dao.impl
Class WorkflowTaskDao
java.lang.Object
de.xima.cmn.dao.AbstractDao<T,Long,IEntityContext>
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<WorkflowTask,
,Long, IEntityContext> IGenericDao<WorkflowTask>
,IWorkflowTaskDao
The default implementation of
IWorkflowTaskDao
that can be accessed via DaoProvider
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Field Summary
Fields inherited from class de.xima.cmn.dao.AbstractDao
entityClass, LOG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTasksWithTriggerType
(IEntityContext ec, Vorgang formRecord, List<String> triggerTypes) Methods inherited from class de.xima.fc.dao.impl.GenericDao
getEntityRefs, getPostActionHook, getPreActionHook, read
Methods inherited from class de.xima.cmn.dao.AbstractDao
all, bulkDelete, bulkUpdate, cb, checkLockingVersion, cq, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, notifyListener, notifyListener, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.xima.cmn.dao.interfaces.IAbstractDao
all, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
Methods inherited from interface de.xima.fc.dao.interfaces.IGenericDao
count, findAll, findSingle, getEntityRefs, read
Methods inherited from interface de.xima.fc.dao.interfaces.IWorkflowTaskDao
getTasksWithTriggerType
-
Constructor Details
-
WorkflowTaskDao
public WorkflowTaskDao()Creates a new instance of this DAO. Normally you should use the singleton instance provided byDaoProvider.WORKFLOWTASK_DAO
.
-
-
Method Details
-
getTasksWithTriggerType
public List<WorkflowTask> getTasksWithTriggerType(IEntityContext ec, Vorgang formRecord, List<String> triggerTypes) - Specified by:
getTasksWithTriggerType
in interfaceIWorkflowTaskDao
- Parameters:
ec
- Entity context for interacting with the database.formRecord
- Form record for which to find the tasks.triggerTypes
- Trigger types of tasks to return.- Returns:
- A list of all tasks with the given trigger types.
-