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 AnnotationAssociation
create(AnnotationAssociation annotationAssociation)
Creates the given entity in the persistent storage.Collection<AnnotationAssociation>
find(BioSequence bioSequence)
Collection<AnnotationAssociation>
find(Gene gene)
void
remove(Collection<AnnotationAssociation> anCollection)
Removes all the given entities from persistent storage.void
remove(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:BaseImmutableService
Creates the given entity in the persistent storage.- Specified by:
create
in 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:BaseImmutableService
Removes all the given entities from persistent storage.- Specified by:
remove
in interfaceBaseImmutableService<AnnotationAssociation>
- Parameters:
anCollection
- the entities to be removed.
-
remove
@Secured("GROUP_USER") void remove(AnnotationAssociation annotationAssociation)
Description copied from interface:BaseImmutableService
Removes the given entity from the persistent storage.- Specified by:
remove
in 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)
-
-