Class ListSampleCriteria

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    ListOrSearchSampleCriteria

    public class ListSampleCriteria
    extends java.lang.Object
    implements java.io.Serializable
    Criteria for listing samples. This class offers 3 kinds of filters, but only one can be used at the same time:
    1. samples of particular type in a specified space and/or shared
    2. samples belonging to a container sample
    3. samples derived from a parent sample
    4. samples connected with a child sample
    5. samples from the experiment
    See Also:
    Serialized Form
    • Constructor Detail

      • ListSampleCriteria

        public ListSampleCriteria()
    • Method Detail

      • createForContainers

        public static ListSampleCriteria createForContainers​(java.util.Collection<java.lang.Long> containerSampleIds)
      • createForChildren

        public static ListSampleCriteria createForChildren​(java.util.Collection<java.lang.Long> childrenSampleIds)
      • getContainerSampleIds

        public java.util.Collection<java.lang.Long> getContainerSampleIds()
      • getParentSampleId

        public TechId getParentSampleId()
      • getChildSampleId

        public TechId getChildSampleId()
      • getChildrenSampleIds

        public java.util.Collection<java.lang.Long> getChildrenSampleIds()
      • setChildrenSampleIds

        public final void setChildrenSampleIds​(java.util.Collection<java.lang.Long> childrenSampleIds)
      • getSampleType

        public SampleType getSampleType()
      • setSampleType

        public void setSampleType​(SampleType sampleType)
      • getSpaceCode

        public java.lang.String getSpaceCode()
      • setSpaceCode

        public void setSpaceCode​(java.lang.String spaceCode)
      • isIncludeSpace

        public boolean isIncludeSpace()
      • setIncludeSpace

        public void setIncludeSpace​(boolean includeSpace)
      • isIncludeInstance

        public boolean isIncludeInstance()
      • setIncludeInstance

        public void setIncludeInstance​(boolean includeInstance)
      • isExcludeWithoutExperiment

        public boolean isExcludeWithoutExperiment()
      • setExcludeWithoutExperiment

        public void setExcludeWithoutExperiment​(boolean excludeWithoutExperiment)
      • getExperimentId

        public TechId getExperimentId()
      • isOnlyDirectlyConnected

        public boolean isOnlyDirectlyConnected()
      • setOnlyDirectlyConnected

        public void setOnlyDirectlyConnected​(boolean onlyDirectlyConnected)