Overview

Summary

ContactDonateImprint


Appendix E-35: INVESTMENT (UI prompt)


InvestmentCountryModuleNetflix

Properties (7)

PropertyTypeEntityReferenceModule
(1) AmountSTRINGInvestment
(2) CompanyLONGInvestmentCompanyCompanyModule
(3) CountryLONGInvestmentCountryCountryModule
(4) CurrencySTRINGInvestment
(5) DescriptionSTRINGInvestment
(6) EndDateDATEInvestment
(7) StartDateDATEInvestment


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /investment/company/{id}findAllInvestmentOfCompany(id)CountryModuleGETCompany Investment
(2) /investmentinsertInvestment(investment)CountryModulePOSTInvestment
(3) /investmentfindAllInvestment()CountryModuleGETInvestment
(4) /investment/{id}deleteInvestmentById(id)CountryModuleDELETEInvestment
(5) /investment/country/{id}findAllInvestmentOfCountry(id)CountryModuleGETCountry Investment
(6) /investment/{id}updateInvestmentById(investment)CountryModulePUTInvestment
(7) /investment/{id}findInvestmentById(id)CountryModuleGETInvestment





Example:

final Investment investment = (Investment) invokeModule(COUNTRY_MODULE + "/investment/" + id, Investment.class);
if (investment != null) {
    final Country country1 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + investment.getCountry().getId(), Country.class);
    if (country1 != null) {
    }
    final Company company2 = (Company) invokeModule(COMPANY_MODULE + "/company/" + investment.getCompany().getId(), Company.class);
    if (company2 != null) {
    }
}
return investment;


Overview

Summary

ContactDonateImprint