Package psidev.psi.mi.jami.listener
Interface SourceChangeListener
-
- All Superinterfaces:
AliasesChangeListener<CvTerm>
,AnnotationsChangeListener<CvTerm>
,CvTermChangeListener
,EventListener
,IdentifiersChangeListener<CvTerm>
,XrefsChangeListener<CvTerm>
- All Known Subinterfaces:
SourceEnricherListener
- All Known Implementing Classes:
SourceChangeLogger
,SourceEnricherListenerManager
,SourceEnricherLogger
,SourceEnricherStatisticsWriter
public interface SourceChangeListener extends CvTermChangeListener
Source change listener- Since:
11/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onPostalAddressUpdate(Source cv, String oldPostalAddress)
Listen to the event where the postal address of a source has been changed.void
onPublicationUpdate(Source cv, Publication oldPublication)
Listen to the event where the publication of a source has been changed.void
onUrlUpdate(Source cv, String oldUrl)
Listen to the event where the URL of a source has been changed.-
Methods inherited from interface psidev.psi.mi.jami.listener.AliasesChangeListener
onAddedAlias, onRemovedAlias
-
Methods inherited from interface psidev.psi.mi.jami.listener.AnnotationsChangeListener
onAddedAnnotation, onRemovedAnnotation
-
Methods inherited from interface psidev.psi.mi.jami.listener.CvTermChangeListener
onFullNameUpdate, onMIIdentifierUpdate, onMODIdentifierUpdate, onPARIdentifierUpdate, onShortNameUpdate
-
Methods inherited from interface psidev.psi.mi.jami.listener.IdentifiersChangeListener
onAddedIdentifier, onRemovedIdentifier
-
Methods inherited from interface psidev.psi.mi.jami.listener.XrefsChangeListener
onAddedXref, onRemovedXref
-
-
-
-
Method Detail
-
onUrlUpdate
void onUrlUpdate(Source cv, String oldUrl)
Listen to the event where the URL of a source has been changed. If oldURL is null, it means that a url has been added to the source. If the URL of the source is null, it means that the URL of the source has been removed
-
onPostalAddressUpdate
void onPostalAddressUpdate(Source cv, String oldPostalAddress)
Listen to the event where the postal address of a source has been changed. If oldPostalAddress is null, it means that a postal address has been added to the source. If the postal address of the source is null, it means that the postal address of the source has been removed
-
onPublicationUpdate
void onPublicationUpdate(Source cv, Publication oldPublication)
Listen to the event where the publication of a source has been changed. If oldPublication is null, it means that a publication has been added to the source. If the publication of the source is null, it means that the publication of the source has been removed- Parameters:
cv
- aSource
object.oldPublication
- aPublication
object.
-
-