@Test public void findBlankDocument() throws XRoadServiceConsumptionException { BlankDocumentQueryDTO request = BlankDocumentQueryDTO.Factory.newInstance(); fillRequest(request); request.setNumber("1234567"); checkAnswer(esisXTeeServiceImpl.findBlankDocument(request)); }
public BlankDocumentResultDTO findBlankDocument(BlankDocumentQueryDTO request) throws XRoadServiceConsumptionException { XRoadMessage<BlankDocumentResultDTO> response = send(new XmlBeansXRoadMessage<BlankDocumentQueryDTO>(request), QUERY_BLANKDOCUMENT); return response.getContent(); }
EsisXTeeServiceImpl extends XRoadDatabaseService implements EsisXTeeService { public BlankDocumentResultDTO findBlankDocument(BlankDocumentQueryDTO request) throws XRoadServiceConsumptionException { XRoadMessage<BlankDocumentResultDTO> response = send(new XmlBeansXRoadMessage<BlankDocumentQueryDTO>(request), QUERY_BLANKDOCUMENT); return response.getContent(); } }
EsisXTeeServiceImpl extends XRoadDatabaseService implements EsisXTeeService { public BlankDocumentResultDTO findBlankDocument(BlankDocumentQueryDTO request) throws XRoadServiceConsumptionException { XRoadMessage<BlankDocumentResultDTO> response = send(new XmlBeansXRoadMessage<BlankDocumentQueryDTO>(request), QUERY_BLANKDOCUMENT); return response.getContent(); }  }
EsisXTeeServiceImpl extends XRoadDatabaseService implements EsisXTeeService { public BlankDocumentResultDTO findBlankDocument(BlankDocumentQueryDTO request) throws XRoadServiceConsumptionException { XRoadMessage<BlankDocumentResultDTO> response = send(new XmlBeansXRoadMessage<BlankDocumentQueryDTO>(request), QUERY_BLANKDOCUMENT); 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 BlankDocumentResultDTO findBlankDocument(BlankDocumentQueryDTO request) throws XRoadServiceConsumptionException { XRoadMessage<BlankDocumentResultDTO> response = send(new XmlBeansXRoadMessage<BlankDocumentQueryDTO>(request), QUERY_BLANKDOCUMENT); 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);  }