Class AnalysisSubmissionSpecification


  • public class AnalysisSubmissionSpecification
    extends java.lang.Object
    Specification for searching AnalysisSubmission properties
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.springframework.data.jpa.domain.Specification<AnalysisSubmission> filterAnalyses​(java.lang.String search, java.lang.String name, java.util.Set<AnalysisState> states, User user, java.util.Set<java.util.UUID> workflowIds, Project project, java.lang.Boolean automated)
      Search for analyses with a given name, AnalysisState, or Workflow UUID
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AnalysisSubmissionSpecification

        public AnalysisSubmissionSpecification()
    • Method Detail

      • filterAnalyses

        public static org.springframework.data.jpa.domain.Specification<AnalysisSubmission> filterAnalyses​(java.lang.String search,
                                                                                                           java.lang.String name,
                                                                                                           java.util.Set<AnalysisState> states,
                                                                                                           User user,
                                                                                                           java.util.Set<java.util.UUID> workflowIds,
                                                                                                           Project project,
                                                                                                           java.lang.Boolean automated)
        Search for analyses with a given name, AnalysisState, or Workflow UUID
        Parameters:
        search - Basic search string
        name - Analysis name
        states - Set of AnalysisState to filter by.
        workflowIds - Set of UUIDs to search
        user - The User owning the analysis
        project - A project the analysis is shared with
        automated - Whether this analysis submission was submitted as part of an automated process.
        Returns:
        Specification for this search