@Test public void getAsynchronousParingTulemV1() throws Exception { String[] isikukoodid = {"38812192729", "00000000000"}; HooldajaHooldusedMassParingResponse response = getHooldajaHooldusedMassParingResponse(isikukoodid); AsynchronousParingTulemResponse async = starXTeeServiceImpl.getAsynchronousParingTulemV1(response.getPilet()); Assert.assertNotNull(async); Assert.assertNotNull(async.getBase64()); }
public AsynchronousParingTulemResponse getAsynchronousParingTulemV1(String pilet) throws XRoadServiceConsumptionException { AsynchronousParingTulemRequest request = AsynchronousParingTulemRequest.Factory.newInstance(); request.setPilet(pilet); return starXRoadDatabase.asynchronousParingTulemV1(request); }
StarXTeeServiceImpl implements StarXTeeService { public AsynchronousParingTulemResponse getAsynchronousParingTulemV1(String pilet) throws XRoadServiceConsumptionException { AsynchronousParingTulemRequest request = AsynchronousParingTulemRequest.Factory.newInstance(); request.setPilet(pilet); return starXRoadDatabase.asynchronousParingTulemV1(request); } }
StarXTeeServiceImpl implements StarXTeeService { public AsynchronousParingTulemResponse getAsynchronousParingTulemV1(String pilet) throws XRoadServiceConsumptionException { AsynchronousParingTulemRequest request = AsynchronousParingTulemRequest.Factory.newInstance(); request.setPilet(pilet); return starXRoadDatabase.asynchronousParingTulemV1(request); }  }
StarXTeeServiceImpl implements StarXTeeService { public AsynchronousParingTulemResponse getAsynchronousParingTulemV1(String pilet) throws XRoadServiceConsumptionException { AsynchronousParingTulemRequest request = AsynchronousParingTulemRequest.Factory.newInstance(); request.setPilet(pilet); return starXRoadDatabase.asynchronousParingTulemV1(request); }  HooldajaHooldusedResponse findHooldajaHooldused(String isikukood, Date algus, Date lopp); HooldajaHooldusedMassParingResponse submitHooldajaHooldusedMassParingV1(Collection<String> isikukoodid, Date algus, Date lopp); AsynchronousParingTulemResponse getAsynchronousParingTulemV1(String pilet); }
StarXTeeServiceImpl implements StarXTeeService { public AsynchronousParingTulemResponse getAsynchronousParingTulemV1(String pilet) throws XRoadServiceConsumptionException { AsynchronousParingTulemRequest request = AsynchronousParingTulemRequest.Factory.newInstance(); request.setPilet(pilet); return starXRoadDatabase.asynchronousParingTulemV1(request); }  HooldajaHooldusedResponse findHooldajaHooldused(String isikukood, Date algus, Date lopp); HooldajaHooldusedMassParingResponse submitHooldajaHooldusedMassParingV1(Collection<String> isikukoodid, Date algus, Date lopp); AsynchronousParingTulemResponse getAsynchronousParingTulemV1(String pilet);  }