Class DppQueryService
java.lang.Object
com.persequor.saga.modules.dpp.service.DppQueryService
Query DPP data in Saga using EPCIS events. The data is stored on events as custom tags with the
DppEpcis.NS
namespace.-
Constructor Summary
ConstructorsConstructorDescriptionDppQueryService
(com.persequor.extension.eventservice.IEventService eventService, com.persequor.extension.api.IEpcClassRetrieverService epcClassRetriever, com.persequor.extension.vocabulary.IVocabularyRepository vocabularyRepository, com.persequor.extension.vocabulary.IVocabularyRepositoryCached vocabularyRepositoryCached) -
Method Summary
Modifier and TypeMethodDescriptiongetItemData
(String epc) Query DPP data for a single epc.getItemsData
(Collection<String> epcs) Query DPP data for multiple epcs.query
(DppQueryRequest request) Query DPP data for the given query request.
-
Constructor Details
-
DppQueryService
@Inject public DppQueryService(com.persequor.extension.eventservice.IEventService eventService, com.persequor.extension.api.IEpcClassRetrieverService epcClassRetriever, com.persequor.extension.vocabulary.IVocabularyRepository vocabularyRepository, com.persequor.extension.vocabulary.IVocabularyRepositoryCached vocabularyRepositoryCached)
-
-
Method Details
-
getItemData
Query DPP data for a single epc. -
getItemsData
Query DPP data for multiple epcs.- Returns:
- a map of epc to item data
-
query
Query DPP data for the given query request.- Returns:
- a map of epc to item data
-