Class FullCuratedPublicationEnricher
- java.lang.Object
-
- psidev.psi.mi.jami.enricher.impl.AbstractMIEnricher<Publication>
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalCuratedPublicationEnricher
-
- psidev.psi.mi.jami.enricher.impl.full.FullCuratedPublicationEnricher
-
- All Implemented Interfaces:
CuratedPublicationEnricher
,MIEnricher<Publication>
,PublicationEnricher
- Direct Known Subclasses:
FullCuratedPublicationUpdater
public class FullCuratedPublicationEnricher extends MinimalCuratedPublicationEnricher
Provides full enrichment of curated Publication. - enrich full properties as described in FullPublicationEnricher - enrich released date. It will only enrich the released date if it is not already set in the publication to enrich. It will not override any existing released date - enrich curation depth. It will only enrich the curation depth if it is not already set in the publication to enrich. It will not override any existing curation depth- Since:
- 31/07/13
- Author:
- Gabriel Aldam (galdam@ebi.ac.uk)
-
-
Constructor Summary
Constructors Modifier Constructor Description FullCuratedPublicationEnricher(PublicationFetcher fetcher)
Constructor for FullCuratedPublicationEnricher.protected
FullCuratedPublicationEnricher(MinimalPublicationEnricher delegate)
Constructor for FullCuratedPublicationEnricher.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
processCurationDepth(Publication publicationToEnrich, Publication fetched)
processCurationDepth.protected void
processOtherProperties(Publication publicationToEnrich, Publication fetched)
processOtherProperties.protected void
processReleasedDate(Publication publicationToEnrich, Publication fetched)
processReleasedDate.-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.minimal.MinimalCuratedPublicationEnricher
enrich, find, getDelegate, getPublicationEnricherListener, getPublicationFetcher, getSourceEnricher, onEnrichedVersionNotFound, processPublication, processSource, setPublicationEnricherListener, setSourceEnricher
-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.AbstractMIEnricher
enrich, enrich
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface psidev.psi.mi.jami.enricher.MIEnricher
enrich, enrich
-
-
-
-
Constructor Detail
-
FullCuratedPublicationEnricher
public FullCuratedPublicationEnricher(PublicationFetcher fetcher)
Constructor for FullCuratedPublicationEnricher.
- Parameters:
fetcher
- aPublicationFetcher
object.
-
FullCuratedPublicationEnricher
protected FullCuratedPublicationEnricher(MinimalPublicationEnricher delegate)
Constructor for FullCuratedPublicationEnricher.
- Parameters:
delegate
- aMinimalPublicationEnricher
object.
-
-
Method Detail
-
processOtherProperties
protected void processOtherProperties(Publication publicationToEnrich, Publication fetched) throws EnricherException
processOtherProperties.
The strategy for the enrichment of the publication. This methods can be overwritten to change the behaviour of the enrichment.- Overrides:
processOtherProperties
in classMinimalCuratedPublicationEnricher
- Parameters:
publicationToEnrich
- aPublication
object.fetched
- aPublication
object.- Throws:
EnricherException
- if any.
-
processCurationDepth
protected void processCurationDepth(Publication publicationToEnrich, Publication fetched) throws EnricherException
processCurationDepth.
- Parameters:
publicationToEnrich
- aPublication
object.fetched
- aPublication
object.- Throws:
EnricherException
- if any.
-
processReleasedDate
protected void processReleasedDate(Publication publicationToEnrich, Publication fetched) throws EnricherException
processReleasedDate.
- Parameters:
publicationToEnrich
- aPublication
object.fetched
- aPublication
object.- Throws:
EnricherException
- if any.
-
-