Package psidev.psi.mi.jami.listener.impl
Class ExperimentChangeLogger
- java.lang.Object
-
- psidev.psi.mi.jami.listener.impl.ExperimentChangeLogger
-
- All Implemented Interfaces:
EventListener
,AnnotationsChangeListener<Experiment>
,ConfidencesChangeListener<Experiment>
,ExperimentChangeListener
,XrefsChangeListener<Experiment>
- Direct Known Subclasses:
ExperimentEnricherLogger
public class ExperimentChangeLogger extends Object implements ExperimentChangeListener
This listener will listen to experiment change events- Since:
11/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description ExperimentChangeLogger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onAddedAnnotation(Experiment experiment, Annotation added)
Listen to the event where an annotation has been added to the object annotations.void
onAddedConfidence(Experiment experiment, Confidence added)
Listen to the event where a confidence has been added to the object confidences.void
onAddedVariableParameter(Experiment experiment, VariableParameter addedParameter)
Listen to the event where a parameter has been added to the object parameters.void
onAddedXref(Experiment experiment, Xref added)
Listen to the event where a xref has been added to the protein xrefs.void
onHostOrganismUpdate(Experiment experiment, Organism oldOrganism)
onHostOrganismUpdatevoid
onInteractionDetectionMethodUpdate(Experiment experiment, CvTerm oldCv)
onInteractionDetectionMethodUpdatevoid
onPublicationUpdate(Experiment experiment, Publication oldPublication)
onPublicationUpdatevoid
onRemovedAnnotation(Experiment experiment, Annotation removed)
Listen to the event where an annotation has been removed from the object annotations.void
onRemovedConfidence(Experiment experiment, Confidence removed)
Listen to the event where a confidence has been removed from the object confidences.void
onRemovedVariableParameter(Experiment experiment, VariableParameter removedParameter)
Listen to the event where a parameter has been removed from the object parameters.void
onRemovedXref(Experiment experiment, Xref removed)
Listen to the event where a xref has been removed from the interactor xrefs.
-
-
-
Method Detail
-
onPublicationUpdate
public void onPublicationUpdate(Experiment experiment, Publication oldPublication)
onPublicationUpdate
- Specified by:
onPublicationUpdate
in interfaceExperimentChangeListener
- Parameters:
experiment
- : updated experimentoldPublication
- : old publication
-
onInteractionDetectionMethodUpdate
public void onInteractionDetectionMethodUpdate(Experiment experiment, CvTerm oldCv)
onInteractionDetectionMethodUpdate
- Specified by:
onInteractionDetectionMethodUpdate
in interfaceExperimentChangeListener
- Parameters:
experiment
- : updated experimentoldCv
- : old cv
-
onHostOrganismUpdate
public void onHostOrganismUpdate(Experiment experiment, Organism oldOrganism)
onHostOrganismUpdate
- Specified by:
onHostOrganismUpdate
in interfaceExperimentChangeListener
- Parameters:
experiment
- : updated experimentoldOrganism
- : old organism
-
onAddedVariableParameter
public void onAddedVariableParameter(Experiment experiment, VariableParameter addedParameter)
Listen to the event where a parameter has been added to the object parameters.- Specified by:
onAddedVariableParameter
in interfaceExperimentChangeListener
- Parameters:
experiment
- The object which has changed.addedParameter
- The added parameter.
-
onRemovedVariableParameter
public void onRemovedVariableParameter(Experiment experiment, VariableParameter removedParameter)
Listen to the event where a parameter has been removed from the object parameters.- Specified by:
onRemovedVariableParameter
in interfaceExperimentChangeListener
- Parameters:
experiment
- The object which has changed.removedParameter
- The removed parameter.
-
onAddedXref
public void onAddedXref(Experiment experiment, Xref added)
Listen to the event where a xref has been added to the protein xrefs.- Specified by:
onAddedXref
in interfaceXrefsChangeListener<Experiment>
- Parameters:
experiment
- The object which has changed.added
- The added Xref.
-
onRemovedXref
public void onRemovedXref(Experiment experiment, Xref removed)
Listen to the event where a xref has been removed from the interactor xrefs.- Specified by:
onRemovedXref
in interfaceXrefsChangeListener<Experiment>
- Parameters:
experiment
- The object which has changed.removed
- The removed Xref.
-
onAddedAnnotation
public void onAddedAnnotation(Experiment experiment, Annotation added)
Listen to the event where an annotation has been added to the object annotations.- Specified by:
onAddedAnnotation
in interfaceAnnotationsChangeListener<Experiment>
- Parameters:
experiment
- : the parent of this annotationadded
- : the added annotation
-
onRemovedAnnotation
public void onRemovedAnnotation(Experiment experiment, Annotation removed)
Listen to the event where an annotation has been removed from the object annotations.- Specified by:
onRemovedAnnotation
in interfaceAnnotationsChangeListener<Experiment>
- Parameters:
experiment
- : the parent of this annotationremoved
- : the removed annotation
-
onAddedConfidence
public void onAddedConfidence(Experiment experiment, Confidence added)
Listen to the event where a confidence has been added to the object confidences.- Specified by:
onAddedConfidence
in interfaceConfidencesChangeListener<Experiment>
- Parameters:
experiment
- The object which has changed.added
- The added confidence.
-
onRemovedConfidence
public void onRemovedConfidence(Experiment experiment, Confidence removed)
Listen to the event where a confidence has been removed from the object confidences.- Specified by:
onRemovedConfidence
in interfaceConfidencesChangeListener<Experiment>
- Parameters:
experiment
- The object which has changed.removed
- The removed confidence.
-
-