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

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.ExperimentFileSearchCriteriaImpl
All Implemented Interfaces:
Directable, Searchable, SessionObject, EnhancedSearchCriteria, ExperimentFileSearchCriteria, java.io.Serializable, java.lang.Cloneable

public class ExperimentFileSearchCriteriaImpl
extends EnhancedMAGEOMSearchCriteria
implements ExperimentFileSearchCriteria

Represents a query for ExperimentFileSummary 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
ExperimentFileSearchCriteriaImpl()
           
 
Method Summary
 ExperimentFileSummary[] performSearch()
          Performs the search.
 void setBioSourceIdentifiers(java.lang.String[] identifiers)
          Limits results to those with associated BioSource.identifier that matches.
 void setBioSourceNames(java.lang.String[] names)
          Limits results to those with associated BioSource.name that matches.
 void setExperimentIds(java.lang.Long[] ids)
          Limits results to those with associated Experiment.id that match.
 void setExperimentNames(java.lang.String[] names)
          Limits results to those with associated Experiment.name that matches.
 
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

ExperimentFileSearchCriteriaImpl

public ExperimentFileSearchCriteriaImpl()
Method Detail

setExperimentIds

public void setExperimentIds(java.lang.Long[] ids)
Description copied from interface: ExperimentFileSearchCriteria
Limits results to those with associated Experiment.id that match.

Specified by:
setExperimentIds in interface ExperimentFileSearchCriteria
Parameters:
ids - contains all Experiment.Id values

setExperimentNames

public void setExperimentNames(java.lang.String[] names)
Description copied from interface: ExperimentFileSearchCriteria
Limits results to those with associated Experiment.name that matches.

Specified by:
setExperimentNames in interface ExperimentFileSearchCriteria
Parameters:
names - the Experiment.name(s) values; supports wildcards '%'

setBioSourceNames

public void setBioSourceNames(java.lang.String[] names)
Description copied from interface: ExperimentFileSearchCriteria
Limits results to those with associated BioSource.name that matches.

Specified by:
setBioSourceNames in interface ExperimentFileSearchCriteria
Parameters:
names - the BioSource.name(s) values; supports wildcards '%'

setBioSourceIdentifiers

public void setBioSourceIdentifiers(java.lang.String[] identifiers)
Description copied from interface: ExperimentFileSearchCriteria
Limits results to those with associated BioSource.identifier that matches.

Specified by:
setBioSourceIdentifiers in interface ExperimentFileSearchCriteria
Parameters:
identifiers - the BioSource.identifier(s) values; supports wildcards '%'

performSearch

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

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