Class BioAssayDimensionDaoImpl
java.lang.Object
ubic.gemma.persistence.service.AbstractDao<BioAssayDimension>
ubic.gemma.persistence.service.AbstractVoEnabledDao<BioAssayDimension,BioAssayDimensionValueObject>
ubic.gemma.persistence.service.expression.bioAssayData.BioAssayDimensionDaoImpl
- All Implemented Interfaces:
BaseDao<BioAssayDimension>
,BaseVoEnabledDao<BioAssayDimension,
,BioAssayDimensionValueObject> BioAssayDimensionDao
@Repository
public class BioAssayDimensionDaoImpl
extends AbstractVoEnabledDao<BioAssayDimension,BioAssayDimensionValueObject>
implements BioAssayDimensionDao
Base Spring DAO Class: is able to create, update, remove, load, and find objects of type
ubic.gemma.model.expression.bioAssayData.BioAssayDimension
.
- See Also:
-
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected BioAssayDimensionValueObject
doLoadValueObject
(BioAssayDimension entity) Load a value object for a given entity.find
(BioAssayDimension bioAssayDimension) Find a BioAssayDimension with the exact same list of BioAssays, name and description.findByBioAssaysContainingAll
(Collection<BioAssay> bioAssays) Find all the dimensions that contains all the given assays.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
-
Constructor Details
-
BioAssayDimensionDaoImpl
-
-
Method Details
-
find
Find a BioAssayDimension with the exact same list of BioAssays, name and description.- Specified by:
find
in interfaceBaseDao<BioAssayDimension>
- Overrides:
find
in classAbstractDao<BioAssayDimension>
- Parameters:
bioAssayDimension
- the entity to look for.- Returns:
- an entity that was found in the persistent storage, or null if no such entity was found.
-
findByBioAssaysContainingAll
Description copied from interface:BioAssayDimensionDao
Find all the dimensions that contains all the given assays.Note: the dimension might contain more assays than the given ones.
- Specified by:
findByBioAssaysContainingAll
in interfaceBioAssayDimensionDao
-
doLoadValueObject
Description copied from class:AbstractVoEnabledDao
Load 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:
doLoadValueObject
in classAbstractVoEnabledDao<BioAssayDimension,
BioAssayDimensionValueObject>
-