Interface GeneSetDao
- All Superinterfaces:
BaseDao<GeneSet>,BaseVoEnabledDao<GeneSet,DatabaseBackedGeneSetValueObject>
- All Known Implementing Classes:
GeneSetDaoImpl
@ParametersAreNonnullByDefault
public interface GeneSetDao
extends BaseVoEnabledDao<GeneSet,DatabaseBackedGeneSetValueObject>
The interface for managing groupings of genes.
- Author:
- kelsey
-
Method Summary
Modifier and TypeMethodDescriptionfindByGene(Gene gene) findByName(String name) findByName(String name, Taxon taxon) intgetGeneCount(Long id) This method does not do any permissions filtering.Return all the taxa of the gene set members.Returns the taxon of an arbitrary member of the set.loadValueObjectsByIdsLite(Collection<Long> geneSetIds) intvoidMethods inherited from interface ubic.gemma.persistence.service.BaseDao
countAll, create, create, find, findOrCreate, getElementClass, load, load, loadAll, loadReference, loadReference, reload, reload, remove, remove, remove, save, save, streamAll, streamAll, update, updateMethods inherited from interface ubic.gemma.persistence.service.BaseVoEnabledDao
loadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIds
-
Method Details
-
getGeneCount
This method does not do any permissions filtering. It assumes that id the user can see the set, they can see all the members.- Parameters:
id- gene set id- Returns:
- integer count of genes in set
-
getTaxon
Returns the taxon of an arbitrary member of the set.- Returns:
- the taxon, or null if the gene set does not have any member
-
getTaxa
Return all the taxa of the gene set members. -
loadValueObjectByIdLite
-
loadValueObjectsByIdsLite
-
findByGene
-
findByName
- Parameters:
name- uses the given name to do a name* search in the db- Returns:
- a collection of geneSets that match the given search term.
-
findByName
-
loadAll
-
thaw
- Parameters:
geneSet- gene set
-
removeAll
int removeAll()
-