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:
ExperimentalDesign
-
-
Field Summary
-
Fields inherited from class ubic.gemma.persistence.service.AbstractDao
elementClass, log
-
-
Constructor Summary
Constructors Constructor Description ExperimentalDesignDaoImpl(SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExperimentalDesign
find(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).ExpressionExperiment
getExpressionExperiment(ExperimentalDesign experimentalDesign)
ExperimentalDesign
getRandomExperimentalDesignThatNeedsAttention(ExperimentalDesign excludedDesign)
Pick a random experimental design that needs attention.ExperimentalDesign
loadWithExperimentalFactors(Long id)
-
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, 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, findOrCreate, getElementClass, getIdentifierPropertyName, load, load, loadAll, loadReference, loadReference, remove, remove, remove, save, save, update, update
-
-
-
-
Constructor Detail
-
ExperimentalDesignDaoImpl
@Autowired public ExperimentalDesignDaoImpl(SessionFactory sessionFactory)
-
-
Method Detail
-
find
public ExperimentalDesign find(ExperimentalDesign experimentalDesign)
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
public ExperimentalDesign loadWithExperimentalFactors(Long id)
- Specified by:
loadWithExperimentalFactors
in interfaceExperimentalDesignDao
-
getExpressionExperiment
public ExpressionExperiment getExpressionExperiment(ExperimentalDesign experimentalDesign)
- Specified by:
getExpressionExperiment
in interfaceExperimentalDesignDao
- See Also:
ExperimentalDesignDao.getExpressionExperiment(ubic.gemma.model.expression.experiment.ExperimentalDesign)
-
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
-
-