Class Gene2GOAssociationDaoImpl
- java.lang.Object
-
- ubic.gemma.persistence.service.AbstractDao<Gene2GOAssociation>
-
- ubic.gemma.persistence.service.association.Gene2GOAssociationDaoImpl
-
- All Implemented Interfaces:
Gene2GOAssociationDao
,BaseDao<Gene2GOAssociation>
@Repository public class Gene2GOAssociationDaoImpl extends AbstractDao<Gene2GOAssociation> implements Gene2GOAssociationDao
- Author:
- pavlidis
- See Also:
Gene2GOAssociation
-
-
Field Summary
-
Fields inherited from class ubic.gemma.persistence.service.AbstractDao
elementClass, log
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Gene2GOAssociationDaoImpl(SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Gene2GOAssociation
find(Gene2GOAssociation gene2GOAssociation)
Does a look up for the given entity in the persistent storage, usually looking for a specific identifier ( either id or a string property).Collection<Gene2GOAssociation>
findAssociationByGene(Gene gene)
Collection<Gene2GOAssociation>
findAssociationByGenes(Collection<Gene> genes)
Collection<Characteristic>
findByGene(Gene gene)
Map<Gene,Collection<Characteristic>>
findByGenes(Collection<Gene> genes)
Collection<Gene>
findByGoTermUris(Collection<String> uris)
Collection<Gene>
findByGoTermUris(Collection<String> uris, Taxon taxon)
Map<Taxon,Collection<Gene>>
findByGoTermUrisPerTaxon(Collection<String> uris)
int
removeAll()
-
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, getElementClass, getIdentifierPropertyName, load, load, loadAll, loadReference, loadReference, remove, remove, remove, save, save, update, update
-
Methods inherited from interface ubic.gemma.persistence.service.association.Gene2GOAssociationDao
findOrCreate
-
-
-
-
Constructor Detail
-
Gene2GOAssociationDaoImpl
@Autowired protected Gene2GOAssociationDaoImpl(SessionFactory sessionFactory)
-
-
Method Detail
-
find
public Gene2GOAssociation find(Gene2GOAssociation gene2GOAssociation)
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<Gene2GOAssociation>
- Specified by:
find
in interfaceGene2GOAssociationDao
- Overrides:
find
in classAbstractDao<Gene2GOAssociation>
- Parameters:
gene2GOAssociation
- the entity to look for.- Returns:
- an entity that was found in the persistent storage, or null if no such entity was found.
-
findAssociationByGene
public Collection<Gene2GOAssociation> findAssociationByGene(Gene gene)
- Specified by:
findAssociationByGene
in interfaceGene2GOAssociationDao
-
findAssociationByGenes
public Collection<Gene2GOAssociation> findAssociationByGenes(Collection<Gene> genes)
- Specified by:
findAssociationByGenes
in interfaceGene2GOAssociationDao
-
findByGene
public Collection<Characteristic> findByGene(Gene gene)
- Specified by:
findByGene
in interfaceGene2GOAssociationDao
-
findByGenes
public Map<Gene,Collection<Characteristic>> findByGenes(Collection<Gene> genes)
- Specified by:
findByGenes
in interfaceGene2GOAssociationDao
-
findByGoTermUris
public Collection<Gene> findByGoTermUris(Collection<String> uris)
- Specified by:
findByGoTermUris
in interfaceGene2GOAssociationDao
-
findByGoTermUris
public Collection<Gene> findByGoTermUris(Collection<String> uris, @Nullable Taxon taxon)
- Specified by:
findByGoTermUris
in interfaceGene2GOAssociationDao
-
findByGoTermUrisPerTaxon
public Map<Taxon,Collection<Gene>> findByGoTermUrisPerTaxon(Collection<String> uris)
- Specified by:
findByGoTermUrisPerTaxon
in interfaceGene2GOAssociationDao
-
removeAll
public int removeAll()
- Specified by:
removeAll
in interfaceGene2GOAssociationDao
-
-