Class ListOrSearchSampleCriteria

  • All Implemented Interfaces:
    java.io.Serializable

    public final class ListOrSearchSampleCriteria
    extends ListSampleCriteria
    Extended ListSampleCriteria with 2 new filter options:
    • detailed sample search
    • tracking new samples of particular type
    Additionally one can decide if dependent samples that are loaded (parents and containers) should be enriched with properties. By default only 'primary' samples are enriched.

    NOTE: This bean is not serializable.
    See Also:
    Serialized Form
    • Constructor Detail

      • ListOrSearchSampleCriteria

        public ListOrSearchSampleCriteria​(java.util.Collection<java.lang.Long> sampleIds)
        Creates criteria for detailed search of samples with given ids.
      • ListOrSearchSampleCriteria

        public ListOrSearchSampleCriteria​(java.lang.String[] codes,
                                          boolean codesArePermIds)
        Creates criteria for detailed search of samples with codes.
      • ListOrSearchSampleCriteria

        public ListOrSearchSampleCriteria​(java.lang.String[] codes,
                                          boolean codesArePermIds,
                                          boolean searchForContainerSamplesOnly)
        Creates criteria for detailed search of samples with codes.
      • ListOrSearchSampleCriteria

        public ListOrSearchSampleCriteria​(java.lang.String[] codes,
                                          java.lang.String[] permIds)
        Creates criteria for detailed search of samples with codes.
    • Method Detail

      • getSampleIds

        public java.util.Collection<java.lang.Long> getSampleIds()
      • trySampleCodes

        public java.lang.String[] trySampleCodes()
      • trySamplePermIds

        public java.lang.String[] trySamplePermIds()
      • getSampleTypeCode

        public java.lang.String getSampleTypeCode()
      • getPropertyTypeCode

        public java.lang.String getPropertyTypeCode()
      • getPropertyValue

        public java.lang.String getPropertyValue()
      • getAlreadyTrackedSampleIds

        public java.util.Collection<java.lang.Long> getAlreadyTrackedSampleIds()
      • getMetaprojectId

        public java.lang.Long getMetaprojectId()
      • isEnrichDependentSamplesWithProperties

        public boolean isEnrichDependentSamplesWithProperties()
      • setEnrichDependentSamplesWithProperties

        public void setEnrichDependentSamplesWithProperties​(boolean enrichDependentSamplesWithProperties)
      • isSearchForContainerSamplesOnly

        public boolean isSearchForContainerSamplesOnly()