Class GeneProductServiceImpl
java.lang.Object
ubic.gemma.persistence.service.AbstractService<GeneProduct>
ubic.gemma.persistence.service.AbstractVoEnabledService<GeneProduct,GeneProductValueObject>
ubic.gemma.persistence.service.genome.gene.GeneProductServiceImpl
- All Implemented Interfaces:
BaseImmutableService<GeneProduct>,BaseReadOnlyService<GeneProduct>,BaseService<GeneProduct>,BaseVoEnabledService<GeneProduct,,GeneProductValueObject> GeneProductService
@Service
public class GeneProductServiceImpl
extends AbstractVoEnabledService<GeneProduct,GeneProductValueObject>
implements GeneProductService
- See Also:
-
Field Summary
Fields inherited from class ubic.gemma.persistence.service.AbstractService
log -
Constructor Summary
ConstructorsConstructorDescriptionGeneProductServiceImpl(AnnotationAssociationDao annotationAssociationDao, BioSequenceDao bioSequenceDao, BlatAssociationDao blatAssociationDao, GeneProductDao geneProductDao) -
Method Summary
Modifier and TypeMethodDescriptionfindByName(String name, Taxon taxon) getGenesByName(String search) getGenesByNcbiId(String search) voidRemoves the entity with given ID from the persistent storage.voidremove(Collection<GeneProduct> toRemove) Removes all the given entities from persistent storage.voidremove(GeneProduct entity) Removes the given entity from the persistent storage.thaw(GeneProduct existing) Methods inherited from class ubic.gemma.persistence.service.AbstractVoEnabledService
loadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIdsMethods inherited from class ubic.gemma.persistence.service.AbstractService
countAll, create, create, ensureInSession, ensureInSession, find, findOrCreate, findOrFail, getElementClass, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, save, save, streamAll, streamAll, update, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ubic.gemma.persistence.service.BaseImmutableService
createMethods inherited from interface ubic.gemma.persistence.service.BaseReadOnlyService
countAll, find, findOrFail, getElementClass, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, streamAll, streamAllMethods inherited from interface ubic.gemma.persistence.service.BaseService
save, saveMethods inherited from interface ubic.gemma.persistence.service.BaseVoEnabledService
loadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIdsMethods inherited from interface ubic.gemma.persistence.service.genome.gene.GeneProductService
create, findOrCreate, update, update
-
Constructor Details
-
GeneProductServiceImpl
@Autowired public GeneProductServiceImpl(AnnotationAssociationDao annotationAssociationDao, BioSequenceDao bioSequenceDao, BlatAssociationDao blatAssociationDao, GeneProductDao geneProductDao)
-
-
Method Details
-
getGenesByName
- Specified by:
getGenesByNamein interfaceGeneProductService- Parameters:
search- name- Returns:
- all the genes that share the given gene product name
-
getGenesByNcbiId
- Specified by:
getGenesByNcbiIdin interfaceGeneProductService- Parameters:
search- ncbiID- Returns:
- all the genes that share the given gene product ncbi id
-
findByName
- Specified by:
findByNamein interfaceGeneProductService
-
thaw
- Specified by:
thawin interfaceGeneProductService
-
remove
Description copied from interface:BaseImmutableServiceRemoves the given entity from the persistent storage.- Specified by:
removein interfaceBaseImmutableService<GeneProduct>- Specified by:
removein interfaceGeneProductService- Overrides:
removein classAbstractService<GeneProduct>- Parameters:
entity- the entity to be removed.
-
remove
Description copied from interface:BaseImmutableServiceRemoves all the given entities from persistent storage.- Specified by:
removein interfaceBaseImmutableService<GeneProduct>- Specified by:
removein interfaceGeneProductService- Overrides:
removein classAbstractService<GeneProduct>- Parameters:
toRemove- the entities to be removed.
-
remove
Description copied from interface:BaseImmutableServiceRemoves the entity with given ID from the persistent storage.- Specified by:
removein interfaceBaseImmutableService<GeneProduct>- Specified by:
removein interfaceGeneProductService- Overrides:
removein classAbstractService<GeneProduct>- Parameters:
id- the ID of entity to be removed.
-