Overview

Summary

ContactDonateImprint


Appendix E-18: RECALL (UI prompt)


RecallVehicleModelModuleTesla

Properties (6)

PropertyTypeEntityReferenceModule
(1) AffectedUnitsINTRecall
(2) AnnouncementDateDATERecall
(3) IssueDescriptionSTRINGRecall
(4) MarketRegionSTRINGRecall
(5) RecallCodeSTRINGRecall
(6) VehicleModelLONGRecallVehicleModelVehicleModelModule


Module Interfaces (6)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /recall/{id}deleteRecallById(id)VehicleModelModuleDELETERecall
(2) /recallinsertRecall(recall)VehicleModelModulePOSTRecall
(3) /recall/{id}findRecallById(id)VehicleModelModuleGETRecall
(4) /recall/{id}updateRecallById(recall)VehicleModelModulePUTRecall
(5) /recall/vehiclemodel/{id}findAllRecallOfVehicleModel(id)VehicleModelModuleGETVehicleModel Recall
(6) /recallfindAllRecall()VehicleModelModuleGETRecall





Example:

final Recall recall = (Recall) invokeModule(VEHICLE_MODEL_MODULE + "/recall/" + id, Recall.class);
if (recall != null) {
    final VehicleModel vehiclemodel1 = (VehicleModel) invokeModule(VEHICLE_MODEL_MODULE + "/vehiclemodel/" + recall.getVehicleModel().getId(), VehicleModel.class);
    if (vehiclemodel1 != null) {
        final Product product2 = (Product) invokeModule(COMPANY_MODULE + "/product/" + vehiclemodel1.getProduct().getId(), Product.class);
        if (product2 != null) {
            final Company company3 = (Company) invokeModule(COMPANY_MODULE + "/company/" + product2.getCompany().getId(), Company.class);
            if (company3 != null) {
            }
            final BusinessSegment businesssegment4 = (BusinessSegment) invokeModule(BUSINESS_SEGMENT_MODULE + "/businesssegment/" + product2.getBusinessSegment().getId(), BusinessSegment.class);
            if (businesssegment4 != null) {
                final Company company5 = (Company) invokeModule(COMPANY_MODULE + "/company/" + businesssegment4.getCompany().getId(), Company.class);
                if (company5 != null) {
                }
            }
        }
        final VehicleCategory vehiclecategory6 = (VehicleCategory) invokeModule(VEHICLE_MODEL_MODULE + "/vehiclecategory/" + vehiclemodel1.getVehicleCategory().getId(), VehicleCategory.class);
        if (vehiclecategory6 != null) {
        }
    }
}
return recall;


Overview

Summary

ContactDonateImprint