Package psidev.psi.mi.jami.listener.impl
Class PublicationChangeLogger
- java.lang.Object
-
- psidev.psi.mi.jami.listener.impl.PublicationChangeLogger
-
- All Implemented Interfaces:
EventListener,AnnotationsChangeListener<Publication>,IdentifiersChangeListener<Publication>,PublicationChangeListener,XrefsChangeListener<Publication>
- Direct Known Subclasses:
PublicationEnricherLogger
public class PublicationChangeLogger extends Object implements PublicationChangeListener
This listener will listen to publication change events- Since:
11/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description PublicationChangeLogger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonAddedAnnotation(Publication publication, Annotation added)Listen to the event where an annotation has been added to the object annotations.voidonAddedIdentifier(Publication publication, Xref added)Listen to the event where an identifier has been added to the protein identifiers.voidonAddedXref(Publication publication, Xref added)Listen to the event where a xref has been added to the protein xrefs.voidonAuthorAdded(Publication publication, String addedAuthor)onAuthorAddedvoidonAuthorRemoved(Publication publication, String removedAuthor)onAuthorRemovedvoidonCurationDepthUpdate(Publication publication, CurationDepth oldDepth)onCurationDepthUpdatevoidonDoiUpdate(Publication publication, String oldId)onDoiUpdatevoidonImexIdentifierUpdate(Publication publication, Xref oldId)onImexIdentifierUpdatevoidonJournalUpdated(Publication publication, String oldJournal)onJournalUpdatedvoidonPublicationDateUpdated(Publication publication, Date oldDate)onPublicationDateUpdatedvoidonPubmedIdUpdate(Publication publication, String oldId)onPubmedIdUpdatevoidonReleaseDateUpdated(Publication publication, Date oldDate)onReleaseDateUpdatedvoidonRemovedAnnotation(Publication publication, Annotation removed)Listen to the event where an annotation has been removed from the object annotations.voidonRemovedIdentifier(Publication publication, Xref removed)Listen to the event where an identifier has been removed from the protein identifiers.voidonRemovedXref(Publication publication, Xref removed)Listen to the event where a xref has been removed from the interactor xrefs.voidonSourceUpdated(Publication publication, Source oldSource)onSourceUpdatedvoidonTitleUpdated(Publication publication, String oldTitle)onTitleUpdated
-
-
-
Method Detail
-
onPubmedIdUpdate
public void onPubmedIdUpdate(Publication publication, String oldId)
onPubmedIdUpdate
- Specified by:
onPubmedIdUpdatein interfacePublicationChangeListener- Parameters:
publication- : updated publicationoldId- : old pubmed
-
onDoiUpdate
public void onDoiUpdate(Publication publication, String oldId)
onDoiUpdate
- Specified by:
onDoiUpdatein interfacePublicationChangeListener- Parameters:
publication- : updated publicationoldId- : old doi
-
onImexIdentifierUpdate
public void onImexIdentifierUpdate(Publication publication, Xref oldId)
onImexIdentifierUpdate
- Specified by:
onImexIdentifierUpdatein interfacePublicationChangeListener- Parameters:
publication- : updated publicationoldId- : added xref
-
onTitleUpdated
public void onTitleUpdated(Publication publication, String oldTitle)
onTitleUpdated
- Specified by:
onTitleUpdatedin interfacePublicationChangeListener- Parameters:
publication- : updated publicationoldTitle- : old title
-
onJournalUpdated
public void onJournalUpdated(Publication publication, String oldJournal)
onJournalUpdated
- Specified by:
onJournalUpdatedin interfacePublicationChangeListener- Parameters:
publication- : updated publicationoldJournal- : old journal
-
onCurationDepthUpdate
public void onCurationDepthUpdate(Publication publication, CurationDepth oldDepth)
onCurationDepthUpdate
- Specified by:
onCurationDepthUpdatein interfacePublicationChangeListener- Parameters:
publication- : updated publicationoldDepth- : old depth
-
onPublicationDateUpdated
public void onPublicationDateUpdated(Publication publication, Date oldDate)
onPublicationDateUpdated
- Specified by:
onPublicationDateUpdatedin interfacePublicationChangeListener- Parameters:
publication- : updated publicationoldDate- : old date
-
onAuthorAdded
public void onAuthorAdded(Publication publication, String addedAuthor)
onAuthorAdded
- Specified by:
onAuthorAddedin interfacePublicationChangeListener- Parameters:
publication- : updated publicationaddedAuthor- : added author
-
onAuthorRemoved
public void onAuthorRemoved(Publication publication, String removedAuthor)
onAuthorRemoved
- Specified by:
onAuthorRemovedin interfacePublicationChangeListener- Parameters:
publication- : updated publicationremovedAuthor- : removed author
-
onReleaseDateUpdated
public void onReleaseDateUpdated(Publication publication, Date oldDate)
onReleaseDateUpdated
- Specified by:
onReleaseDateUpdatedin interfacePublicationChangeListener- Parameters:
publication- : updated publicationoldDate- : old release date
-
onSourceUpdated
public void onSourceUpdated(Publication publication, Source oldSource)
onSourceUpdated
- Specified by:
onSourceUpdatedin interfacePublicationChangeListener- Parameters:
publication- : updated publicationoldSource- : old source
-
onAddedIdentifier
public void onAddedIdentifier(Publication publication, Xref added)
Listen to the event where an identifier has been added to the protein identifiers.- Specified by:
onAddedIdentifierin interfaceIdentifiersChangeListener<Publication>- Parameters:
publication- The object which has changed.added- The added identifier
-
onRemovedIdentifier
public void onRemovedIdentifier(Publication publication, Xref removed)
Listen to the event where an identifier has been removed from the protein identifiers.- Specified by:
onRemovedIdentifierin interfaceIdentifiersChangeListener<Publication>- Parameters:
publication- The object which has changed.removed- The removed identifier.
-
onAddedXref
public void onAddedXref(Publication publication, Xref added)
Listen to the event where a xref has been added to the protein xrefs.- Specified by:
onAddedXrefin interfaceXrefsChangeListener<Publication>- Parameters:
publication- The object which has changed.added- The added Xref.
-
onRemovedXref
public void onRemovedXref(Publication publication, Xref removed)
Listen to the event where a xref has been removed from the interactor xrefs.- Specified by:
onRemovedXrefin interfaceXrefsChangeListener<Publication>- Parameters:
publication- The object which has changed.removed- The removed Xref.
-
onAddedAnnotation
public void onAddedAnnotation(Publication publication, Annotation added)
Listen to the event where an annotation has been added to the object annotations.- Specified by:
onAddedAnnotationin interfaceAnnotationsChangeListener<Publication>- Parameters:
publication- : the parent of this annotationadded- : the added annotation
-
onRemovedAnnotation
public void onRemovedAnnotation(Publication publication, Annotation removed)
Listen to the event where an annotation has been removed from the object annotations.- Specified by:
onRemovedAnnotationin interfaceAnnotationsChangeListener<Publication>- Parameters:
publication- : the parent of this annotationremoved- : the removed annotation
-
-