Class SingleExperimentAnalysisDaoBase<T extends SingleExperimentAnalysis>
- java.lang.Object
-
- ubic.gemma.persistence.service.AbstractDao<T>
-
- ubic.gemma.persistence.service.analysis.SingleExperimentAnalysisDaoBase<T>
-
- All Implemented Interfaces:
AnalysisDao<T>,SingleExperimentAnalysisDao<T>,BaseDao<T>
- Direct Known Subclasses:
CoexpressionAnalysisDaoImpl
public abstract class SingleExperimentAnalysisDaoBase<T extends SingleExperimentAnalysis> extends AbstractDao<T> implements SingleExperimentAnalysisDao<T>
Base Spring DAO Class: is able to create, update, remove, load, and find objects of typeSingleExperimentAnalysis.The single experiment analysis has a related
BioAssaySetwhich is typically either aExpressionExperimentor aExpressionExperimentSubSet.- See Also:
SingleExperimentAnalysis
-
-
Field Summary
-
Fields inherited from class ubic.gemma.persistence.service.AbstractDao
elementClass, log
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSingleExperimentAnalysisDaoBase(Class<T> elementClass, SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexistsByExperiment(BioAssaySet ee)Indicate if there is an analysis (or at least one) for the given experiment.Collection<T>findByExperiment(BioAssaySet experiment)Find by associated experiment viaSingleExperimentAnalysis.getExperimentAnalyzed().Map<BioAssaySet,Collection<T>>findByExperiments(Collection<? extends BioAssaySet> experiments)Given a collection of experiments returns a Map of Analysis --> collection of Experiments The collection of investigations returned by the map will include all the investigations for the analysis key iff one of the investigations for that analysis was in the given collection started withCollection<T>findByName(String name)Collection<T>findByTaxon(Taxon taxon)-
Methods inherited from class ubic.gemma.persistence.service.AbstractDao
countAll, create, create, find, findByProperty, findByPropertyIn, findOneByProperty, findOrCreate, getElementClass, getIdentifierPropertyName, getSessionFactory, load, load, loadAll, loadReference, loadReference, remove, remove, remove, save, save, update, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ubic.gemma.persistence.service.BaseDao
countAll, create, create, find, findOrCreate, getElementClass, getIdentifierPropertyName, load, load, loadAll, loadReference, loadReference, remove, remove, remove, save, save, update, update
-
-
-
-
Constructor Detail
-
SingleExperimentAnalysisDaoBase
protected SingleExperimentAnalysisDaoBase(Class<T> elementClass, SessionFactory sessionFactory)
-
-
Method Detail
-
findByExperiment
public Collection<T> findByExperiment(BioAssaySet experiment)
Description copied from interface:SingleExperimentAnalysisDaoFind by associated experiment viaSingleExperimentAnalysis.getExperimentAnalyzed().- Specified by:
findByExperimentin interfaceSingleExperimentAnalysisDao<T extends SingleExperimentAnalysis>
-
findByExperiments
public Map<BioAssaySet,Collection<T>> findByExperiments(Collection<? extends BioAssaySet> experiments)
Description copied from interface:SingleExperimentAnalysisDaoGiven a collection of experiments returns a Map of Analysis --> collection of Experiments The collection of investigations returned by the map will include all the investigations for the analysis key iff one of the investigations for that analysis was in the given collection started with- Specified by:
findByExperimentsin interfaceSingleExperimentAnalysisDao<T extends SingleExperimentAnalysis>- Parameters:
experiments- experiments- Returns:
- map to analyses
-
findByTaxon
public Collection<T> findByTaxon(Taxon taxon)
- Specified by:
findByTaxonin interfaceAnalysisDao<T extends SingleExperimentAnalysis>
-
findByName
public Collection<T> findByName(String name)
- Specified by:
findByNamein interfaceAnalysisDao<T extends SingleExperimentAnalysis>- Parameters:
name- name- Returns:
- a collection of analysis that have a name that starts with the given name
-
existsByExperiment
public boolean existsByExperiment(BioAssaySet ee)
Description copied from interface:AnalysisDaoIndicate if there is an analysis (or at least one) for the given experiment.- Specified by:
existsByExperimentin interfaceAnalysisDao<T extends SingleExperimentAnalysis>
-
-