Interface IWorkflowTaskDao

All Superinterfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<WorkflowTask, Long, IEntityContext>, IGenericDao<WorkflowTask>
All Known Implementing Classes:
WorkflowTaskDao

public interface IWorkflowTaskDao extends IGenericDao<WorkflowTask>
Data access object for creating, updating, and deleting WorkflowTask entities.
Since:
7.0.0
Author:
XIMA MEDIA GmbH
  • Method Details

    • getTasksWithTriggerType

      List<WorkflowTask> getTasksWithTriggerType(IEntityContext ec, Vorgang formRecord, List<String> triggerTypes)
      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.
    • getTasksWithTriggerType

      default List<WorkflowTask> getTasksWithTriggerType(IEntityContext ec, Vorgang formRecord, String... triggerTypes)
      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.