Overview

Summary

ContactDonateImprint


Appendix E-17: OFFICE (UI prompt)


OfficeAdvocacyGroupModuleAirbnb

Properties (7)

PropertyTypeEntityReferenceModule
(1) AddressLineSTRINGOffice
(2) CityLONGOfficeCityListingModule
(3) ClosedDateDATEOffice
(4) CompanyLONGOfficeCompanyCompanyModule
(5) CountryLONGOfficeCountryCountryModule
(6) IsHeadquartersBOOLOffice
(7) OpenedDateDATEOffice


Module Interfaces (8)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /office/company/{id}findAllOfficeOfCompany(id)AdvocacyGroupModuleGETCompany Office
(2) /officeinsertOffice(office)AdvocacyGroupModulePOSTOffice
(3) /office/{id}updateOfficeById(office)AdvocacyGroupModulePUTOffice
(4) /office/city/{id}findAllOfficeOfCity(id)AdvocacyGroupModuleGETCity Office
(5) /office/{id}deleteOfficeById(id)AdvocacyGroupModuleDELETEOffice
(6) /officefindAllOffice()AdvocacyGroupModuleGETOffice
(7) /office/country/{id}findAllOfficeOfCountry(id)AdvocacyGroupModuleGETCountry Office
(8) /office/{id}findOfficeById(id)AdvocacyGroupModuleGETOffice





Example:

final Office office = (Office) invokeModule(ADVOCACY_GROUP_MODULE + "/office/" + id, Office.class);
if (office != null) {
    final Company company1 = (Company) invokeModule(COMPANY_MODULE + "/company/" + office.getCompany().getId(), Company.class);
    if (company1 != null) {
        final Country country2 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + company1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
        final City city3 = (City) invokeModule(LISTING_MODULE + "/city/" + company1.getCity().getId(), City.class);
        if (city3 != null) {
            final Country country4 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city3.getCountry().getId(), Country.class);
            if (country4 != null) {
            }
        }
    }
    final Country country5 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + office.getCountry().getId(), Country.class);
    if (country5 != null) {
    }
    final City city6 = (City) invokeModule(LISTING_MODULE + "/city/" + office.getCity().getId(), City.class);
    if (city6 != null) {
        final Country country7 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city6.getCountry().getId(), Country.class);
        if (country7 != null) {
        }
    }
}
return office;


Overview

Summary

ContactDonateImprint