Overview

Summary

ContactDonateImprint


Appendix E-14: PARTNERSHIP (UI prompt)


PartnershipCompanyModuleTesla

Properties (6)

PropertyTypeEntityReferenceModule
(1) CompanyLONGPartnershipCompanyCompanyModule
(2) DescriptionSTRINGPartnership
(3) EndYearINTPartnership
(4) PartnerNameSTRINGPartnership
(5) PartnerTypeSTRINGPartnership
(6) StartYearINTPartnership


Module Interfaces (6)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /partnership/company/{id}findAllPartnershipOfCompany(id)CompanyModuleGETCompany Partnership
(2) /partnershipfindAllPartnership()CompanyModuleGETPartnership
(3) /partnershipinsertPartnership(partnership)CompanyModulePOSTPartnership
(4) /partnership/{id}findPartnershipById(id)CompanyModuleGETPartnership
(5) /partnership/{id}deletePartnershipById(id)CompanyModuleDELETEPartnership
(6) /partnership/{id}updatePartnershipById(partnership)CompanyModulePUTPartnership





Example:

final Partnership partnership = (Partnership) invokeModule(COMPANY_MODULE + "/partnership/" + id, Partnership.class);
if (partnership != null) {
    final Company company1 = (Company) invokeModule(COMPANY_MODULE + "/company/" + partnership.getCompany().getId(), Company.class);
    if (company1 != null) {
    }
}
return partnership;


Overview

Summary

ContactDonateImprint