Overview

Summary

ContactDonateImprint


Appendix E-19: EVENT (UI prompt)


EventOrganizationModuleZeppelinFlight

Properties (7)

PropertyTypeEntityReferenceModule
(1) DateTimeDATEEvent
(2) DescriptionSTRINGEvent
(3) EventTypeSTRINGEvent
(4) LocationINTEventLocationLocationModule
(5) NameSTRINGEvent
(6) RelatedOrganizationINTEventOrganizationOrganizationModule
(7) RelatedZeppelinINTEventZeppelinZeppelinModule


Module Interfaces (10)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /event/location/{id}findAllEventOfLocation(id)OrganizationModuleGETLocation Event
(2) /event/relatedzeppelin/{id}findAllEventOfRelatedZeppelin(id)OrganizationModuleGETZeppelin Event
(3) /event/{id}deleteEventById(id)OrganizationModuleDELETEEvent
(4) /eventfindAllEvent()OrganizationModuleGETEvent
(5) /donationcampaign/relatedevent/{id}findAllDonationCampaignOfRelatedEvent(id)OrganizationModuleGETEvent DonationCampaign
(6) /event/{id}updateEventById(event)OrganizationModulePUTEvent
(7) /lottery/relatedevent/{id}findAllLotteryOfRelatedEvent(id)OrganizationModuleGETEvent Lottery
(8) /event/{id}findEventById(id)OrganizationModuleGETEvent
(9) /event/relatedorganization/{id}findAllEventOfRelatedOrganization(id)OrganizationModuleGETOrganization Event
(10) /eventinsertEvent(event)OrganizationModulePOSTEvent





Example:

final Event event = (Event) invokeModule(ORGANIZATION_MODULE + "/event/" + id, Event.class);
if (event != null) {
    final Zeppelin relatedzeppelin1 = (Zeppelin) invokeModule(ZEPPELIN_MODULE + "/zeppelin/" + event.getRelatedZeppelin().getId(), Zeppelin.class);
    if (relatedzeppelin1 != null) {
        final ZeppelinClass zeppelinclass2 = (ZeppelinClass) invokeModule(ORGANIZATION_MODULE + "/zeppelinclass/" + relatedzeppelin1.getZeppelinClass().getId(), ZeppelinClass.class);
        if (zeppelinclass2 != null) {
            final Organization manufacturer3 = (Organization) invokeModule(ORGANIZATION_MODULE + "/organization/" + zeppelinclass2.getManufacturer().getId(), Organization.class);
            if (manufacturer3 != null) {
                final Location headquarterslocation4 = (Location) invokeModule(LOCATION_MODULE + "/location/" + manufacturer3.getHeadquartersLocation().getId(), Location.class);
                if (headquarterslocation4 != null) {
                    final Country country5 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + headquarterslocation4.getCountry().getId(), Country.class);
                    if (country5 != null) {
                    }
                }
            }
        }
        final Location homebaselocation6 = (Location) invokeModule(LOCATION_MODULE + "/location/" + relatedzeppelin1.getHomeBaseLocation().getId(), Location.class);
        if (homebaselocation6 != null) {
            final Country country7 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + homebaselocation6.getCountry().getId(), Country.class);
            if (country7 != null) {
            }
        }
        final Organization operator8 = (Organization) invokeModule(ORGANIZATION_MODULE + "/organization/" + relatedzeppelin1.getOperator().getId(), Organization.class);
        if (operator8 != null) {
            final Location headquarterslocation9 = (Location) invokeModule(LOCATION_MODULE + "/location/" + operator8.getHeadquartersLocation().getId(), Location.class);
            if (headquarterslocation9 != null) {
                final Country country10 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + headquarterslocation9.getCountry().getId(), Country.class);
                if (country10 != null) {
                }
            }
        }
    }
    final Organization relatedorganization11 = (Organization) invokeModule(ORGANIZATION_MODULE + "/organization/" + event.getRelatedOrganization().getId(), Organization.class);
    if (relatedorganization11 != null) {
        final Location headquarterslocation12 = (Location) invokeModule(LOCATION_MODULE + "/location/" + relatedorganization11.getHeadquartersLocation().getId(), Location.class);
        if (headquarterslocation12 != null) {
            final Country country13 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + headquarterslocation12.getCountry().getId(), Country.class);
            if (country13 != null) {
            }
        }
    }
    final Location location14 = (Location) invokeModule(LOCATION_MODULE + "/location/" + event.getLocation().getId(), Location.class);
    if (location14 != null) {
        final Country country15 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + location14.getCountry().getId(), Country.class);
        if (country15 != null) {
        }
    }
}
return event;


Overview

Summary

ContactDonateImprint