Class ExpressionExperimentSetDaoImpl
- java.lang.Object
- 
- ubic.gemma.persistence.service.AbstractDao<O>
- 
- ubic.gemma.persistence.service.AbstractVoEnabledDao<ExpressionExperimentSet,ExpressionExperimentSetValueObject>
- 
- ubic.gemma.persistence.service.analysis.expression.ExpressionExperimentSetDaoImpl
 
 
 
- 
- All Implemented Interfaces:
- ExpressionExperimentSetDao,- BaseDao<ExpressionExperimentSet>,- BaseVoEnabledDao<ExpressionExperimentSet,ExpressionExperimentSetValueObject>
 
 @Repository public class ExpressionExperimentSetDaoImpl extends AbstractVoEnabledDao<ExpressionExperimentSet,ExpressionExperimentSetValueObject> implements ExpressionExperimentSetDao - Author:
- paul
 
- 
- 
Field Summary- 
Fields inherited from class ubic.gemma.persistence.service.AbstractVoEnabledDaoREPORT_SLOW_QUERY_AFTER_MS
 - 
Fields inherited from class ubic.gemma.persistence.service.AbstractDaoelementClass, log
 
- 
 - 
Constructor SummaryConstructors Constructor Description ExpressionExperimentSetDaoImpl(SessionFactory sessionFactory, ExpressionExperimentDao expressionExperimentDao)
 - 
Method Summary- 
Methods inherited from class ubic.gemma.persistence.service.AbstractVoEnabledDaoloadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIds, postProcessValueObjects
 - 
Methods inherited from class ubic.gemma.persistence.service.AbstractDaocountAll, create, create, find, 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface ubic.gemma.persistence.service.BaseDaocountAll, create, create, find, findOrCreate, getElementClass, getIdentifierPropertyName, load, load, loadAll, loadReference, loadReference, remove, remove, remove, save, save, update, update
 - 
Methods inherited from interface ubic.gemma.persistence.service.BaseVoEnabledDaoloadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIds
 
- 
 
- 
- 
- 
Constructor Detail- 
ExpressionExperimentSetDaoImpl@Autowired public ExpressionExperimentSetDaoImpl(SessionFactory sessionFactory, ExpressionExperimentDao expressionExperimentDao) 
 
- 
 - 
Method Detail- 
findpublic Collection<ExpressionExperimentSet> find(BioAssaySet bioAssaySet) - Specified by:
- findin interface- ExpressionExperimentSetDao
- Parameters:
- bioAssaySet- bio assay set
- Returns:
- expressionExperimentSets that contain the given bioAssaySet.
 
 - 
findByNamepublic Collection<ExpressionExperimentSet> findByName(String name) - Specified by:
- findByNamein interface- ExpressionExperimentSetDao
 
 - 
getExperimentsInSetpublic Collection<ExpressionExperiment> getExperimentsInSet(Long id) - Specified by:
- getExperimentsInSetin interface- ExpressionExperimentSetDao
- Parameters:
- id- id
- Returns:
- the security-filtered list of experiments in a set. It is possible for the return to be empty even if the set is not (due to security filters). Use this instead of expressionExperimentSet.getExperiments.
 
 - 
loadAllExperimentSetsWithTaxonpublic Collection<ExpressionExperimentSet> loadAllExperimentSetsWithTaxon() - Specified by:
- loadAllExperimentSetsWithTaxonin interface- ExpressionExperimentSetDao
- Returns:
- ExpressionExperimentSets that have more than 1 experiment in them & have a taxon value.
 
 - 
thawpublic void thaw(ExpressionExperimentSet expressionExperimentSet) - Specified by:
- thawin interface- ExpressionExperimentSetDao
 
 - 
loadAllValueObjectspublic Collection<ExpressionExperimentSetValueObject> loadAllValueObjects(boolean loadEEIds) - Specified by:
- loadAllValueObjectsin interface- ExpressionExperimentSetDao
- Parameters:
- loadEEIds- whether the returned value object should have the ExpressionExperimentIds collection populated. This might be a useful information, but loading the IDs takes slightly longer, so for larger amount of EESets this might want to be avoided.
- Returns:
- ee vos
 
 - 
loadValueObjectspublic List<ExpressionExperimentSetValueObject> loadValueObjects(Collection<Long> eeSetIds, boolean loadEEIds) - Specified by:
- loadValueObjectsin interface- ExpressionExperimentSetDao
- Parameters:
- eeSetIds- ids
- loadEEIds- whether the returned value object should have the ExpressionExperimentIds collection populated. This might be a useful information, but loading the IDs takes slightly longer, so for larger amount of EESets this might want to be avoided.
- Returns:
- ee vos
 
 - 
getExperimentValueObjectsInSetpublic Collection<ExpressionExperimentDetailsValueObject> getExperimentValueObjectsInSet(Long id) - Specified by:
- getExperimentValueObjectsInSetin interface- ExpressionExperimentSetDao
 
 - 
loadValueObjectpublic ExpressionExperimentSetValueObject loadValueObject(Long id, boolean loadEEIds) - Specified by:
- loadValueObjectin interface- ExpressionExperimentSetDao
- Parameters:
- id- id
- loadEEIds- whether the returned value object should have the ExpressionExperimentIds collection populated. This might be a useful information, but loading the IDs takes slightly longer, so for larger amount of EESets this might want to be avoided.
- Returns:
- ee vos
 
 - 
doLoadValueObjectprotected ExpressionExperimentSetValueObject doLoadValueObject(ExpressionExperimentSet entity) Description copied from class:AbstractVoEnabledDaoLoad a value object for a given entity.This should be fast and efficient, and avoid any database query or post-processing. If you need to perform additional queries, implement AbstractVoEnabledDao.postProcessValueObjects(List)instead.- Specified by:
- doLoadValueObjectin class- AbstractVoEnabledDao<ExpressionExperimentSet,ExpressionExperimentSetValueObject>
 
 - 
doLoadValueObjectspublic List<ExpressionExperimentSetValueObject> doLoadValueObjects(Collection<ExpressionExperimentSet> entities) Description copied from class:AbstractVoEnabledDaoLoad all the value objects for the given entities.The default is to apply AbstractVoEnabledDao.doLoadValueObject(Identifiable)on each entry and weed out null elements.This method should be fast and any post-processing should happen in AbstractVoEnabledDao.postProcessValueObjects(List).- Overrides:
- doLoadValueObjectsin class- AbstractVoEnabledDao<ExpressionExperimentSet,ExpressionExperimentSetValueObject>
 
 
- 
 
-