Package de.xima.fc.dao.impl
Class WorkflowTaskDao
- java.lang.Object
-
- de.xima.cmn.dao.AbstractDao<T,Long,IEntityContext>
-
- de.xima.fc.dao.impl.GenericDao<WorkflowTask>
-
- de.xima.fc.dao.impl.WorkflowTaskDao
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<WorkflowTask,Long,IEntityContext>
,IGenericDao<WorkflowTask>
,IWorkflowTaskDao
public class WorkflowTaskDao extends GenericDao<WorkflowTask> implements IWorkflowTaskDao
The default implementation ofIWorkflowTaskDao
that can be accessed viaDaoProvider
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description WorkflowTaskDao()
Creates a new instance of this DAO.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<WorkflowTask>
getTasksWithTriggerType(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 Detail
-
WorkflowTaskDao
public WorkflowTaskDao()
Creates a new instance of this DAO. Normally you should use the singleton instance provided byDaoProvider.WORKFLOWTASK_DAO
.
-
-
Method Detail
-
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.
-
-