Interface WorkflowActionDao

  • All Known Implementing Classes:
    DefaultWorkflowActionDao

    public interface WorkflowActionDao
    Dao to find workflow actions
    • Method Detail

      • findStartWorkflowActions

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

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

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

        java.util.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

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