Class ChromosomeDaoImpl
- java.lang.Object
-
- ubic.gemma.persistence.service.AbstractDao<Chromosome>
-
- ubic.gemma.persistence.service.genome.ChromosomeDaoImpl
-
- All Implemented Interfaces:
BaseDao<Chromosome>
,ChromosomeDao
@Repository public class ChromosomeDaoImpl extends AbstractDao<Chromosome> implements ChromosomeDao
Base Spring DAO Class: is able to create, update, remove, load, and find objects of type
ubic.gemma.model.genome.Chromosome
.- See Also:
Chromosome
-
-
Field Summary
-
Fields inherited from class ubic.gemma.persistence.service.AbstractDao
elementClass, log
-
-
Constructor Summary
Constructors Constructor Description ChromosomeDaoImpl(SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Chromosome>
find(String name, Taxon taxon)
Chromosome
find(Chromosome entity)
Does a look up for the given entity in the persistent storage, usually looking for a specific identifier ( either id or a string property).-
Methods inherited from class ubic.gemma.persistence.service.AbstractDao
countAll, create, create, findByProperty, findByPropertyIn, findOneByProperty, findOrCreate, 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
-
ChromosomeDaoImpl
@Autowired public ChromosomeDaoImpl(SessionFactory sessionFactory)
-
-
Method Detail
-
find
public Collection<Chromosome> find(String name, Taxon taxon)
- Specified by:
find
in interfaceChromosomeDao
-
find
public Chromosome find(Chromosome entity)
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<Chromosome>
- Overrides:
find
in classAbstractDao<Chromosome>
- Parameters:
entity
- the entity to look for.- Returns:
- an entity that was found in the persistent storage, or null if no such entity was found.
-
-