Overview

Summary

ContactDonateImprint


8. ORGANIZATION MODULE (UI prompt)



Module Entities (10)

EntityAliasModuleGlobal Schema
(1) DonationCampaignDonationCampaignOrganizationModuleZeppelinFlight
(2) EngineEngineEngineModuleZeppelinFlight
(3) EventEventOrganizationModuleZeppelinFlight
(4) FoundationFoundationGiftVoucherModuleZeppelinFlight
(5) JobPostingJobPostingLocationModuleZeppelinFlight
(6) LocationLocationLocationModuleZeppelinFlight
(7) LotteryLotteryOrganizationModuleZeppelinFlight
(8) OrganizationOrganizationOrganizationModuleZeppelinFlight
(9) ZeppelinZeppelinZeppelinModuleZeppelinFlight
(10) ZeppelinClassZeppelinClassOrganizationModuleZeppelinFlight

Module Interfaces (34)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /lotteryfindAllLottery()OrganizationModuleGETLottery
(2) /donationcampaign/beneficiaryorganization/{id}findAllDonationCampaignOfBeneficiaryOrganization(id)OrganizationModuleGETOrganization DonationCampaign
(3) /eventinsertEvent(event)OrganizationModulePOSTEvent
(4) /zeppelinclass/{id}findZeppelinClassById(id)OrganizationModuleGETZeppelinClass
(5) /lotteryinsertLottery(lottery)OrganizationModulePOSTLottery
(6) /event/relatedorganization/{id}findAllEventOfRelatedOrganization(id)OrganizationModuleGETOrganization Event
(7) /donationcampaign/{id}updateDonationCampaignById(donationcampaign)OrganizationModulePUTDonationCampaign
(8) /donationcampaignfindAllDonationCampaign()OrganizationModuleGETDonationCampaign
(9) /donationcampaign/{id}deleteDonationCampaignById(id)OrganizationModuleDELETEDonationCampaign
(10) /event/{id}updateEventById(event)OrganizationModulePUTEvent
(11) /event/{id}findEventById(id)OrganizationModuleGETEvent
(12) /event/location/{id}findAllEventOfLocation(id)OrganizationModuleGETLocation Event
(13) /donationcampaigninsertDonationCampaign(donationcampaign)OrganizationModulePOSTDonationCampaign
(14) /organizationfindAllOrganization()OrganizationModuleGETOrganization
(15) /organizationinsertOrganization(organization)OrganizationModulePOSTOrganization
(16) /event/relatedzeppelin/{id}findAllEventOfRelatedZeppelin(id)OrganizationModuleGETZeppelin Event
(17) /eventfindAllEvent()OrganizationModuleGETEvent
(18) /zeppelinclassinsertZeppelinClass(zeppelinclass)OrganizationModulePOSTZeppelinClass
(19) /lottery/{id}findLotteryById(id)OrganizationModuleGETLottery
(20) /donationcampaign/{id}findDonationCampaignById(id)OrganizationModuleGETDonationCampaign
(21) /organization/headquarterslocation/{id}findAllOrganizationOfHeadquartersLocation(id)OrganizationModuleGETLocation Organization
(22) /zeppelinclass/{id}deleteZeppelinClassById(id)OrganizationModuleDELETEZeppelinClass
(23) /donationcampaign/relatedevent/{id}findAllDonationCampaignOfRelatedEvent(id)OrganizationModuleGETEvent DonationCampaign
(24) /lottery/relatedevent/{id}findAllLotteryOfRelatedEvent(id)OrganizationModuleGETEvent Lottery
(25) /event/{id}deleteEventById(id)OrganizationModuleDELETEEvent
(26) /lottery/{id}updateLotteryById(lottery)OrganizationModulePUTLottery
(27) /lottery/beneficiaryorganization/{id}findAllLotteryOfBeneficiaryOrganization(id)OrganizationModuleGETOrganization Lottery
(28) /organization/{id}deleteOrganizationById(id)OrganizationModuleDELETEOrganization
(29) /zeppelinclass/{id}updateZeppelinClassById(zeppelinclass)OrganizationModulePUTZeppelinClass
(30) /lottery/{id}deleteLotteryById(id)OrganizationModuleDELETELottery
(31) /zeppelinclassfindAllZeppelinClass()OrganizationModuleGETZeppelinClass
(32) /zeppelinclass/manufacturer/{id}findAllZeppelinClassOfManufacturer(id)OrganizationModuleGETOrganization ZeppelinClass
(33) /organization/{id}findOrganizationById(id)OrganizationModuleGETOrganization
(34) /organization/{id}updateOrganizationById(organization)OrganizationModulePUTOrganization






8.1 DONATION CAMPAIGN


DonationCampaignOrganizationModuleZeppelinFlight

Properties (8)

PropertyTypeEntityReferenceModule
(1) AmountRaisedSTRINGDonationCampaign
(2) BeneficiaryOrganizationINTDonationCampaignOrganizationOrganizationModule
(3) CurrencySTRINGDonationCampaign
(4) DescriptionSTRINGDonationCampaign
(5) EndDateDATEDonationCampaign
(6) NameSTRINGDonationCampaign
(7) RelatedEventINTDonationCampaignEventOrganizationModule
(8) StartDateDATEDonationCampaign





Example:

final DonationCampaign donationcampaign = (DonationCampaign) invokeModule(ORGANIZATION_MODULE + "/donationcampaign/" + id, DonationCampaign.class);
if (donationcampaign != null) {
    final Organization beneficiaryorganization1 = (Organization) invokeModule(ORGANIZATION_MODULE + "/organization/" + donationcampaign.getBeneficiaryOrganization().getId(), Organization.class);
    if (beneficiaryorganization1 != null) {
        final Location headquarterslocation2 = (Location) invokeModule(LOCATION_MODULE + "/location/" + beneficiaryorganization1.getHeadquartersLocation().getId(), Location.class);
        if (headquarterslocation2 != null) {
            final Country country3 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + headquarterslocation2.getCountry().getId(), Country.class);
            if (country3 != null) {
            }
        }
    }
    final Event relatedevent4 = (Event) invokeModule(ORGANIZATION_MODULE + "/event/" + donationcampaign.getRelatedEvent().getId(), Event.class);
    if (relatedevent4 != null) {
        final Zeppelin relatedzeppelin5 = (Zeppelin) invokeModule(ZEPPELIN_MODULE + "/zeppelin/" + relatedevent4.getRelatedZeppelin().getId(), Zeppelin.class);
        if (relatedzeppelin5 != null) {
            final ZeppelinClass zeppelinclass6 = (ZeppelinClass) invokeModule(ORGANIZATION_MODULE + "/zeppelinclass/" + relatedzeppelin5.getZeppelinClass().getId(), ZeppelinClass.class);
            if (zeppelinclass6 != null) {
                final Organization manufacturer7 = (Organization) invokeModule(ORGANIZATION_MODULE + "/organization/" + zeppelinclass6.getManufacturer().getId(), Organization.class);
                if (manufacturer7 != null) {
                    final Location headquarterslocation8 = (Location) invokeModule(LOCATION_MODULE + "/location/" + manufacturer7.getHeadquartersLocation().getId(), Location.class);
                    if (headquarterslocation8 != null) {
                        final Country country9 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + headquarterslocation8.getCountry().getId(), Country.class);
                        if (country9 != null) {
                        }
                    }
                }
            }
            final Location homebaselocation10 = (Location) invokeModule(LOCATION_MODULE + "/location/" + relatedzeppelin5.getHomeBaseLocation().getId(), Location.class);
            if (homebaselocation10 != null) {
                final Country country11 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + homebaselocation10.getCountry().getId(), Country.class);
                if (country11 != null) {
                }
            }
            final Organization operator12 = (Organization) invokeModule(ORGANIZATION_MODULE + "/organization/" + relatedzeppelin5.getOperator().getId(), Organization.class);
            if (operator12 != null) {
                final Location headquarterslocation13 = (Location) invokeModule(LOCATION_MODULE + "/location/" + operator12.getHeadquartersLocation().getId(), Location.class);
                if (headquarterslocation13 != null) {
                    final Country country14 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + headquarterslocation13.getCountry().getId(), Country.class);
                    if (country14 != null) {
                    }
                }
            }
        }
        final Organization relatedorganization15 = (Organization) invokeModule(ORGANIZATION_MODULE + "/organization/" + relatedevent4.getRelatedOrganization().getId(), Organization.class);
        if (relatedorganization15 != null) {
            final Location headquarterslocation16 = (Location) invokeModule(LOCATION_MODULE + "/location/" + relatedorganization15.getHeadquartersLocation().getId(), Location.class);
            if (headquarterslocation16 != null) {
                final Country country17 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + headquarterslocation16.getCountry().getId(), Country.class);
                if (country17 != null) {
                }
            }
        }
        final Location location18 = (Location) invokeModule(LOCATION_MODULE + "/location/" + relatedevent4.getLocation().getId(), Location.class);
        if (location18 != null) {
            final Country country19 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + location18.getCountry().getId(), Country.class);
            if (country19 != null) {
            }
        }
    }
}
return donationcampaign;


8.2 EVENT


EventOrganizationModuleZeppelinFlight

Properties (7)

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





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;


8.3 LOTTERY


LotteryOrganizationModuleZeppelinFlight

Properties (8)

PropertyTypeEntityReferenceModule
(1) BeneficiaryOrganizationINTLotteryOrganizationOrganizationModule
(2) CurrencySTRINGLottery
(3) DescriptionSTRINGLottery
(4) EndDateDATELottery
(5) NameSTRINGLottery
(6) ProceedsAmountSTRINGLottery
(7) RelatedEventINTLotteryEventOrganizationModule
(8) StartDateDATELottery





Example:

final Lottery lottery = (Lottery) invokeModule(ORGANIZATION_MODULE + "/lottery/" + id, Lottery.class);
if (lottery != null) {
    final Event relatedevent1 = (Event) invokeModule(ORGANIZATION_MODULE + "/event/" + lottery.getRelatedEvent().getId(), Event.class);
    if (relatedevent1 != null) {
        final Zeppelin relatedzeppelin2 = (Zeppelin) invokeModule(ZEPPELIN_MODULE + "/zeppelin/" + relatedevent1.getRelatedZeppelin().getId(), Zeppelin.class);
        if (relatedzeppelin2 != null) {
            final ZeppelinClass zeppelinclass3 = (ZeppelinClass) invokeModule(ORGANIZATION_MODULE + "/zeppelinclass/" + relatedzeppelin2.getZeppelinClass().getId(), ZeppelinClass.class);
            if (zeppelinclass3 != null) {
                final Organization manufacturer4 = (Organization) invokeModule(ORGANIZATION_MODULE + "/organization/" + zeppelinclass3.getManufacturer().getId(), Organization.class);
                if (manufacturer4 != null) {
                    final Location headquarterslocation5 = (Location) invokeModule(LOCATION_MODULE + "/location/" + manufacturer4.getHeadquartersLocation().getId(), Location.class);
                    if (headquarterslocation5 != null) {
                        final Country country6 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + headquarterslocation5.getCountry().getId(), Country.class);
                        if (country6 != null) {
                        }
                    }
                }
            }
            final Location homebaselocation7 = (Location) invokeModule(LOCATION_MODULE + "/location/" + relatedzeppelin2.getHomeBaseLocation().getId(), Location.class);
            if (homebaselocation7 != null) {
                final Country country8 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + homebaselocation7.getCountry().getId(), Country.class);
                if (country8 != null) {
                }
            }
            final Organization operator9 = (Organization) invokeModule(ORGANIZATION_MODULE + "/organization/" + relatedzeppelin2.getOperator().getId(), Organization.class);
            if (operator9 != null) {
                final Location headquarterslocation10 = (Location) invokeModule(LOCATION_MODULE + "/location/" + operator9.getHeadquartersLocation().getId(), Location.class);
                if (headquarterslocation10 != null) {
                    final Country country11 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + headquarterslocation10.getCountry().getId(), Country.class);
                    if (country11 != null) {
                    }
                }
            }
        }
        final Organization relatedorganization12 = (Organization) invokeModule(ORGANIZATION_MODULE + "/organization/" + relatedevent1.getRelatedOrganization().getId(), Organization.class);
        if (relatedorganization12 != null) {
            final Location headquarterslocation13 = (Location) invokeModule(LOCATION_MODULE + "/location/" + relatedorganization12.getHeadquartersLocation().getId(), Location.class);
            if (headquarterslocation13 != null) {
                final Country country14 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + headquarterslocation13.getCountry().getId(), Country.class);
                if (country14 != null) {
                }
            }
        }
        final Location location15 = (Location) invokeModule(LOCATION_MODULE + "/location/" + relatedevent1.getLocation().getId(), Location.class);
        if (location15 != null) {
            final Country country16 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + location15.getCountry().getId(), Country.class);
            if (country16 != null) {
            }
        }
    }
    final Organization beneficiaryorganization17 = (Organization) invokeModule(ORGANIZATION_MODULE + "/organization/" + lottery.getBeneficiaryOrganization().getId(), Organization.class);
    if (beneficiaryorganization17 != null) {
        final Location headquarterslocation18 = (Location) invokeModule(LOCATION_MODULE + "/location/" + beneficiaryorganization17.getHeadquartersLocation().getId(), Location.class);
        if (headquarterslocation18 != null) {
            final Country country19 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + headquarterslocation18.getCountry().getId(), Country.class);
            if (country19 != null) {
            }
        }
    }
}
return lottery;


8.4 ORGANIZATION


OrganizationOrganizationModuleZeppelinFlight

Properties (5)

PropertyTypeEntityReferenceModule
(1) FoundedOnDATEOrganization
(2) HeadquartersLocationINTOrganizationLocationLocationModule
(3) NameSTRINGOrganization
(4) OrganizationTypeSTRINGOrganization
(5) WebsiteSTRINGOrganization





Example:

final Organization organization = (Organization) invokeModule(ORGANIZATION_MODULE + "/organization/" + id, Organization.class);
if (organization != null) {
    final Location headquarterslocation1 = (Location) invokeModule(LOCATION_MODULE + "/location/" + organization.getHeadquartersLocation().getId(), Location.class);
    if (headquarterslocation1 != null) {
        final Country country2 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + headquarterslocation1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
    }
}
return organization;


8.5 ZEPPELIN CLASS


ZeppelinClassOrganizationModuleZeppelinFlight

Properties (9)

PropertyTypeEntityReferenceModule
(1) EndYearINTZeppelinClass
(2) LengthMetersSTRINGZeppelinClass
(3) ManufacturerINTZeppelinClassOrganizationOrganizationModule
(4) MaxPayloadTonsSTRINGZeppelinClass
(5) MaxSpeedKmhSTRINGZeppelinClass
(6) NameSTRINGZeppelinClass
(7) NotesSTRINGZeppelinClass
(8) StartYearINTZeppelinClass
(9) VolumeCubicMetersSTRINGZeppelinClass





Example:

final ZeppelinClass zeppelinclass = (ZeppelinClass) invokeModule(ORGANIZATION_MODULE + "/zeppelinclass/" + id, ZeppelinClass.class);
if (zeppelinclass != null) {
    final Organization manufacturer1 = (Organization) invokeModule(ORGANIZATION_MODULE + "/organization/" + zeppelinclass.getManufacturer().getId(), Organization.class);
    if (manufacturer1 != null) {
        final Location headquarterslocation2 = (Location) invokeModule(LOCATION_MODULE + "/location/" + manufacturer1.getHeadquartersLocation().getId(), Location.class);
        if (headquarterslocation2 != null) {
            final Country country3 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + headquarterslocation2.getCountry().getId(), Country.class);
            if (country3 != null) {
            }
        }
    }
}
return zeppelinclass;


Overview

Summary

ContactDonateImprint