Class ExternalDatabaseDaoImpl
- java.lang.Object
-
- ubic.gemma.persistence.service.AbstractDao<ExternalDatabase>
-
- ubic.gemma.persistence.service.common.description.ExternalDatabaseDaoImpl
-
- All Implemented Interfaces:
BaseDao<ExternalDatabase>
,ExternalDatabaseDao
@Repository public class ExternalDatabaseDaoImpl extends AbstractDao<ExternalDatabase> implements ExternalDatabaseDao
- Author:
- pavlidis
- See Also:
ExternalDatabase
-
-
Field Summary
-
Fields inherited from class ubic.gemma.persistence.service.AbstractDao
elementClass, log
-
-
Constructor Summary
Constructors Constructor Description ExternalDatabaseDaoImpl(SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalDatabase
find(ExternalDatabase externalDatabase)
Does a look up for the given entity in the persistent storage, usually looking for a specific identifier ( either id or a string property).List<ExternalDatabase>
findAllByNameIn(Collection<String> names)
ExternalDatabase
findByName(String name)
ExternalDatabase
findByNameWithAuditTrail(String name)
-
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, 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, findOrCreate, getElementClass, getIdentifierPropertyName, load, load, loadAll, loadReference, loadReference, remove, remove, remove, save, save, update, update
-
-
-
-
Constructor Detail
-
ExternalDatabaseDaoImpl
@Autowired public ExternalDatabaseDaoImpl(SessionFactory sessionFactory)
-
-
Method Detail
-
find
public ExternalDatabase find(ExternalDatabase externalDatabase)
Description copied from interface:BaseDao
Does 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:
find
in interfaceBaseDao<ExternalDatabase>
- Overrides:
find
in classAbstractDao<ExternalDatabase>
- Parameters:
externalDatabase
- the entity to look for.- Returns:
- an entity that was found in the persistent storage, or null if no such entity was found.
-
findByName
public ExternalDatabase findByName(String name)
- Specified by:
findByName
in interfaceExternalDatabaseDao
-
findByNameWithAuditTrail
public ExternalDatabase findByNameWithAuditTrail(String name)
- Specified by:
findByNameWithAuditTrail
in interfaceExternalDatabaseDao
-
findAllByNameIn
public List<ExternalDatabase> findAllByNameIn(Collection<String> names)
- Specified by:
findAllByNameIn
in interfaceExternalDatabaseDao
-
-