Overview

Summary

ServicesContactDonateAboutImprint


Appendix E-28: CODESHARE AGREEMENT (UI prompt)


CodeshareAgreementFlightNumberModuleAirlines

Properties (6)

PropertyTypeEntityReferenceModule
(1) EndDateDATECodeshareAgreement
(2) FlightNumberLONGCodeshareAgreementFlightNumberFlightNumberModule
(3) MarketingAirlineLONGCodeshareAgreementAirlineAirlineModule
(4) NotesSTRINGCodeshareAgreement
(5) OperatingAirlineLONGCodeshareAgreementAirlineAirlineModule
(6) StartDateDATECodeshareAgreement


Module Interfaces (8)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /codeshareagreement/marketingairline/{id}findAllCodeshareAgreementOfMarketingAirline(id)FlightNumberModuleGETAirline CodeshareAgreement
(2) /codeshareagreement/{id}findCodeshareAgreementById(id)FlightNumberModuleGETCodeshareAgreement
(3) /codeshareagreement/{id}updateCodeshareAgreementById(codeshareagreement)FlightNumberModulePUTCodeshareAgreement
(4) /codeshareagreement/{id}deleteCodeshareAgreementById(id)FlightNumberModuleDELETECodeshareAgreement
(5) /codeshareagreementfindAllCodeshareAgreement()FlightNumberModuleGETCodeshareAgreement
(6) /codeshareagreement/operatingairline/{id}findAllCodeshareAgreementOfOperatingAirline(id)FlightNumberModuleGETAirline CodeshareAgreement
(7) /codeshareagreementinsertCodeshareAgreement(codeshareagreement)FlightNumberModulePOSTCodeshareAgreement
(8) /codeshareagreement/flightnumber/{id}findAllCodeshareAgreementOfFlightNumber(id)FlightNumberModuleGETFlightNumber CodeshareAgreement





Example:

final CodeshareAgreement codeshareagreement = (CodeshareAgreement) invokeModule(FLIGHT_NUMBER_MODULE + "/codeshareagreement/" + id, CodeshareAgreement.class);
if (codeshareagreement != null) {
    final Airline operatingairline1 = (Airline) invokeModule(AIRLINE_MODULE + "/airline/" + codeshareagreement.getOperatingAirline().getId(), Airline.class);
    if (operatingairline1 != null) {
        final Country country2 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + operatingairline1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
    }
    final FlightNumber flightnumber3 = (FlightNumber) invokeModule(FLIGHT_NUMBER_MODULE + "/flightnumber/" + codeshareagreement.getFlightNumber().getId(), FlightNumber.class);
    if (flightnumber3 != null) {
        final Airline airline4 = (Airline) invokeModule(AIRLINE_MODULE + "/airline/" + flightnumber3.getAirline().getId(), Airline.class);
        if (airline4 != null) {
            final Country country5 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + airline4.getCountry().getId(), Country.class);
            if (country5 != null) {
            }
        }
    }
    final Airline marketingairline6 = (Airline) invokeModule(AIRLINE_MODULE + "/airline/" + codeshareagreement.getMarketingAirline().getId(), Airline.class);
    if (marketingairline6 != null) {
        final Country country7 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + marketingairline6.getCountry().getId(), Country.class);
        if (country7 != null) {
        }
    }
}
return codeshareagreement;


Overview

Summary

ServicesContactDonateAboutImprint