Class DatabaseEntryDaoImpl
- java.lang.Object
-
- ubic.gemma.persistence.service.AbstractDao<O>
-
- ubic.gemma.persistence.service.AbstractVoEnabledDao<O,VO>
-
- ubic.gemma.persistence.service.AbstractNoopFilteringVoEnabledDao<DatabaseEntry,DatabaseEntryValueObject>
-
- ubic.gemma.persistence.service.common.description.DatabaseEntryDaoImpl
-
- All Implemented Interfaces:
BaseDao<DatabaseEntry>
,BaseVoEnabledDao<DatabaseEntry,DatabaseEntryValueObject>
,DatabaseEntryDao
,FilteringDao<DatabaseEntry>
,FilteringVoEnabledDao<DatabaseEntry,DatabaseEntryValueObject>
@Repository public class DatabaseEntryDaoImpl extends AbstractNoopFilteringVoEnabledDao<DatabaseEntry,DatabaseEntryValueObject> implements DatabaseEntryDao
Base Spring DAO Class: is able to create, update, remove, load, and find objects of typeDatabaseEntry
.- See Also:
DatabaseEntry
-
-
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
elementClass, log
-
Fields inherited from interface ubic.gemma.persistence.service.common.description.DatabaseEntryDao
OBJECT_ALIAS
-
-
Constructor Summary
Constructors Constructor Description DatabaseEntryDaoImpl(SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DatabaseEntryValueObject
doLoadValueObject(DatabaseEntry entity)
Load a value object for a given entity.List<DatabaseEntry>
findByAccession(String accession)
-
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, 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.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ubic.gemma.persistence.service.BaseDao
countAll, 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.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
-
DatabaseEntryDaoImpl
@Autowired public DatabaseEntryDaoImpl(SessionFactory sessionFactory)
-
-
Method Detail
-
findByAccession
public List<DatabaseEntry> findByAccession(String accession)
- Specified by:
findByAccession
in interfaceDatabaseEntryDao
-
doLoadValueObject
protected DatabaseEntryValueObject doLoadValueObject(DatabaseEntry entity)
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<DatabaseEntry,DatabaseEntryValueObject>
-
-