Interface WorkflowActionDao

All Known Implementing Classes:
DefaultWorkflowActionDao

public interface WorkflowActionDao
Dao to find workflow actions
  • Method Details

    • findStartWorkflowActions

      List<WorkflowActionModel> findStartWorkflowActions(WorkflowModel workflow)
      Parameters:
      workflow - to which actions are assigned to
      Returns:
      all workflow actions that are marked as 'start action'
    • findNormalWorkflowActions

      List<WorkflowActionModel> findNormalWorkflowActions(WorkflowModel workflow)
      Parameters:
      workflow - to which actions are assigned to
      Returns:
      all workflow actions that are marked as 'normal action'
    • findEndWorkflowActions

      List<WorkflowActionModel> findEndWorkflowActions(WorkflowModel workflow)
      Parameters:
      workflow - to which actions are assigned to
      Returns:
      all workflow actions that are marked as 'end action'
    • findWorkflowActionsByType

      List<WorkflowActionModel> findWorkflowActionsByType(WorkflowActionType type, WorkflowModel workflow)
      Parameters:
      workflow - to which actions are assigned to
      type - workflow type
      Returns:
      all workflow actions which are of given type
    • findWorkflowActionsByStatusAndAttachmentType

      List<WorkflowActionModel> findWorkflowActionsByStatusAndAttachmentType(List<ComposedTypeModel> attachmentTypes, Collection<WorkflowActionStatus> actionStatuses)
      Parameters:
      attachmentTypes - attachment types
      actionStatuses - action statuses
      Returns:
      all workflow actions that match attachment types and statuses