Class GeneProductDaoImpl
java.lang.Object
ubic.gemma.persistence.service.AbstractDao<GeneProduct>
ubic.gemma.persistence.service.AbstractVoEnabledDao<GeneProduct,GeneProductValueObject>
ubic.gemma.persistence.service.genome.gene.GeneProductDaoImpl
- All Implemented Interfaces:
BaseDao<GeneProduct>,BaseVoEnabledDao<GeneProduct,,GeneProductValueObject> GeneProductDao
@Repository
public class GeneProductDaoImpl
extends AbstractVoEnabledDao<GeneProduct,GeneProductValueObject>
implements GeneProductDao
- Author:
- pavlidis
- 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 GeneProductValueObjectdoLoadValueObject(GeneProduct entity) Load a value object for a given entity.find(GeneProduct geneProduct) Does a look up for the given entity in the persistent storage, usually looking for a specific identifier ( either id or a string property).findByName(String name, Taxon taxon) findByNcbiId(String ncbiId) getGenesByName(String search) getGenesByNcbiId(String search) thaw(GeneProduct existing) 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
-
GeneProductDaoImpl
-
-
Method Details
-
findByNcbiId
- Specified by:
findByNcbiIdin interfaceGeneProductDao
-
getGenesByName
- Specified by:
getGenesByNamein interfaceGeneProductDao
-
getGenesByNcbiId
- Specified by:
getGenesByNcbiIdin interfaceGeneProductDao
-
findByName
- Specified by:
findByNamein interfaceGeneProductDao
-
thaw
- Specified by:
thawin interfaceGeneProductDao
-
find
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).- Specified by:
findin interfaceBaseDao<GeneProduct>- Overrides:
findin classAbstractDao<GeneProduct>- Parameters:
geneProduct- the entity to look for.- Returns:
- an entity that was found in the persistent storage, or null if no such entity was found.
-
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<GeneProduct,GeneProductValueObject>
-