Package psidev.psi.mi.jami.listener
Interface OrganismChangeListener
-
- All Superinterfaces:
AliasesChangeListener<Organism>
,EventListener
- All Known Subinterfaces:
OrganismEnricherListener
- All Known Implementing Classes:
OrganismChangeLogger
,OrganismEnricherListenerManager
,OrganismEnricherLogger
,OrganismEnricherStatisticsWriter
public interface OrganismChangeListener extends AliasesChangeListener<Organism>
This listener listen to Organism changes- Since:
11/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onCellTypeUpdate(Organism organism, CvTerm oldType)
Listen to the event where the cell type has been initialised.void
onCommonNameUpdate(Organism organism, String oldCommonName)
Listen to the event where the commonName of an organism has been changed.void
onCompartmentUpdate(Organism organism, CvTerm oldType)
Listen to the event where the organism compartment has been initialised.void
onScientificNameUpdate(Organism organism, String oldScientificName)
Listen to the event where the scientificName of an organism has been changed.void
onTaxidUpdate(Organism organism, String oldTaxid)
Listen to the event where the taxid of an organism has been changed.void
onTissueUpdate(Organism organism, CvTerm oldType)
Listen to the event where the organism tissue has been initialised.-
Methods inherited from interface psidev.psi.mi.jami.listener.AliasesChangeListener
onAddedAlias, onRemovedAlias
-
-
-
-
Method Detail
-
onCommonNameUpdate
void onCommonNameUpdate(Organism organism, String oldCommonName)
Listen to the event where the commonName of an organism has been changed.- Parameters:
organism
- : updated organismoldCommonName
- : old common name
-
onScientificNameUpdate
void onScientificNameUpdate(Organism organism, String oldScientificName)
Listen to the event where the scientificName of an organism has been changed. If oldScientificName is null, it means that the scientificName of the organism has been initialised. If the current scientificName of the organism is null, it means that the scientificName has been reset- Parameters:
organism
- : updated organismoldScientificName
- : old scientific name
-
onTaxidUpdate
void onTaxidUpdate(Organism organism, String oldTaxid)
Listen to the event where the taxid of an organism has been changed.- Parameters:
organism
- : updated organismoldTaxid
- : old taxid
-
onCellTypeUpdate
void onCellTypeUpdate(Organism organism, CvTerm oldType)
Listen to the event where the cell type has been initialised. This event happens when an organism has a new cell type- Parameters:
organism
- The organism which has changed.oldType
- aCvTerm
object.
-
onTissueUpdate
void onTissueUpdate(Organism organism, CvTerm oldType)
Listen to the event where the organism tissue has been initialised. This event happens when a organism has a new tissue- Parameters:
organism
- The organism which has changed.oldType
- aCvTerm
object.
-
-