Package psidev.psi.mi.jami.listener.impl
Class ParticipantChangeLogger<T extends Participant>
- java.lang.Object
-
- psidev.psi.mi.jami.listener.impl.ParticipantChangeLogger<T>
-
- All Implemented Interfaces:
EventListener,AliasesChangeListener<T>,AnnotationsChangeListener<T>,EntityChangeListener<T>,EntityInteractorChangeListener,ParticipantChangeListener<T>,XrefsChangeListener<T>
- Direct Known Subclasses:
ParticipantEnricherLogger,ParticipantEvidenceChangeLogger,ParticipantPoolChangeLogger
public class ParticipantChangeLogger<T extends Participant> extends Object implements ParticipantChangeListener<T>
This listener will just interactor change events- Since:
11/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description ParticipantChangeLogger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonAddedAlias(T protein, Alias added)Listen to the event where an alias has been added to the object aliases.voidonAddedAnnotation(T protein, Annotation added)Listen to the event where an annotation has been added to the object annotations.voidonAddedCausalRelationship(T entity, CausalRelationship added)onAddedCausalRelationshipvoidonAddedFeature(T entity, Feature added)onAddedFeaturevoidonAddedXref(T protein, Xref added)Listen to the event where a xref has been added to the protein xrefs.voidonBiologicalRoleUpdate(T entity, CvTerm oldTerm)onBiologicalRoleUpdatevoidonInteractorUpdate(Entity entity, Interactor oldInteractor)onInteractorUpdatevoidonRemovedAlias(T protein, Alias removed)Listen to the event where an alias has been removed from the object aliases.voidonRemovedAnnotation(T protein, Annotation removed)Listen to the event where an annotation has been removed from the object annotations.voidonRemovedCausalRelationship(T entity, CausalRelationship removed)onRemovedCausalRelationshipvoidonRemovedFeature(T entity, Feature removed)onRemovedFeaturevoidonRemovedXref(T protein, Xref removed)Listen to the event where a xref has been removed from the interactor xrefs.voidonStoichiometryUpdate(T entity, Stoichiometry oldStoichiometry)onStoichiometryUpdate
-
-
-
Method Detail
-
onBiologicalRoleUpdate
public void onBiologicalRoleUpdate(T entity, CvTerm oldTerm)
onBiologicalRoleUpdate
- Specified by:
onBiologicalRoleUpdatein interfaceParticipantChangeListener<T extends Participant>- Parameters:
entity- : updated participantoldTerm- : old role
-
onStoichiometryUpdate
public void onStoichiometryUpdate(T entity, Stoichiometry oldStoichiometry)
onStoichiometryUpdate
- Specified by:
onStoichiometryUpdatein interfaceEntityChangeListener<T extends Participant>- Parameters:
entity- : the updated participantoldStoichiometry- : old stoichiometry
-
onAddedCausalRelationship
public void onAddedCausalRelationship(T entity, CausalRelationship added)
onAddedCausalRelationship
- Specified by:
onAddedCausalRelationshipin interfaceEntityChangeListener<T extends Participant>- Parameters:
entity- : the updated participantadded- : old causal relationship
-
onRemovedCausalRelationship
public void onRemovedCausalRelationship(T entity, CausalRelationship removed)
onRemovedCausalRelationship
- Specified by:
onRemovedCausalRelationshipin interfaceEntityChangeListener<T extends Participant>- Parameters:
entity- : the updated participantremoved- : removed causal relationship
-
onAddedFeature
public void onAddedFeature(T entity, Feature added)
onAddedFeature
- Specified by:
onAddedFeaturein interfaceEntityChangeListener<T extends Participant>- Parameters:
entity- : the updated participantadded- : added feature
-
onRemovedFeature
public void onRemovedFeature(T entity, Feature removed)
onRemovedFeature
- Specified by:
onRemovedFeaturein interfaceEntityChangeListener<T extends Participant>- Parameters:
entity- : the updated participantremoved- : removed feature
-
onAddedXref
public void onAddedXref(T protein, Xref added)
Listen to the event where a xref has been added to the protein xrefs.- Specified by:
onAddedXrefin interfaceXrefsChangeListener<T extends Participant>- Parameters:
protein- The object which has changed.added- The added Xref.
-
onRemovedXref
public void onRemovedXref(T protein, Xref removed)
Listen to the event where a xref has been removed from the interactor xrefs.- Specified by:
onRemovedXrefin interfaceXrefsChangeListener<T extends Participant>- Parameters:
protein- The object which has changed.removed- The removed Xref.
-
onAddedAlias
public void onAddedAlias(T protein, Alias added)
Listen to the event where an alias has been added to the object aliases.- Specified by:
onAddedAliasin interfaceAliasesChangeListener<T extends Participant>- Parameters:
protein- The object which has changed.added- The added alias.
-
onRemovedAlias
public void onRemovedAlias(T protein, Alias removed)
Listen to the event where an alias has been removed from the object aliases.- Specified by:
onRemovedAliasin interfaceAliasesChangeListener<T extends Participant>- Parameters:
protein- The object which has changed.removed- The removed alias.
-
onAddedAnnotation
public void onAddedAnnotation(T protein, Annotation added)
Listen to the event where an annotation has been added to the object annotations.- Specified by:
onAddedAnnotationin interfaceAnnotationsChangeListener<T extends Participant>- Parameters:
protein- : the parent of this annotationadded- : the added annotation
-
onRemovedAnnotation
public void onRemovedAnnotation(T protein, Annotation removed)
Listen to the event where an annotation has been removed from the object annotations.- Specified by:
onRemovedAnnotationin interfaceAnnotationsChangeListener<T extends Participant>- Parameters:
protein- : the parent of this annotationremoved- : the removed annotation
-
onInteractorUpdate
public void onInteractorUpdate(Entity entity, Interactor oldInteractor)
onInteractorUpdate
- Specified by:
onInteractorUpdatein interfaceEntityInteractorChangeListener- Parameters:
entity- : updated entityoldInteractor- : old interactor
-
-