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 voidonAddedAnnotation(Experiment experiment, Annotation added)Listen to the event where an annotation has been added to the object annotations.voidonAddedConfidence(Experiment experiment, Confidence added)Listen to the event where a confidence has been added to the object confidences.voidonAddedVariableParameter(Experiment experiment, VariableParameter addedParameter)Listen to the event where a parameter has been added to the object parameters.voidonAddedXref(Experiment experiment, Xref added)Listen to the event where a xref has been added to the protein xrefs.voidonHostOrganismUpdate(Experiment experiment, Organism oldOrganism)onHostOrganismUpdatevoidonInteractionDetectionMethodUpdate(Experiment experiment, CvTerm oldCv)onInteractionDetectionMethodUpdatevoidonPublicationUpdate(Experiment experiment, Publication oldPublication)onPublicationUpdatevoidonRemovedAnnotation(Experiment experiment, Annotation removed)Listen to the event where an annotation has been removed from the object annotations.voidonRemovedConfidence(Experiment experiment, Confidence removed)Listen to the event where a confidence has been removed from the object confidences.voidonRemovedVariableParameter(Experiment experiment, VariableParameter removedParameter)Listen to the event where a parameter has been removed from the object parameters.voidonRemovedXref(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:
onPublicationUpdatein interfaceExperimentChangeListener- Parameters:
experiment- : updated experimentoldPublication- : old publication
-
onInteractionDetectionMethodUpdate
public void onInteractionDetectionMethodUpdate(Experiment experiment, CvTerm oldCv)
onInteractionDetectionMethodUpdate
- Specified by:
onInteractionDetectionMethodUpdatein interfaceExperimentChangeListener- Parameters:
experiment- : updated experimentoldCv- : old cv
-
onHostOrganismUpdate
public void onHostOrganismUpdate(Experiment experiment, Organism oldOrganism)
onHostOrganismUpdate
- Specified by:
onHostOrganismUpdatein 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:
onAddedVariableParameterin 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:
onRemovedVariableParameterin 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:
onAddedXrefin 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:
onRemovedXrefin 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:
onAddedAnnotationin 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:
onRemovedAnnotationin 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:
onAddedConfidencein 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:
onRemovedConfidencein interfaceConfidencesChangeListener<Experiment>- Parameters:
experiment- The object which has changed.removed- The removed confidence.
-
-