public interface Gene2GOAssociationDao extends BaseDao<Gene2GOAssociation>
Gene2GOAssociation
Modifier and Type | Method and 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<Characteristic> |
findByGene(Gene gene) |
Map<Gene,Collection<Characteristic>> |
findByGenes(Collection<Gene> needToFind) |
Collection<Gene> |
findByGoTerm(String goId,
Taxon taxon) |
Map<Taxon,Collection<Gene>> |
findByGoTermsPerTaxon(Collection<String> termsToFetch) |
Gene2GOAssociation |
findOrCreate(Gene2GOAssociation gene2GOAssociation)
Calls the find method, and if this method returns null, creates a new instance in the persistent storage.
|
Collection<Gene> |
getGenes(Collection<String> ids) |
Collection<Gene> |
getGenes(Collection<String> ids,
Taxon taxon) |
void |
removeAll()
Remove all entities from persistent storage.
|
Gene2GOAssociation find(Gene2GOAssociation gene2GOAssociation)
BaseDao
find
in interface BaseDao<Gene2GOAssociation>
gene2GOAssociation
- the entity to look for.Gene2GOAssociation findOrCreate(Gene2GOAssociation gene2GOAssociation)
BaseDao
findOrCreate
in interface BaseDao<Gene2GOAssociation>
gene2GOAssociation
- the entity to look for and persist if not found.Collection<Gene2GOAssociation> findAssociationByGene(Gene gene)
Collection<Characteristic> findByGene(Gene gene)
Map<Gene,Collection<Characteristic>> findByGenes(Collection<Gene> needToFind)
Collection<Gene> findByGoTerm(String goId, Taxon taxon)
Map<Taxon,Collection<Gene>> findByGoTermsPerTaxon(Collection<String> termsToFetch)
Collection<Gene> getGenes(Collection<String> ids)
Collection<Gene> getGenes(Collection<String> ids, @Nullable Taxon taxon)
void removeAll()
BaseDao
removeAll
in interface BaseDao<Gene2GOAssociation>
Copyright © 2005–2023 Pavlidis lab, Michael Smith Laboratories and Department of Psychiatry, University of British Columbia. All rights reserved.