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<Gene2GOAssociation> |
findAssociationByGenes(Collection<Gene> genes) |
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 |
removeAllInBatch()
Remove all entities from persistent storage.
|
countAll, create, create, createInBatch, getElementClass, load, load, loadAll, remove, remove, remove, removeInBatch, save, save, saveInBatch, update, update, updateInBatch
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<Gene2GOAssociation> findAssociationByGenes(Collection<Gene> genes)
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 removeAllInBatch()
BaseDao
removeAllInBatch
in interface BaseDao<Gene2GOAssociation>
Copyright © 2005–2023 Pavlidis lab, Michael Smith Laboratories and Department of Psychiatry, University of British Columbia. All rights reserved.