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_MSFields inherited from class ubic.gemma.persistence.service.AbstractDao
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BioAssayDimensionValueObjectdoLoadValueObject(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, postProcessValueObjectsMethods 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, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ubic.gemma.persistence.service.BaseDao
countAll, create, create, findOrCreate, getElementClass, load, load, loadAll, loadReference, loadReference, reload, reload, remove, remove, remove, save, save, streamAll, streamAll, update, updateMethods 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:
findin interfaceBaseDao<BioAssayDimension>- Overrides:
findin 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:BioAssayDimensionDaoFind all the dimensions that contains all the given assays.Note: the dimension might contain more assays than the given ones.
- Specified by:
findByBioAssaysContainingAllin interfaceBioAssayDimensionDao
-
doLoadValueObject
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<BioAssayDimension,BioAssayDimensionValueObject>
-