Class ExperimentalDesignDaoImpl
java.lang.Object
ubic.gemma.persistence.service.AbstractDao<ExperimentalDesign>
ubic.gemma.persistence.service.expression.experiment.ExperimentalDesignDaoImpl
- All Implemented Interfaces:
BaseDao<ExperimentalDesign>
,ExperimentalDesignDao
@Repository
public class ExperimentalDesignDaoImpl
extends AbstractDao<ExperimentalDesign>
implements ExperimentalDesignDao
- See Also:
-
Field Summary
Fields inherited from class ubic.gemma.persistence.service.AbstractDao
log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfind
(ExperimentalDesign experimentalDesign) Does a look up for the given entity in the persistent storage, usually looking for a specific identifier ( either id or a string property).getExpressionExperiment
(ExperimentalDesign experimentalDesign) getExpressionExperimentById
(Long experimentalDesignId) getRandomExperimentalDesignThatNeedsAttention
(ExperimentalDesign excludedDesign) Pick a random experimental design that needs attention.Methods inherited from class ubic.gemma.persistence.service.AbstractDao
countAll, create, create, findByProperty, findByPropertyIn, findOneByProperty, findOrCreate, getBatchSize, getElementClass, getIdentifierPropertyName, getSessionFactory, load, load, loadAll, loadReference, loadReference, reload, reload, remove, remove, remove, save, save, streamAll, streamAll, streamQuery, 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, findOrCreate, getElementClass, getIdentifierPropertyName, load, load, loadAll, loadReference, loadReference, reload, reload, remove, remove, remove, save, save, streamAll, streamAll, update, update
-
Constructor Details
-
ExperimentalDesignDaoImpl
-
-
Method Details
-
find
Description copied from interface:BaseDao
Does a look up for the given entity in the persistent storage, usually looking for a specific identifier ( either id or a string property).- Specified by:
find
in interfaceBaseDao<ExperimentalDesign>
- Overrides:
find
in classAbstractDao<ExperimentalDesign>
- Parameters:
experimentalDesign
- the entity to look for.- Returns:
- an entity that was found in the persistent storage, or null if no such entity was found.
-
loadWithExperimentalFactors
- Specified by:
loadWithExperimentalFactors
in interfaceExperimentalDesignDao
-
getExpressionExperiment
- Specified by:
getExpressionExperiment
in interfaceExperimentalDesignDao
- See Also:
-
getExpressionExperimentById
- Specified by:
getExpressionExperimentById
in interfaceExperimentalDesignDao
-
getRandomExperimentalDesignThatNeedsAttention
@Nullable public ExperimentalDesign getRandomExperimentalDesignThatNeedsAttention(ExperimentalDesign excludedDesign) Description copied from interface:ExperimentalDesignDao
Pick a random experimental design that needs attention.- Specified by:
getRandomExperimentalDesignThatNeedsAttention
in interfaceExperimentalDesignDao
- Parameters:
excludedDesign
- an excluded design from sampling- Returns:
- a random experimental design that needs attention or null if none are found
-