Class AnalysisOutputFileDownloadManager
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.ria.web.components.AnalysisOutputFileDownloadManager
-
@Component @Scope("session") public class AnalysisOutputFileDownloadManager extends java.lang.Object
This Spring Bean stores a temporary selection ofProjectSampleAnalysisOutputInfo
andAnalysisOutputFile
for batch download of the selected files.
-
-
Constructor Summary
Constructors Constructor Description AnalysisOutputFileDownloadManager(AnalysisSubmissionService analysisSubmissionService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<ProjectSampleAnalysisOutputInfo,AnalysisOutputFile>
getSelection()
Get the current selection ofAnalysisOutputFile
.java.lang.Long
setSelection(java.util.List<ProjectSampleAnalysisOutputInfo> outputs)
Set the selectedAnalysisOutputFile
-
-
-
Constructor Detail
-
AnalysisOutputFileDownloadManager
@Autowired public AnalysisOutputFileDownloadManager(AnalysisSubmissionService analysisSubmissionService)
-
-
Method Detail
-
setSelection
public java.lang.Long setSelection(java.util.List<ProjectSampleAnalysisOutputInfo> outputs)
Set the selectedAnalysisOutputFile
- Parameters:
outputs
- Selection to set- Returns:
- size of the current selection
-
getSelection
public java.util.Map<ProjectSampleAnalysisOutputInfo,AnalysisOutputFile> getSelection()
Get the current selection ofAnalysisOutputFile
.- Returns:
- Map of
ProjectSampleAnalysisOutputInfo
toAnalysisOutputFile
-
-