gov.nih.nci.mageom.search.Experiment.enhanced.impl
Class ExperimentSearchCriteriaImpl

java.lang.Object
  extended by gov.nih.nci.caBIO.util.PermissionObject
      extended by gov.nih.nci.common.search.SearchCriteria
          extended by gov.nih.nci.mageom.search.impl.MAGEOMSearchCriteria
              extended by gov.nih.nci.mageom.search.enhanced.impl.EnhancedMAGEOMSearchCriteria
                  extended by gov.nih.nci.mageom.search.Experiment.enhanced.impl.ExperimentSearchCriteriaImpl
All Implemented Interfaces:
Directable, Searchable, SessionObject, EnhancedSearchCriteria, ExperimentSearchCriteria, java.io.Serializable, java.lang.Cloneable

public class ExperimentSearchCriteriaImpl
extends EnhancedMAGEOMSearchCriteria
implements ExperimentSearchCriteria, java.io.Serializable

Represents a query for Experiment objects.

Since:
1.5
Author:
matyass
See Also:
Serialized Form

Field Summary
 
Fields inherited from class gov.nih.nci.mageom.search.enhanced.impl.EnhancedMAGEOMSearchCriteria
enhancedSearchCriteria
 
Fields inherited from class gov.nih.nci.mageom.search.impl.MAGEOMSearchCriteria
currentHandler
 
Fields inherited from class gov.nih.nci.common.search.SearchCriteria
_ands, _groups, _ors, _sessionId, criteriaCollection, fillInAllObjects, fillInObjects, myObjects, orderBy
 
Constructor Summary
ExperimentSearchCriteriaImpl()
           
 
Method Summary
 void add(ExperimentSearchCriterion criterion)
          Add criterion using generic approach.
 Experiment[] performSearch()
          Performs the search.
 void setChipPlatformType(java.lang.String typeValue)
          Limits results to those Experiments with ArrayDesign(s) having designProviders with a matching Organization.name
 void setDesignElementIdentifier(java.lang.String[] identifiers)
          Limits results to those Experiments with matching DesignElement.identifier(s)
 void setDesignElementName(java.lang.String[] names)
          Limits results to those Experiments with matching DesignElement.name(s)
 void setExperimentName(java.lang.String name)
          Limits results to those where Experiment.name matches.
 void setInvestigatorName(NameCriterion name)
          Limit results to those Experiment with providers, Person(s), matching name criterion
 void setOrganism(java.lang.String name)
          Limits results to those Experiments with BioMaterial having characteristics, OntologyEntry(s), with a category of 'Organism' OR having descriptions.annotations, OntologyEntry(s), with a category of 'species'
 void setPubMedId(java.lang.String id)
          Limits results to those Experiments with BibliographicReference(s) accessions, DatabaseEntry(s), with a matching accession value.
 void setTissueType(java.lang.String typeValue)
          Limits results to those Experiment(s) with BioMaterial(s) having characteristics, OntologyEntry(s), with a category of 'OrganismPart'
 
Methods inherited from class gov.nih.nci.mageom.search.enhanced.impl.EnhancedMAGEOMSearchCriteria
add, getCriteria, getMaxRecordset, getOrderBy, performSearchHelper, putCriterion, putCriterion, setMaxRecordset, setOrderBy
 
Methods inherited from class gov.nih.nci.mageom.search.impl.MAGEOMSearchCriteria
defaultHandler, direct, getBeanClassName, getBeanName, getHandler, main, search, setHandler
 
Methods inherited from class gov.nih.nci.common.search.SearchCriteria
addCriteriaGroup, clone, equals, findCriterion, getAnds, getAvailableCriteria, getAvailableCriteria, getClassName, getCount, getCount, getCriteriaCollection, getCriteriaGroups, getCriterion, getCriterion, getCriterionValue, getFillInAllObjects, getFillInObjects, getObjects, getOrs, getReturnCount, getReturnObjects, getSearchCriteria, getSearchCriteria, getSessionId, getStartAt, hasElement, hashCode, putCriteria, putCriteria, putCriteria, putCriterion, putCriterion, putCriterion, putCriterion, putCriterion, putCriterion, putCriterion, putCriterion, putCriterion, putCriterion, putCriterion, putSearchCriteria, removeCriterion, removeElement, runSearch, search, setBeanClassName, setClassName, setFillInAllObjects, setFillInObjects, setObjects, setReturnCount, setReturnObjects, setSessionId, setStartAt
 
Methods inherited from class gov.nih.nci.caBIO.util.PermissionObject
getUserAccess, setArrayAccess, setUserAccess
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gov.nih.nci.mageom.search.EnhancedSearchCriteria
getCriteria, search
 
Methods inherited from interface gov.nih.nci.common.search.session.SessionObject
getSessionId, setSessionId
 
Methods inherited from interface gov.nih.nci.common.search.Searchable
getReturnCount, getReturnObjects, setReturnCount, setReturnObjects
 

Constructor Detail

ExperimentSearchCriteriaImpl

public ExperimentSearchCriteriaImpl()
Method Detail

setTissueType

public void setTissueType(java.lang.String typeValue)
Description copied from interface: ExperimentSearchCriteria
Limits results to those Experiment(s) with BioMaterial(s) having characteristics, OntologyEntry(s), with a category of 'OrganismPart'

Specified by:
setTissueType in interface ExperimentSearchCriteria
Parameters:
typeValue - the tissue type value; supports wildcards '%'
See Also:
ExperimentByTissueTypeQuery

setChipPlatformType

public void setChipPlatformType(java.lang.String typeValue)
Description copied from interface: ExperimentSearchCriteria
Limits results to those Experiments with ArrayDesign(s) having designProviders with a matching Organization.name

Specified by:
setChipPlatformType in interface ExperimentSearchCriteria
Parameters:
typeValue - the tissue type value; supports wildcards '%'
See Also:
ExperimentByChipPlatformTypeQuery

setDesignElementName

public void setDesignElementName(java.lang.String[] names)
Description copied from interface: ExperimentSearchCriteria
Limits results to those Experiments with matching DesignElement.name(s)

Specified by:
setDesignElementName in interface ExperimentSearchCriteria
Parameters:
names - the DesignElement.name values; supports wildcards '%'
See Also:
ExperimentByDesignElementNameQuery

setDesignElementIdentifier

public void setDesignElementIdentifier(java.lang.String[] identifiers)
Description copied from interface: ExperimentSearchCriteria
Limits results to those Experiments with matching DesignElement.identifier(s)

Specified by:
setDesignElementIdentifier in interface ExperimentSearchCriteria
Parameters:
identifiers - the DesignElement.identifier values; supports wildcards '%'
See Also:
ExperimentByDesignElementIdentiferQuery

setInvestigatorName

public void setInvestigatorName(NameCriterion name)
Description copied from interface: ExperimentSearchCriteria
Limit results to those Experiment with providers, Person(s), matching name criterion

Specified by:
setInvestigatorName in interface ExperimentSearchCriteria
Parameters:
name - the name criterion to limit results (supports wildcards '%')
See Also:
ExperimentByInvestigatorNameQuery

setOrganism

public void setOrganism(java.lang.String name)
Description copied from interface: ExperimentSearchCriteria
Limits results to those Experiments with BioMaterial having characteristics, OntologyEntry(s), with a category of 'Organism' OR having descriptions.annotations, OntologyEntry(s), with a category of 'species'

Specified by:
setOrganism in interface ExperimentSearchCriteria
Parameters:
name - the organism value; supports wildcards '%'
See Also:
ExperimentByOrganismNameQuery

setExperimentName

public void setExperimentName(java.lang.String name)
Description copied from interface: ExperimentSearchCriteria
Limits results to those where Experiment.name matches.

Specified by:
setExperimentName in interface ExperimentSearchCriteria
See Also:
ExperimentByExperimentNameQuery

setPubMedId

public void setPubMedId(java.lang.String id)
Description copied from interface: ExperimentSearchCriteria
Limits results to those Experiments with BibliographicReference(s) accessions, DatabaseEntry(s), with a matching accession value.

Specified by:
setPubMedId in interface ExperimentSearchCriteria
Parameters:
id - the DatabaseEntry.accession value; supports wildcards '%'
See Also:
ExperimentByPubMedIdQuery

add

public void add(ExperimentSearchCriterion criterion)
Description copied from interface: ExperimentSearchCriteria
Add criterion using generic approach. Insertion order will dictate result filtering order.

Specified by:
add in interface ExperimentSearchCriteria

performSearch

public Experiment[] performSearch()
                           throws gov.nih.nci.common.search.SearchException
Description copied from interface: ExperimentSearchCriteria
Performs the search.

Specified by:
performSearch in interface ExperimentSearchCriteria
Returns:
an array containing the instances that match the specifed criterion.
Throws:
gov.nih.nci.common.search.SearchException