@Test public void mntKandepeatamineKindlInfoV1Test() throws XRoadServiceConsumptionException { List<MntKandepeatamineKindlInfoResponseDocument.MntKandepeatamineKindlInfoResponse.Keha.Vehicles.Vehicle> response = lkfXTeeV6Service.mntKandepeatamineKindlInfoV1(null, START, END); Assert.assertEquals("YG31250XIWL004387", response.get(0).getVehicleVin()); Assert.assertEquals("", response.get(0).getCoverEnd()); }
@Override public List<MntKandepeatamineKindlInfoResponseDocument.MntKandepeatamineKindlInfoResponse.Keha.Vehicles.Vehicle> mntKandepeatamineKindlInfoV1(String inspectionObligation, Calendar startDate, Calendar endDate) throws XRoadServiceConsumptionException { MntKandepeatamineKindlInfoDocument.MntKandepeatamineKindlInfo paring = MntKandepeatamineKindlInfoDocument.MntKandepeatamineKindlInfo.Factory.newInstance(); if(inspectionObligation != null) { paring.setInspectionObligation(inspectionObligation); } if(startDate != null) { paring.setPeriodStart(Parser.parseDateTimeWithouthSeconds(startDate)); } if(endDate != null) { paring.setPeriodEnd(Parser.parseDateTimeWithouthSeconds(endDate)); } return lkfv6XRoadDatabase.mntKandepeatamineKindlInfoV1(paring).getKeha().getVehicles().getVehicleList(); }
LkfXTeeV6ServiceImpl implements LkfXTeeV6Service { @Override public List<MntKandepeatamineKindlInfoResponseDocument.MntKandepeatamineKindlInfoResponse.Keha.Vehicles.Vehicle> mntKandepeatamineKindlInfoV1(String inspectionObligation, Calendar startDate, Calendar endDate) throws XRoadServiceConsumptionException { MntKandepeatamineKindlInfoDocument.MntKandepeatamineKindlInfo paring = MntKandepeatamineKindlInfoDocument.MntKandepeatamineKindlInfo.Factory.newInstance(); if(inspectionObligation != null) { paring.setInspectionObligation(inspectionObligation); } if(startDate != null) { paring.setPeriodStart(Parser.parseDateTimeWithouthSeconds(startDate)); } if(endDate != null) { paring.setPeriodEnd(Parser.parseDateTimeWithouthSeconds(endDate)); } return lkfv6XRoadDatabase.mntKandepeatamineKindlInfoV1(paring).getKeha().getVehicles().getVehicleList(); } }
LkfXTeeV6ServiceImpl implements LkfXTeeV6Service { @Override public List<MntKandepeatamineKindlInfoResponseDocument.MntKandepeatamineKindlInfoResponse.Keha.Vehicles.Vehicle> mntKandepeatamineKindlInfoV1(String inspectionObligation, Calendar startDate, Calendar endDate) throws XRoadServiceConsumptionException { MntKandepeatamineKindlInfoDocument.MntKandepeatamineKindlInfo paring = MntKandepeatamineKindlInfoDocument.MntKandepeatamineKindlInfo.Factory.newInstance(); if(inspectionObligation != null) { paring.setInspectionObligation(inspectionObligation); } if(startDate != null) { paring.setPeriodStart(Parser.parseDateTimeWithouthSeconds(startDate)); } if(endDate != null) { paring.setPeriodEnd(Parser.parseDateTimeWithouthSeconds(endDate)); } return lkfv6XRoadDatabase.mntKandepeatamineKindlInfoV1(paring).getKeha().getVehicles().getVehicleList(); }  }
LkfXTeeV6ServiceImpl implements LkfXTeeV6Service { @Override public List<MntKandepeatamineKindlInfoResponseDocument.MntKandepeatamineKindlInfoResponse.Keha.Vehicles.Vehicle> mntKandepeatamineKindlInfoV1(String inspectionObligation, Calendar startDate, Calendar endDate) throws XRoadServiceConsumptionException { MntKandepeatamineKindlInfoDocument.MntKandepeatamineKindlInfo paring = MntKandepeatamineKindlInfoDocument.MntKandepeatamineKindlInfo.Factory.newInstance(); if(inspectionObligation != null) { paring.setInspectionObligation(inspectionObligation); } if(startDate != null) { paring.setPeriodStart(Parser.parseDateTimeWithouthSeconds(startDate)); } if(endDate != null) { paring.setPeriodEnd(Parser.parseDateTimeWithouthSeconds(endDate)); } return lkfv6XRoadDatabase.mntKandepeatamineKindlInfoV1(paring).getKeha().getVehicles().getVehicleList(); }  @Override List<MntEteenusKlientResponseDocument.MntEteenusKlientResponse.Keha.VehicleCovers.VehicleCover> mntEteenusKlientV1(String vehicleAuthUserList, String vehicleOwnerList, String vehicleIdCodeList, String vehicleRegnoList, String vehicleTempRemovedList, Calendar vehicleTempRemovedDateList); @Override List<MntKandepeatamineKindlInfoResponseDocument.MntKandepeatamineKindlInfoResponse.Keha.Vehicles.Vehicle> mntKandepeatamineKindlInfoV1(String inspectionObligation, Calendar startDate, Calendar endDate); @Override KindlustuskateResponseDocument.KindlustuskateResponse.Keha findKindlustuskateV3(String registrinumber, String tehasetahis); @Override List<RomudeOtsingResponseDocument.RomudeOtsingResponse.Keha.ClaimBangers.Item> romudeOtsingV1(Calendar startDate, Calendar endDate); }
LkfXTeeV6ServiceImpl implements LkfXTeeV6Service { @Override public List<MntKandepeatamineKindlInfoResponseDocument.MntKandepeatamineKindlInfoResponse.Keha.Vehicles.Vehicle> mntKandepeatamineKindlInfoV1(String inspectionObligation, Calendar startDate, Calendar endDate) throws XRoadServiceConsumptionException { MntKandepeatamineKindlInfoDocument.MntKandepeatamineKindlInfo paring = MntKandepeatamineKindlInfoDocument.MntKandepeatamineKindlInfo.Factory.newInstance(); if(inspectionObligation != null) { paring.setInspectionObligation(inspectionObligation); } if(startDate != null) { paring.setPeriodStart(Parser.parseDateTimeWithouthSeconds(startDate)); } if(endDate != null) { paring.setPeriodEnd(Parser.parseDateTimeWithouthSeconds(endDate)); } return lkfv6XRoadDatabase.mntKandepeatamineKindlInfoV1(paring).getKeha().getVehicles().getVehicleList(); }  @Override List<MntEteenusKlientResponseDocument.MntEteenusKlientResponse.Keha.VehicleCovers.VehicleCover> mntEteenusKlientV1(String vehicleAuthUserList, String vehicleOwnerList, String vehicleIdCodeList, String vehicleRegnoList, String vehicleTempRemovedList, Calendar vehicleTempRemovedDateList); @Override List<MntKandepeatamineKindlInfoResponseDocument.MntKandepeatamineKindlInfoResponse.Keha.Vehicles.Vehicle> mntKandepeatamineKindlInfoV1(String inspectionObligation, Calendar startDate, Calendar endDate); @Override KindlustuskateResponseDocument.KindlustuskateResponse.Keha findKindlustuskateV3(String registrinumber, String tehasetahis); @Override List<RomudeOtsingResponseDocument.RomudeOtsingResponse.Keha.ClaimBangers.Item> romudeOtsingV1(Calendar startDate, Calendar endDate);  }