Class AnnotationAssociationServiceImpl
java.lang.Object
ubic.gemma.persistence.service.AbstractService<AnnotationAssociation>
ubic.gemma.persistence.service.genome.sequenceAnalysis.AnnotationAssociationServiceImpl
- All Implemented Interfaces:
BaseImmutableService<AnnotationAssociation>, BaseReadOnlyService<AnnotationAssociation>, BaseService<AnnotationAssociation>, AdminEditableBaseImmutableService<AnnotationAssociation>, AnnotationAssociationService
@Service
public class AnnotationAssociationServiceImpl
extends AbstractService<AnnotationAssociation>
implements AnnotationAssociationService
-
Field Summary
Fields inherited from class AbstractService
log -
Constructor Summary
ConstructorsConstructorDescriptionAnnotationAssociationServiceImpl(AnnotationAssociationDao annotationAssociationDao) -
Method Summary
Modifier and TypeMethodDescriptionfind(BioSequence bioSequence) removeRootTerms(Collection<AnnotationValueObject> associations) Remove root terms, like "molecular_function", "biological_process" and "cellular_component" Also removes any null objects.Methods inherited from class AbstractService
countAll, create, create, ensureInSession, ensureInSession, find, findOrCreate, findOrFail, getElementClass, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, remove, remove, save, save, streamAll, streamAll, update, updateMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AdminEditableBaseImmutableService
create, create, findOrCreate, remove, removeMethods inherited from interface BaseReadOnlyService
countAll, find, findOrFail, getElementClass, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, streamAll, streamAll
-
Constructor Details
-
AnnotationAssociationServiceImpl
@Autowired public AnnotationAssociationServiceImpl(AnnotationAssociationDao annotationAssociationDao)
-
-
Method Details
-
find
- Specified by:
findin interfaceAnnotationAssociationService
-
find
- Specified by:
findin interfaceAnnotationAssociationService
-
removeRootTerms
@Transactional public Collection<AnnotationValueObject> removeRootTerms(Collection<AnnotationValueObject> associations) Remove root terms, like "molecular_function", "biological_process" and "cellular_component" Also removes any null objects.- Specified by:
removeRootTermsin interfaceAnnotationAssociationService- Returns:
- cleaned up associations
-