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 void
onAddedAlias(T protein, Alias added)
Listen to the event where an alias has been added to the object aliases.void
onAddedAnnotation(T protein, Annotation added)
Listen to the event where an annotation has been added to the object annotations.void
onAddedCausalRelationship(T entity, CausalRelationship added)
onAddedCausalRelationshipvoid
onAddedFeature(T entity, Feature added)
onAddedFeaturevoid
onAddedXref(T protein, Xref added)
Listen to the event where a xref has been added to the protein xrefs.void
onBiologicalRoleUpdate(T entity, CvTerm oldTerm)
onBiologicalRoleUpdatevoid
onInteractorUpdate(Entity entity, Interactor oldInteractor)
onInteractorUpdatevoid
onRemovedAlias(T protein, Alias removed)
Listen to the event where an alias has been removed from the object aliases.void
onRemovedAnnotation(T protein, Annotation removed)
Listen to the event where an annotation has been removed from the object annotations.void
onRemovedCausalRelationship(T entity, CausalRelationship removed)
onRemovedCausalRelationshipvoid
onRemovedFeature(T entity, Feature removed)
onRemovedFeaturevoid
onRemovedXref(T protein, Xref removed)
Listen to the event where a xref has been removed from the interactor xrefs.void
onStoichiometryUpdate(T entity, Stoichiometry oldStoichiometry)
onStoichiometryUpdate
-
-
-
Method Detail
-
onBiologicalRoleUpdate
public void onBiologicalRoleUpdate(T entity, CvTerm oldTerm)
onBiologicalRoleUpdate
- Specified by:
onBiologicalRoleUpdate
in interfaceParticipantChangeListener<T extends Participant>
- Parameters:
entity
- : updated participantoldTerm
- : old role
-
onStoichiometryUpdate
public void onStoichiometryUpdate(T entity, Stoichiometry oldStoichiometry)
onStoichiometryUpdate
- Specified by:
onStoichiometryUpdate
in interfaceEntityChangeListener<T extends Participant>
- Parameters:
entity
- : the updated participantoldStoichiometry
- : old stoichiometry
-
onAddedCausalRelationship
public void onAddedCausalRelationship(T entity, CausalRelationship added)
onAddedCausalRelationship
- Specified by:
onAddedCausalRelationship
in interfaceEntityChangeListener<T extends Participant>
- Parameters:
entity
- : the updated participantadded
- : old causal relationship
-
onRemovedCausalRelationship
public void onRemovedCausalRelationship(T entity, CausalRelationship removed)
onRemovedCausalRelationship
- Specified by:
onRemovedCausalRelationship
in interfaceEntityChangeListener<T extends Participant>
- Parameters:
entity
- : the updated participantremoved
- : removed causal relationship
-
onAddedFeature
public void onAddedFeature(T entity, Feature added)
onAddedFeature
- Specified by:
onAddedFeature
in interfaceEntityChangeListener<T extends Participant>
- Parameters:
entity
- : the updated participantadded
- : added feature
-
onRemovedFeature
public void onRemovedFeature(T entity, Feature removed)
onRemovedFeature
- Specified by:
onRemovedFeature
in 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:
onAddedXref
in 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:
onRemovedXref
in 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:
onAddedAlias
in 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:
onRemovedAlias
in 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:
onAddedAnnotation
in 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:
onRemovedAnnotation
in 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:
onInteractorUpdate
in interfaceEntityInteractorChangeListener
- Parameters:
entity
- : updated entityoldInteractor
- : old interactor
-
-