Class UIAnalysesOutputsService


  • @Component
    @Scope("session")
    public class UIAnalysesOutputsService
    extends java.lang.Object
    UI Service for all things related to project single sample analysis outputs.
    • Method Detail

      • getAutomatedSingleSampleOutputs

        public java.util.List<ProjectSampleAnalysisOutputInfo> getAutomatedSingleSampleOutputs​(java.lang.Long projectId)
        Get all the automated single sample analysis outputs for the project
        Parameters:
        projectId - Project id
        Returns:
        a list of filtered ProjectSampleAnalysisOutputInfo single sample analysis outputs
      • downloadAnalysisOutputsSelection

        public void downloadAnalysisOutputsSelection​(java.lang.String filename,
                                                     javax.servlet.http.HttpServletResponse response)
        Download the selected AnalysisOutputFile.
        Parameters:
        filename - Filename for file download.
        response - HttpServletResponse
      • downloadIndividualAnalysisOutputFile

        public void downloadIndividualAnalysisOutputFile​(java.lang.Long analysisSubmissionId,
                                                         java.lang.Long fileId,
                                                         java.lang.String filename,
                                                         javax.servlet.http.HttpServletResponse response)
        Download analysis output file
        Parameters:
        analysisSubmissionId - Id for a AnalysisSubmission
        fileId - the id of the file to download
        filename - Optional filename for file download.
        response - HttpServletResponse