Class UIPipelineService


  • @Component
    public class UIPipelineService
    extends java.lang.Object
    UI Service for all things related to workflow pipelines.
    • Method Detail

      • getWorkflowTypes

        public java.util.List<Pipeline> getWorkflowTypes​(java.lang.Boolean automated,
                                                         java.util.Locale locale)
        Get a list of pipeline workflows, if the automated flag is set then only those pipelines that can be run automated will be returned
        Parameters:
        automated - if true, then this is from a project for creating automated pipelines
        locale - currently logged in users locale
        Returns:
        list of pipelines
      • getProjectAnalysisTemplates

        public java.util.List<AnalysisTemplate> getProjectAnalysisTemplates​(java.lang.Long projectId,
                                                                            java.util.Locale locale)
        List of existing automated workflows on a project
        Parameters:
        projectId - identifier for a project
        locale - currently logged in users local
        Returns:
        list of existing automated workflows (AnalysisTemplate) for a project.
      • removeProjectAutomatedPipeline

        public java.lang.String removeProjectAutomatedPipeline​(java.lang.Long templateId,
                                                               java.lang.Long projectId,
                                                               java.util.Locale locale)
        Remove an automated workflow from a project
        Parameters:
        templateId - identifier for the automated workflow (AnalysisTemplate)
        projectId - identifier for the project
        locale - currently logged in users locale
        Returns:
        message to the user about the status of the removal