Class BioAssayDaoImpl
- java.lang.Object
-
- ubic.gemma.persistence.service.AbstractDao<O>
-
- ubic.gemma.persistence.service.AbstractVoEnabledDao<O,VO>
-
- ubic.gemma.persistence.service.AbstractNoopFilteringVoEnabledDao<BioAssay,BioAssayValueObject>
-
- ubic.gemma.persistence.service.expression.bioAssay.BioAssayDaoImpl
-
- All Implemented Interfaces:
BaseDao<BioAssay>,BaseVoEnabledDao<BioAssay,BioAssayValueObject>,BioAssayDao,FilteringDao<BioAssay>,FilteringVoEnabledDao<BioAssay,BioAssayValueObject>
@Repository public class BioAssayDaoImpl extends AbstractNoopFilteringVoEnabledDao<BioAssay,BioAssayValueObject> implements BioAssayDao
- Author:
- pavlidis
-
-
Field Summary
-
Fields inherited from class ubic.gemma.persistence.service.AbstractVoEnabledDao
REPORT_SLOW_QUERY_AFTER_MS
-
Fields inherited from class ubic.gemma.persistence.service.AbstractDao
log
-
-
Constructor Summary
Constructors Constructor Description BioAssayDaoImpl(SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BioAssayValueObjectdoLoadValueObject(BioAssay entity)Load a value object for a given entity.BioAssayfind(BioAssay bioAssay)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<BioAssayDimension>findBioAssayDimensions(BioAssay bioAssay)Collection<BioAssay>findByAccession(String accession)BioAssayfindByShortName(String shortName)Collection<BioAssaySet>getBioAssaySets(BioAssay bioAssay)List<BioAssayValueObject>loadValueObjects(Collection<BioAssay> entities, Map<ArrayDesign,ArrayDesignValueObject> ad2vo, Map<BioAssay,BioAssay> assay2sourceAssayMap, boolean basic, boolean allFactorValues)-
Methods inherited from class ubic.gemma.persistence.service.AbstractNoopFilteringVoEnabledDao
count, getFilter, getFilter, getFilter, getFilter, getFilter, getFilter, getFilterableProperties, getFilterablePropertyAllowedValues, getFilterablePropertyDescription, getFilterablePropertyIsUsingSubquery, getFilterablePropertyType, getSort, load, load, loadIds, loadValueObjects, loadValueObjects
-
Methods inherited from class ubic.gemma.persistence.service.AbstractVoEnabledDao
doLoadValueObjects, loadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIds, postProcessValueObjects
-
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
-
Methods inherited from interface ubic.gemma.persistence.service.BaseVoEnabledDao
loadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIds
-
Methods inherited from interface ubic.gemma.persistence.service.FilteringDao
count, getFilter, getFilter, getFilter, getFilter, getFilter, getFilter, getFilterableProperties, getFilterablePropertyAllowedValues, getFilterablePropertyDescription, getFilterablePropertyIsUsingSubquery, getFilterablePropertyType, getSort, load, load, loadIds
-
Methods inherited from interface ubic.gemma.persistence.service.FilteringVoEnabledDao
loadValueObjects, loadValueObjects
-
-
-
-
Constructor Detail
-
BioAssayDaoImpl
@Autowired public BioAssayDaoImpl(SessionFactory sessionFactory)
-
-
Method Detail
-
find
public BioAssay find(BioAssay bioAssay)
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).
-
findByShortName
@Nullable public BioAssay findByShortName(String shortName)
- Specified by:
findByShortNamein interfaceBioAssayDao
-
findBioAssayDimensions
public Collection<BioAssayDimension> findBioAssayDimensions(BioAssay bioAssay)
- Specified by:
findBioAssayDimensionsin interfaceBioAssayDao
-
findByAccession
public Collection<BioAssay> findByAccession(String accession)
- Specified by:
findByAccessionin interfaceBioAssayDao
-
getBioAssaySets
public Collection<BioAssaySet> getBioAssaySets(BioAssay bioAssay)
- Specified by:
getBioAssaySetsin interfaceBioAssayDao
-
loadValueObjects
public List<BioAssayValueObject> loadValueObjects(Collection<BioAssay> entities, @Nullable Map<ArrayDesign,ArrayDesignValueObject> ad2vo, @Nullable Map<BioAssay,BioAssay> assay2sourceAssayMap, boolean basic, boolean allFactorValues)
- Specified by:
loadValueObjectsin interfaceBioAssayDao- See Also:
BioAssayValueObject(BioAssay, Map, BioAssay, boolean, boolean)
-
doLoadValueObject
protected BioAssayValueObject doLoadValueObject(BioAssay 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 classAbstractVoEnabledDao<BioAssay,BioAssayValueObject>
-
-