Class InteractionChangeLogger<T extends Interaction>

    • Constructor Detail

      • InteractionChangeLogger

        public InteractionChangeLogger()
    • Method Detail

      • onAddedIdentifier

        public void onAddedIdentifier​(T interaction,
                                      Xref added)
        Listen to the event where an identifier has been added to the protein identifiers.
        Specified by:
        onAddedIdentifier in interface IdentifiersChangeListener<T extends Interaction>
        Parameters:
        interaction - The object which has changed.
        added - The added identifier
      • onRemovedIdentifier

        public void onRemovedIdentifier​(T interaction,
                                        Xref removed)
        Listen to the event where an identifier has been removed from the protein identifiers.
        Specified by:
        onRemovedIdentifier in interface IdentifiersChangeListener<T extends Interaction>
        Parameters:
        interaction - The object which has changed.
        removed - The removed identifier.
      • onAddedXref

        public void onAddedXref​(T interaction,
                                Xref added)
        Listen to the event where a xref has been added to the protein xrefs.
        Specified by:
        onAddedXref in interface XrefsChangeListener<T extends Interaction>
        Parameters:
        interaction - The object which has changed.
        added - The added Xref.
      • onRemovedXref

        public void onRemovedXref​(T interaction,
                                  Xref removed)
        Listen to the event where a xref has been removed from the interactor xrefs.
        Specified by:
        onRemovedXref in interface XrefsChangeListener<T extends Interaction>
        Parameters:
        interaction - The object which has changed.
        removed - The removed Xref.
      • onAddedChecksum

        public void onAddedChecksum​(T interaction,
                                    Checksum added)
        Listen to the event where a checksum has been added to the interactor checksums.
        Specified by:
        onAddedChecksum in interface ChecksumsChangeListener<T extends Interaction>
        Parameters:
        interaction - The interactor which has changed.
        added - The added checksum.
      • onRemovedChecksum

        public void onRemovedChecksum​(T interaction,
                                      Checksum removed)
        Listen to the event where a checksum has been removed from the interactor checksums.
        Specified by:
        onRemovedChecksum in interface ChecksumsChangeListener<T extends Interaction>
        Parameters:
        interaction - The interactor which has changed.
        removed - The removed checksum.
      • onAddedAnnotation

        public void onAddedAnnotation​(T interaction,
                                      Annotation added)
        Listen to the event where an annotation has been added to the object annotations.
        Specified by:
        onAddedAnnotation in interface AnnotationsChangeListener<T extends Interaction>
        Parameters:
        interaction - : the parent of this annotation
        added - : the added annotation
      • onRemovedAnnotation

        public void onRemovedAnnotation​(T interaction,
                                        Annotation removed)
        Listen to the event where an annotation has been removed from the object annotations.
        Specified by:
        onRemovedAnnotation in interface AnnotationsChangeListener<T extends Interaction>
        Parameters:
        interaction - : the parent of this annotation
        removed - : the removed annotation