Class ListOrSearchSampleCriteria
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.ListSampleCriteria
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.ListOrSearchSampleCriteria
-
- All Implemented Interfaces:
java.io.Serializable
public final class ListOrSearchSampleCriteria extends ListSampleCriteria
ExtendedListSampleCriteria
with 2 new filter options:- detailed sample search
- tracking new samples of particular type
NOTE: This bean is not serializable.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListOrSearchSampleCriteria(ListSampleCriteria listCriteria)
Creates criteria that delegates to givenListSampleCriteria
.ListOrSearchSampleCriteria(MetaprojectCriteria metaprojectCriteria)
Creates criteria that delegates to givenMetaprojectCriteria
.ListOrSearchSampleCriteria(TrackingSampleCriteria newTrackingCriteria)
Creates criteria that delegates to givenTrackingSampleCriteria
.ListOrSearchSampleCriteria(java.lang.String[] codes, boolean codesArePermIds)
Creates criteria for detailed search of samples with codes.ListOrSearchSampleCriteria(java.lang.String[] codes, boolean codesArePermIds, boolean searchForContainerSamplesOnly)
Creates criteria for detailed search of samples with codes.ListOrSearchSampleCriteria(java.lang.String[] codes, java.lang.String[] permIds)
Creates criteria for detailed search of samples with codes.ListOrSearchSampleCriteria(java.util.Collection<java.lang.Long> sampleIds)
Creates criteria for detailed search of samples with given ids.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<java.lang.Long>
getAlreadyTrackedSampleIds()
java.util.Collection<java.lang.Long>
getChildrenSampleIds()
TechId
getChildSampleId()
java.util.Collection<java.lang.Long>
getContainerSampleIds()
TechId
getExperimentId()
java.lang.Long
getMetaprojectId()
TechId
getParentSampleId()
java.lang.String
getPropertyTypeCode()
java.lang.String
getPropertyValue()
java.util.Collection<java.lang.Long>
getSampleIds()
SampleType
getSampleType()
java.lang.String
getSampleTypeCode()
java.lang.String
getSpaceCode()
boolean
isEnrichDependentSamplesWithProperties()
boolean
isExcludeWithoutExperiment()
boolean
isIncludeInstance()
boolean
isIncludeSpace()
boolean
isOnlyDirectlyConnected()
boolean
isSearchForContainerSamplesOnly()
void
setEnrichDependentSamplesWithProperties(boolean enrichDependentSamplesWithProperties)
java.lang.String[]
trySampleCodes()
java.lang.String[]
trySamplePermIds()
-
Methods inherited from class ch.systemsx.cisd.openbis.generic.shared.basic.dto.ListSampleCriteria
createForChild, createForChildren, createForContainer, createForContainers, createForExperiment, createForParent, setChildrenSampleIds, setExcludeWithoutExperiment, setIncludeInstance, setIncludeSpace, setOnlyDirectlyConnected, setSampleType, setSpaceCode
-
-
-
-
Constructor Detail
-
ListOrSearchSampleCriteria
public ListOrSearchSampleCriteria(ListSampleCriteria listCriteria)
Creates criteria that delegates to givenListSampleCriteria
.
-
ListOrSearchSampleCriteria
public ListOrSearchSampleCriteria(TrackingSampleCriteria newTrackingCriteria)
Creates criteria that delegates to givenTrackingSampleCriteria
.
-
ListOrSearchSampleCriteria
public ListOrSearchSampleCriteria(MetaprojectCriteria metaprojectCriteria)
Creates criteria that delegates to givenMetaprojectCriteria
.
-
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()
-
getContainerSampleIds
public java.util.Collection<java.lang.Long> getContainerSampleIds()
- Overrides:
getContainerSampleIds
in classListSampleCriteria
-
getParentSampleId
public TechId getParentSampleId()
- Overrides:
getParentSampleId
in classListSampleCriteria
-
getChildSampleId
public TechId getChildSampleId()
- Overrides:
getChildSampleId
in classListSampleCriteria
-
isOnlyDirectlyConnected
public boolean isOnlyDirectlyConnected()
- Overrides:
isOnlyDirectlyConnected
in classListSampleCriteria
-
getChildrenSampleIds
public java.util.Collection<java.lang.Long> getChildrenSampleIds()
- Overrides:
getChildrenSampleIds
in classListSampleCriteria
-
getExperimentId
public TechId getExperimentId()
- Overrides:
getExperimentId
in classListSampleCriteria
-
getSpaceCode
public java.lang.String getSpaceCode()
- Overrides:
getSpaceCode
in classListSampleCriteria
-
getSampleType
public SampleType getSampleType()
- Overrides:
getSampleType
in classListSampleCriteria
-
isExcludeWithoutExperiment
public boolean isExcludeWithoutExperiment()
- Overrides:
isExcludeWithoutExperiment
in classListSampleCriteria
-
isIncludeSpace
public boolean isIncludeSpace()
- Overrides:
isIncludeSpace
in classListSampleCriteria
-
isIncludeInstance
public boolean isIncludeInstance()
- Overrides:
isIncludeInstance
in classListSampleCriteria
-
isEnrichDependentSamplesWithProperties
public boolean isEnrichDependentSamplesWithProperties()
-
setEnrichDependentSamplesWithProperties
public void setEnrichDependentSamplesWithProperties(boolean enrichDependentSamplesWithProperties)
-
isSearchForContainerSamplesOnly
public boolean isSearchForContainerSamplesOnly()
-
-