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).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, getEntityName, getIdentifierPropertyName, getSessionFactory, load, load, loadAll, loadReference, loadReference, reload, reload, remove, remove, remove, save, save, streamAll, streamAll, streamQuery, update, update
-
Constructor Details
-
ExperimentalDesignDaoImpl
-
-
Method Details
-
find
Description copied from interface:BaseDaoDoes 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:
findin interfaceBaseDao<ExperimentalDesign>- Overrides:
findin 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.
-
getRandomExperimentalDesignThatNeedsAttention
@Nullable public ExperimentalDesign getRandomExperimentalDesignThatNeedsAttention(ExperimentalDesign excludedDesign) Description copied from interface:ExperimentalDesignDaoPick a random experimental design that needs attention.- Specified by:
getRandomExperimentalDesignThatNeedsAttentionin interfaceExperimentalDesignDao- Parameters:
excludedDesign- an excluded design from sampling- Returns:
- a random experimental design that needs attention or null if none are found
-