Class DppDataService
java.lang.Object
com.persequor.saga.modules.dpp.service.DppDataService
- All Implemented Interfaces:
- IDppDataService
- 
Constructor SummaryConstructorsConstructorDescriptionDppDataService(com.persequor.extension.api.IEpcClassRetrieverService epcClassRetriever, com.persequor.extension.vocabulary.IVocabularyRepository vocabularyRepository, com.persequor.extension.eventservice.IEventService eventService, DppConfig dppConfig) 
- 
Method SummaryModifier and TypeMethodDescriptiongetItemData(String epc, boolean withTrace, boolean withCommissioningData) Get item data by epcbooleanhasItemData(String epc) 
- 
Constructor Details- 
DppDataService@Inject public DppDataService(com.persequor.extension.api.IEpcClassRetrieverService epcClassRetriever, com.persequor.extension.vocabulary.IVocabularyRepository vocabularyRepository, com.persequor.extension.eventservice.IEventService eventService, DppConfig dppConfig) 
 
- 
- 
Method Details- 
getItemDataDescription copied from interface:IDppDataServiceGet item data by epc- Specified by:
- getItemDatain interface- IDppDataService
- Parameters:
- epc- The epc of the item
- withTrace- If true, the trace of the item will be included. If false, the trace will be null.
- withCommissioningData- If true, commissioning data will be included. If false, it will be null.
- Returns:
- The item data
 
- 
hasItemData- Specified by:
- hasItemDatain interface- IDppDataService
- Parameters:
- epc- The epc of the item
- Returns:
- True if the item data exists, false otherwise.
 
 
-