Overview

Summary

ContactDonateImprint


Appendix E-13: PROTECTION ZONE (UI prompt)


ProtectionZoneSpaceAgencyModuleSpaceports

Properties (4)

PropertyTypeEntityReferenceModule
(1) DescriptionSTRINGProtectionZone
(2) NameSTRINGProtectionZone
(3) SpaceportLONGProtectionZoneSpaceportSpaceportModule
(4) TypeSTRINGProtectionZone


Module Interfaces (6)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /protectionzonefindAllProtectionZone()SpaceAgencyModuleGETProtectionZone
(2) /protectionzone/{id}findProtectionZoneById(id)SpaceAgencyModuleGETProtectionZone
(3) /protectionzone/{id}deleteProtectionZoneById(id)SpaceAgencyModuleDELETEProtectionZone
(4) /protectionzone/spaceport/{id}findAllProtectionZoneOfSpaceport(id)SpaceAgencyModuleGETSpaceport ProtectionZone
(5) /protectionzoneinsertProtectionZone(protectionzone)SpaceAgencyModulePOSTProtectionZone
(6) /protectionzone/{id}updateProtectionZoneById(protectionzone)SpaceAgencyModulePUTProtectionZone





Example:

final ProtectionZone protectionzone = (ProtectionZone) invokeModule(SPACE_AGENCY_MODULE + "/protectionzone/" + id, ProtectionZone.class);
if (protectionzone != null) {
    final Spaceport spaceport1 = (Spaceport) invokeModule(SPACEPORT_MODULE + "/spaceport/" + protectionzone.getSpaceport().getId(), Spaceport.class);
    if (spaceport1 != null) {
        final Country country2 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + spaceport1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
        final Region region3 = (Region) invokeModule(SPACEPORT_MODULE + "/region/" + spaceport1.getRegion().getId(), Region.class);
        if (region3 != null) {
            final Country country4 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + region3.getCountry().getId(), Country.class);
            if (country4 != null) {
            }
        }
    }
}
return protectionzone;


Overview

Summary

ContactDonateImprint