Class ExpressionExperimentSubSetDaoImpl
- java.lang.Object
-
- ubic.gemma.persistence.service.AbstractDao<ExpressionExperimentSubSet>
-
- ubic.gemma.persistence.service.expression.experiment.ExpressionExperimentSubSetDaoImpl
-
- All Implemented Interfaces:
BaseDao<ExpressionExperimentSubSet>
,ExpressionExperimentSubSetDao
@Repository public class ExpressionExperimentSubSetDaoImpl extends AbstractDao<ExpressionExperimentSubSet> implements ExpressionExperimentSubSetDao
Base Spring DAO Class: is able to create, update, remove, load, and find objects of type
ubic.gemma.model.expression.experiment.ExpressionExperimentSubSet
.- See Also:
ExpressionExperimentSubSet
-
-
Field Summary
-
Fields inherited from class ubic.gemma.persistence.service.AbstractDao
log
-
-
Constructor Summary
Constructors Constructor Description ExpressionExperimentSubSetDaoImpl(SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressionExperimentSubSet
find(ExpressionExperimentSubSet entity)
Does a look up for the given entity in the persistent storage, usually looking for a specific identifier ( either id or a string property).Collection<ExpressionExperimentSubSet>
findByBioAssayIn(Collection<BioAssay> bioAssays)
Collection<FactorValue>
getFactorValuesUsed(Long subSetId, Long experimentalFactor)
Collection<FactorValue>
getFactorValuesUsed(ExpressionExperimentSubSet entity, ExperimentalFactor factor)
Obtain theFactorValue
used by the samples from this subset in the given factor.ExpressionExperimentSubSet
loadWithBioAssays(Long id)
void
remove(ExpressionExperimentSubSet entity)
Remove a persistent instance-
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, 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, save, save, streamAll, streamAll, update, update
-
-
-
-
Constructor Detail
-
ExpressionExperimentSubSetDaoImpl
@Autowired public ExpressionExperimentSubSetDaoImpl(SessionFactory sessionFactory)
-
-
Method Detail
-
find
public ExpressionExperimentSubSet find(ExpressionExperimentSubSet entity)
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<ExpressionExperimentSubSet>
- Overrides:
find
in classAbstractDao<ExpressionExperimentSubSet>
- Parameters:
entity
- the entity to look for.- Returns:
- an entity that was found in the persistent storage, or null if no such entity was found.
-
loadWithBioAssays
@Nullable public ExpressionExperimentSubSet loadWithBioAssays(Long id)
- Specified by:
loadWithBioAssays
in interfaceExpressionExperimentSubSetDao
-
findByBioAssayIn
public Collection<ExpressionExperimentSubSet> findByBioAssayIn(Collection<BioAssay> bioAssays)
- Specified by:
findByBioAssayIn
in interfaceExpressionExperimentSubSetDao
-
getFactorValuesUsed
public Collection<FactorValue> getFactorValuesUsed(ExpressionExperimentSubSet entity, ExperimentalFactor factor)
Description copied from interface:ExpressionExperimentSubSetDao
Obtain theFactorValue
used by the samples from this subset in the given factor.- Specified by:
getFactorValuesUsed
in interfaceExpressionExperimentSubSetDao
-
getFactorValuesUsed
public Collection<FactorValue> getFactorValuesUsed(Long subSetId, Long experimentalFactor)
- Specified by:
getFactorValuesUsed
in interfaceExpressionExperimentSubSetDao
- See Also:
ExpressionExperimentSubSetDao.getFactorValuesUsed(ExpressionExperimentSubSet, ExperimentalFactor)
-
remove
public void remove(ExpressionExperimentSubSet entity)
Description copied from interface:BaseDao
Remove a persistent instance- Specified by:
remove
in interfaceBaseDao<ExpressionExperimentSubSet>
- Overrides:
remove
in classAbstractDao<ExpressionExperimentSubSet>
- Parameters:
entity
- the entity to be removed
-
-