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 protectedGene2GOAssociationDaoImpl(SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Gene2GOAssociationfind(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)intremoveAll()-
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: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<Gene2GOAssociation>- Specified by:
findin interfaceGene2GOAssociationDao- Overrides:
findin 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:
findAssociationByGenein interfaceGene2GOAssociationDao
-
findAssociationByGenes
public Collection<Gene2GOAssociation> findAssociationByGenes(Collection<Gene> genes)
- Specified by:
findAssociationByGenesin interfaceGene2GOAssociationDao
-
findByGene
public Collection<Characteristic> findByGene(Gene gene)
- Specified by:
findByGenein interfaceGene2GOAssociationDao
-
findByGenes
public Map<Gene,Collection<Characteristic>> findByGenes(Collection<Gene> genes)
- Specified by:
findByGenesin interfaceGene2GOAssociationDao
-
findByGoTermUris
public Collection<Gene> findByGoTermUris(Collection<String> uris)
- Specified by:
findByGoTermUrisin interfaceGene2GOAssociationDao
-
findByGoTermUris
public Collection<Gene> findByGoTermUris(Collection<String> uris, @Nullable Taxon taxon)
- Specified by:
findByGoTermUrisin interfaceGene2GOAssociationDao
-
findByGoTermUrisPerTaxon
public Map<Taxon,Collection<Gene>> findByGoTermUrisPerTaxon(Collection<String> uris)
- Specified by:
findByGoTermUrisPerTaxonin interfaceGene2GOAssociationDao
-
removeAll
public int removeAll()
- Specified by:
removeAllin interfaceGene2GOAssociationDao
-
-