Interface TaxonService
- 
- All Superinterfaces:
- BaseImmutableService<Taxon>,- BaseReadOnlyService<Taxon>,- BaseService<Taxon>,- BaseVoEnabledService<Taxon,TaxonValueObject>,- FilteringService<Taxon>,- FilteringVoEnabledService<Taxon,TaxonValueObject>
 - All Known Implementing Classes:
- TaxonServiceImpl
 
 public interface TaxonService extends BaseService<Taxon>, FilteringVoEnabledService<Taxon,TaxonValueObject> - Author:
- kelsey
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description TaxonfindByCommonName(String commonName)TaxonfindByNcbiId(Integer ncbiId)TaxonfindByScientificName(String scientificName)TaxonfindOrCreate(Taxon taxon)Does a search for the entity in the persistent storage, and if not found, creates it.Collection<TaxonValueObject>getTaxaWithArrays()Collection<TaxonValueObject>getTaxaWithDatasets()Collection<TaxonValueObject>getTaxaWithEvidence()Collection<TaxonValueObject>getTaxaWithGenes()Collection<Taxon>loadAllTaxaWithGenes()voidremove(Long id)Removes the entity with given ID from the persistent storage.voidremove(Collection<Taxon> entities)Removes all the given entities from persistent storage.voidremove(Taxon taxon)Removes the given entity from the persistent storage.voidupdate(Collection<Taxon> entities)Updates all entities in the given collection in the persistent storage.voidupdate(Taxon taxon)Updates the given entity in the persistent storage.- 
Methods inherited from interface ubic.gemma.persistence.service.BaseImmutableServicecreate, create
 - 
Methods inherited from interface ubic.gemma.persistence.service.BaseReadOnlyServicecountAll, find, findOrFail, getElementClass, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail
 - 
Methods inherited from interface ubic.gemma.persistence.service.BaseServicesave, save
 - 
Methods inherited from interface ubic.gemma.persistence.service.BaseVoEnabledServiceloadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIds
 - 
Methods inherited from interface ubic.gemma.persistence.service.FilteringServicecount, getFilter, getFilter, getFilter, getFilter, getFilter, getFilter, getFilterableProperties, getFilterablePropertyAllowedValues, getFilterablePropertyConfigAttributes, getFilterablePropertyDescription, getFilterablePropertyIsUsingSubquery, getFilterablePropertyResolvableAllowedValuesLabels, getFilterablePropertyType, getIdentifierPropertyName, getSort, load, load, loadIds
 - 
Methods inherited from interface ubic.gemma.persistence.service.FilteringVoEnabledServiceloadValueObjects, loadValueObjects
 
- 
 
- 
- 
- 
Method Detail- 
findOrCreate@Secured("GROUP_USER") Taxon findOrCreate(Taxon taxon)Description copied from interface:BaseImmutableServiceDoes a search for the entity in the persistent storage, and if not found, creates it.- Specified by:
- findOrCreatein interface- BaseImmutableService<Taxon>
- Parameters:
- taxon- the entity to look for, and create if not found.
- Returns:
- the entity retrieved from the persistent storage, either found or created.
 
 - 
remove@Secured("GROUP_USER") void remove(Collection<Taxon> entities)Description copied from interface:BaseImmutableServiceRemoves all the given entities from persistent storage.- Specified by:
- removein interface- BaseImmutableService<Taxon>
- Parameters:
- entities- the entities to be removed.
 
 - 
remove@Secured("GROUP_ADMIN") void remove(Long id)Description copied from interface:BaseImmutableServiceRemoves the entity with given ID from the persistent storage.- Specified by:
- removein interface- BaseImmutableService<Taxon>
- Parameters:
- id- the ID of entity to be removed.
 
 - 
remove@Secured("GROUP_USER") void remove(Taxon taxon)Description copied from interface:BaseImmutableServiceRemoves the given entity from the persistent storage.- Specified by:
- removein interface- BaseImmutableService<Taxon>
- Parameters:
- taxon- the entity to be removed.
 
 - 
update@Secured("GROUP_USER") void update(Collection<Taxon> entities)Description copied from interface:BaseServiceUpdates all entities in the given collection in the persistent storage.- Specified by:
- updatein interface- BaseService<Taxon>
- Parameters:
- entities- the entities to be updated.
 
 - 
update@Secured("GROUP_USER") void update(Taxon taxon)Description copied from interface:BaseServiceUpdates the given entity in the persistent storage.- Specified by:
- updatein interface- BaseService<Taxon>
- Parameters:
- taxon- the entity to be updated.
 
 - 
loadAllTaxaWithGenesCollection<Taxon> loadAllTaxaWithGenes() - Returns:
- Taxon that have genes loaded into Gemma and that should be used
 
 - 
getTaxaWithEvidenceCollection<TaxonValueObject> getTaxaWithEvidence() 
 - 
getTaxaWithGenesCollection<TaxonValueObject> getTaxaWithGenes() - Returns:
- Taxon that have genes loaded into Gemma and that should be used
 
 - 
getTaxaWithDatasetsCollection<TaxonValueObject> getTaxaWithDatasets() - Returns:
- collection of taxa that have expression experiments available.
 
 - 
getTaxaWithArraysCollection<TaxonValueObject> getTaxaWithArrays() - Returns:
- List of taxa with array designs in gemma
 
 
- 
 
-