Interface Gene2GOAssociationDao
-
- All Superinterfaces:
BaseDao<Gene2GOAssociation>
- All Known Implementing Classes:
Gene2GOAssociationDaoImpl
public interface Gene2GOAssociationDao extends BaseDao<Gene2GOAssociation>
- See Also:
Gene2GOAssociation
-
-
Method Summary
All Methods Instance Methods Abstract 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)
Gene2GOAssociation
findOrCreate(Gene2GOAssociation gene2GOAssociation)
Calls the find method, and if this method returns null, creates a new instance in the persistent storage.int
removeAll()
-
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
-
-
-
-
Method Detail
-
find
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>
- 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.
-
findOrCreate
Gene2GOAssociation findOrCreate(Gene2GOAssociation gene2GOAssociation)
Description copied from interface:BaseDao
Calls the find method, and if this method returns null, creates a new instance in the persistent storage.- Specified by:
findOrCreate
in interfaceBaseDao<Gene2GOAssociation>
- Parameters:
gene2GOAssociation
- the entity to look for and persist if not found.- Returns:
- the given entity, guaranteed to be representing an entity present in the persistent storage.
-
findAssociationByGene
Collection<Gene2GOAssociation> findAssociationByGene(Gene gene)
-
findAssociationByGenes
Collection<Gene2GOAssociation> findAssociationByGenes(Collection<Gene> genes)
-
findByGene
Collection<Characteristic> findByGene(Gene gene)
-
findByGenes
Map<Gene,Collection<Characteristic>> findByGenes(Collection<Gene> genes)
-
findByGoTermUris
Collection<Gene> findByGoTermUris(Collection<String> uris)
-
findByGoTermUris
Collection<Gene> findByGoTermUris(Collection<String> uris, Taxon taxon)
-
findByGoTermUrisPerTaxon
Map<Taxon,Collection<Gene>> findByGoTermUrisPerTaxon(Collection<String> uris)
-
removeAll
int removeAll()
-
-