Package com.persequor.extension.document
Interface IEpcisMasterDataDocumentEnricher
- All Superinterfaces:
IDocumentEnricher<EpcisMasterDataDocument>
public interface IEpcisMasterDataDocumentEnricher
extends IDocumentEnricher<EpcisMasterDataDocument>
Represents the EpcisMasterDataDocument enrichment extension point
Put your logic into implementation of this interface to manipulate the content of the incoming document
-
Method Summary
Modifier and TypeMethodDescriptionboolean
enrich
(EpcisMasterDataDocument document) Takes the document and enriches it.
-
Method Details
-
enrich
Takes the document and enriches it. You can add, remove or update vocabularies here- Specified by:
enrich
in interfaceIDocumentEnricher<EpcisMasterDataDocument>
- Returns:
- returns true if the document has been enriched. If false, the document will be reverted to previous state
- Throws:
EnrichmentDelayException
- if needed to send to delay queue for retrying later.
-