Interface AnnotationAssociationService
-
- All Superinterfaces:
BaseImmutableService<AnnotationAssociation>,BaseReadOnlyService<AnnotationAssociation>
- All Known Implementing Classes:
AnnotationAssociationServiceImpl
public interface AnnotationAssociationService extends BaseImmutableService<AnnotationAssociation>
- Author:
- paul
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnnotationAssociationcreate(AnnotationAssociation annotationAssociation)Creates the given entity in the persistent storage.Collection<AnnotationAssociation>find(BioSequence bioSequence)Collection<AnnotationAssociation>find(Gene gene)voidremove(Collection<AnnotationAssociation> anCollection)Removes all the given entities from persistent storage.voidremove(AnnotationAssociation annotationAssociation)Removes the given entity from the persistent storage.Collection<AnnotationValueObject>removeRootTerms(Collection<AnnotationValueObject> associations)-
Methods inherited from interface ubic.gemma.persistence.service.BaseImmutableService
create, findOrCreate, remove
-
Methods inherited from interface ubic.gemma.persistence.service.BaseReadOnlyService
countAll, find, findOrFail, getElementClass, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail
-
-
-
-
Method Detail
-
create
@Secured("GROUP_USER") AnnotationAssociation create(AnnotationAssociation annotationAssociation)Description copied from interface:BaseImmutableServiceCreates the given entity in the persistent storage.- Specified by:
createin interfaceBaseImmutableService<AnnotationAssociation>- Parameters:
annotationAssociation- the entity to be created.- Returns:
- object referencing the persistent instance of the given entity.
-
remove
@Secured("GROUP_USER") void remove(Collection<AnnotationAssociation> anCollection)Description copied from interface:BaseImmutableServiceRemoves all the given entities from persistent storage.- Specified by:
removein interfaceBaseImmutableService<AnnotationAssociation>- Parameters:
anCollection- the entities to be removed.
-
remove
@Secured("GROUP_USER") void remove(AnnotationAssociation annotationAssociation)Description copied from interface:BaseImmutableServiceRemoves the given entity from the persistent storage.- Specified by:
removein interfaceBaseImmutableService<AnnotationAssociation>- Parameters:
annotationAssociation- the entity to be removed.
-
find
Collection<AnnotationAssociation> find(BioSequence bioSequence)
-
find
Collection<AnnotationAssociation> find(Gene gene)
-
removeRootTerms
Collection<AnnotationValueObject> removeRootTerms(Collection<AnnotationValueObject> associations)
-
-