@Test public void findPerson() throws XRoadServiceConsumptionException { PersonQueryDTO request = PersonQueryDTO.Factory.newInstance(); fillRequest(request); request.setFirstName("TEST"); request.setLastName("SUBJECT"); checkAnswer(esisXTeeServiceImpl.findPerson(request)); }
public PersonResultDTO findPerson(PersonQueryDTO request) throws XRoadServiceConsumptionException { XRoadMessage<PersonResultDTO> response = send(new XmlBeansXRoadMessage<PersonQueryDTO>(request), QUERY_PERSON); return response.getContent(); }
EsisXTeeServiceImpl extends XRoadDatabaseService implements EsisXTeeService { public PersonResultDTO findPerson(PersonQueryDTO request) throws XRoadServiceConsumptionException { XRoadMessage<PersonResultDTO> response = send(new XmlBeansXRoadMessage<PersonQueryDTO>(request), QUERY_PERSON); return response.getContent(); } }
EsisXTeeServiceImpl extends XRoadDatabaseService implements EsisXTeeService { public PersonResultDTO findPerson(PersonQueryDTO request) throws XRoadServiceConsumptionException { XRoadMessage<PersonResultDTO> response = send(new XmlBeansXRoadMessage<PersonQueryDTO>(request), QUERY_PERSON); return response.getContent(); }  }
EsisXTeeServiceImpl extends XRoadDatabaseService implements EsisXTeeService { public PersonResultDTO findPerson(PersonQueryDTO request) throws XRoadServiceConsumptionException { XRoadMessage<PersonResultDTO> response = send(new XmlBeansXRoadMessage<PersonQueryDTO>(request), QUERY_PERSON); 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 PersonResultDTO findPerson(PersonQueryDTO request) throws XRoadServiceConsumptionException { XRoadMessage<PersonResultDTO> response = send(new XmlBeansXRoadMessage<PersonQueryDTO>(request), QUERY_PERSON); 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);  }