@Test public void mntEteenusKlientV1Test() throws XRoadServiceConsumptionException { List<MntEteenusKlientResponseDocument.MntEteenusKlientResponse.Keha.VehicleCovers.VehicleCover> response = lkfXTeeV6Service.mntEteenusKlientV1(null, "37101010021", "A9151023004", "86ZBF", "false", null); Assert.assertTrue(response.get(0).xgetShortMessage().getStringValue().contains("SHORT")); }
@Override public List<MntEteenusKlientResponseDocument.MntEteenusKlientResponse.Keha.VehicleCovers.VehicleCover> mntEteenusKlientV1(String vehicleAuthUserList, String vehicleOwnerList, String vehicleIdCodeList, String vehicleRegnoList, String vehicleTempRemovedList, Calendar vehicleTempRemovedDateList) throws XRoadServiceConsumptionException { MntEteenusKlientDocument.MntEteenusKlient paring = MntEteenusKlientDocument.MntEteenusKlient.Factory.newInstance(); if(vehicleAuthUserList != null) { paring.setVehicleAuthUserList(vehicleAuthUserList); } if(vehicleOwnerList != null) { paring.setVehicleOwnerList(vehicleOwnerList); } if(vehicleIdCodeList != null) { paring.setVehicleIdCodeList(vehicleIdCodeList); } if(vehicleRegnoList != null) { paring.setVehicleRegnoList(vehicleRegnoList); } if(vehicleTempRemovedList != null) { paring.setVehicleTempRemovedList(vehicleTempRemovedList); } if(vehicleTempRemovedDateList != null) { paring.setVehicleTempRemovedDateList(Parser.parseDateTime(vehicleTempRemovedDateList)); } return lkfv6XRoadDatabase.mntEteenusKlientV1(paring).getKeha().getVehicleCovers().getVehicleCoverList(); }
LkfXTeeV6ServiceImpl implements LkfXTeeV6Service { @Override public List<MntEteenusKlientResponseDocument.MntEteenusKlientResponse.Keha.VehicleCovers.VehicleCover> mntEteenusKlientV1(String vehicleAuthUserList, String vehicleOwnerList, String vehicleIdCodeList, String vehicleRegnoList, String vehicleTempRemovedList, Calendar vehicleTempRemovedDateList) throws XRoadServiceConsumptionException { MntEteenusKlientDocument.MntEteenusKlient paring = MntEteenusKlientDocument.MntEteenusKlient.Factory.newInstance(); if(vehicleAuthUserList != null) { paring.setVehicleAuthUserList(vehicleAuthUserList); } if(vehicleOwnerList != null) { paring.setVehicleOwnerList(vehicleOwnerList); } if(vehicleIdCodeList != null) { paring.setVehicleIdCodeList(vehicleIdCodeList); } if(vehicleRegnoList != null) { paring.setVehicleRegnoList(vehicleRegnoList); } if(vehicleTempRemovedList != null) { paring.setVehicleTempRemovedList(vehicleTempRemovedList); } if(vehicleTempRemovedDateList != null) { paring.setVehicleTempRemovedDateList(Parser.parseDateTime(vehicleTempRemovedDateList)); } return lkfv6XRoadDatabase.mntEteenusKlientV1(paring).getKeha().getVehicleCovers().getVehicleCoverList(); } }
LkfXTeeV6ServiceImpl implements LkfXTeeV6Service { @Override public List<MntEteenusKlientResponseDocument.MntEteenusKlientResponse.Keha.VehicleCovers.VehicleCover> mntEteenusKlientV1(String vehicleAuthUserList, String vehicleOwnerList, String vehicleIdCodeList, String vehicleRegnoList, String vehicleTempRemovedList, Calendar vehicleTempRemovedDateList) throws XRoadServiceConsumptionException { MntEteenusKlientDocument.MntEteenusKlient paring = MntEteenusKlientDocument.MntEteenusKlient.Factory.newInstance(); if(vehicleAuthUserList != null) { paring.setVehicleAuthUserList(vehicleAuthUserList); } if(vehicleOwnerList != null) { paring.setVehicleOwnerList(vehicleOwnerList); } if(vehicleIdCodeList != null) { paring.setVehicleIdCodeList(vehicleIdCodeList); } if(vehicleRegnoList != null) { paring.setVehicleRegnoList(vehicleRegnoList); } if(vehicleTempRemovedList != null) { paring.setVehicleTempRemovedList(vehicleTempRemovedList); } if(vehicleTempRemovedDateList != null) { paring.setVehicleTempRemovedDateList(Parser.parseDateTime(vehicleTempRemovedDateList)); } return lkfv6XRoadDatabase.mntEteenusKlientV1(paring).getKeha().getVehicleCovers().getVehicleCoverList(); }  }
LkfXTeeV6ServiceImpl implements LkfXTeeV6Service { @Override public List<MntEteenusKlientResponseDocument.MntEteenusKlientResponse.Keha.VehicleCovers.VehicleCover> mntEteenusKlientV1(String vehicleAuthUserList, String vehicleOwnerList, String vehicleIdCodeList, String vehicleRegnoList, String vehicleTempRemovedList, Calendar vehicleTempRemovedDateList) throws XRoadServiceConsumptionException { MntEteenusKlientDocument.MntEteenusKlient paring = MntEteenusKlientDocument.MntEteenusKlient.Factory.newInstance(); if(vehicleAuthUserList != null) { paring.setVehicleAuthUserList(vehicleAuthUserList); } if(vehicleOwnerList != null) { paring.setVehicleOwnerList(vehicleOwnerList); } if(vehicleIdCodeList != null) { paring.setVehicleIdCodeList(vehicleIdCodeList); } if(vehicleRegnoList != null) { paring.setVehicleRegnoList(vehicleRegnoList); } if(vehicleTempRemovedList != null) { paring.setVehicleTempRemovedList(vehicleTempRemovedList); } if(vehicleTempRemovedDateList != null) { paring.setVehicleTempRemovedDateList(Parser.parseDateTime(vehicleTempRemovedDateList)); } return lkfv6XRoadDatabase.mntEteenusKlientV1(paring).getKeha().getVehicleCovers().getVehicleCoverList(); }  @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<MntEteenusKlientResponseDocument.MntEteenusKlientResponse.Keha.VehicleCovers.VehicleCover> mntEteenusKlientV1(String vehicleAuthUserList, String vehicleOwnerList, String vehicleIdCodeList, String vehicleRegnoList, String vehicleTempRemovedList, Calendar vehicleTempRemovedDateList) throws XRoadServiceConsumptionException { MntEteenusKlientDocument.MntEteenusKlient paring = MntEteenusKlientDocument.MntEteenusKlient.Factory.newInstance(); if(vehicleAuthUserList != null) { paring.setVehicleAuthUserList(vehicleAuthUserList); } if(vehicleOwnerList != null) { paring.setVehicleOwnerList(vehicleOwnerList); } if(vehicleIdCodeList != null) { paring.setVehicleIdCodeList(vehicleIdCodeList); } if(vehicleRegnoList != null) { paring.setVehicleRegnoList(vehicleRegnoList); } if(vehicleTempRemovedList != null) { paring.setVehicleTempRemovedList(vehicleTempRemovedList); } if(vehicleTempRemovedDateList != null) { paring.setVehicleTempRemovedDateList(Parser.parseDateTime(vehicleTempRemovedDateList)); } return lkfv6XRoadDatabase.mntEteenusKlientV1(paring).getKeha().getVehicleCovers().getVehicleCoverList(); }  @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);  }