@Test public void findBankNote() throws XRoadServiceConsumptionException { BanknoteQueryDTO request = BanknoteQueryDTO.Factory.newInstance(); fillRequest(request); request.setNumber("1234567"); checkAnswer(esisXTeeServiceImpl.findBanknote(request)); }
public BanknoteResultDTO findBanknote(BanknoteQueryDTO request) throws XRoadServiceConsumptionException { XRoadMessage<BanknoteResultDTO> response = send(new XmlBeansXRoadMessage<BanknoteQueryDTO>(request), QUERY_BANKNOTE); return response.getContent(); }
EsisXTeeServiceImpl extends XRoadDatabaseService implements EsisXTeeService { public BanknoteResultDTO findBanknote(BanknoteQueryDTO request) throws XRoadServiceConsumptionException { XRoadMessage<BanknoteResultDTO> response = send(new XmlBeansXRoadMessage<BanknoteQueryDTO>(request), QUERY_BANKNOTE); return response.getContent(); } }
EsisXTeeServiceImpl extends XRoadDatabaseService implements EsisXTeeService { public BanknoteResultDTO findBanknote(BanknoteQueryDTO request) throws XRoadServiceConsumptionException { XRoadMessage<BanknoteResultDTO> response = send(new XmlBeansXRoadMessage<BanknoteQueryDTO>(request), QUERY_BANKNOTE); return response.getContent(); }  }
EsisXTeeServiceImpl extends XRoadDatabaseService implements EsisXTeeService { public BanknoteResultDTO findBanknote(BanknoteQueryDTO request) throws XRoadServiceConsumptionException { XRoadMessage<BanknoteResultDTO> response = send(new XmlBeansXRoadMessage<BanknoteQueryDTO>(request), QUERY_BANKNOTE); return response.getContent(); }  VehicleResultDTO findVehicle(VehicleQueryDTO request); PersonResultDTO findPerson(PersonQueryDTO request); FirearmResultDTO findFirearm(FirearmQueryDTO request); BlankDocumentResultDTO findBlankDocument(BlankDocumentQueryDTO request); IssuedDocumentResultDTO findIssuedDocument(IssuedDocumentQueryDTO request); BanknoteResultDTO findBanknote(BanknoteQueryDTO request); }
EsisXTeeServiceImpl extends XRoadDatabaseService implements EsisXTeeService { public BanknoteResultDTO findBanknote(BanknoteQueryDTO request) throws XRoadServiceConsumptionException { XRoadMessage<BanknoteResultDTO> response = send(new XmlBeansXRoadMessage<BanknoteQueryDTO>(request), QUERY_BANKNOTE); return response.getContent(); }  VehicleResultDTO findVehicle(VehicleQueryDTO request); PersonResultDTO findPerson(PersonQueryDTO request); FirearmResultDTO findFirearm(FirearmQueryDTO request); BlankDocumentResultDTO findBlankDocument(BlankDocumentQueryDTO request); IssuedDocumentResultDTO findIssuedDocument(IssuedDocumentQueryDTO request); BanknoteResultDTO findBanknote(BanknoteQueryDTO request);  }