Class DppAcquireService

java.lang.Object
com.persequor.saga.modules.dpp.service.DppAcquireService

public class DppAcquireService extends Object
Acquire DPP data in Saga using an EPCIS event with custom tags. The DppEpcis.NS namespace will be used for the custom tags.
  • Constructor Details

    • DppAcquireService

      @Inject public DppAcquireService(com.persequor.extension.acquire.IAcquireService acquireService, com.persequor.extension.api.IEpcClassRetrieverService epcClassRetriever, com.persequor.extension.vocabulary.IVocabularyRepository vocabularyRepository, DppQueryService dppQueryService)
  • Method Details

    • acquireDppData

      public DppAcquireResult acquireDppData(DppAcquireRequest request) throws com.persequor.xml.serialization.SerializationException, com.persequor.xml.DocumentException
      Acquire DPP data for the given request.
      • Only products / items with changed data will be stored.
      • If there are no changes, no document is acquired.
      • Item changes will be grouped to prevent generating one event per item.
      Returns:
      the result of the acquisition (could be empty)
      Throws:
      com.persequor.xml.serialization.SerializationException
      com.persequor.xml.DocumentException