Overview

Summary

ContactDonateImprint


8. JURISDICTION MODULE (UI prompt)



Module Entities (7)

EntityAliasModuleGlobal Schema
(1) CompanyCompanyCompanyModuleAirbnb
(2) CountryCountryCountryModuleAirbnb
(3) FineFineJurisdictionModuleAirbnb
(4) JurisdictionJurisdictionJurisdictionModuleAirbnb
(5) RegulationRegulationJurisdictionModuleAirbnb
(6) RegulationPlatformImpactRegulationPlatformImpactCompanyModuleAirbnb
(7) TaxCaseTaxCaseBookingModuleAirbnb

Module Interfaces (20)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /regulationfindAllRegulation()JurisdictionModuleGETRegulation
(2) /regulation/jurisdiction/{id}findAllRegulationOfJurisdiction(id)JurisdictionModuleGETJurisdiction Regulation
(3) /jurisdictioninsertJurisdiction(jurisdiction)JurisdictionModulePOSTJurisdiction
(4) /fine/company/{id}findAllFineOfCompany(id)JurisdictionModuleGETCompany Fine
(5) /fineinsertFine(fine)JurisdictionModulePOSTFine
(6) /regulation/{id}findRegulationById(id)JurisdictionModuleGETRegulation
(7) /fine/{id}updateFineById(fine)JurisdictionModulePUTFine
(8) /regulationinsertRegulation(regulation)JurisdictionModulePOSTRegulation
(9) /fine/jurisdiction/{id}findAllFineOfJurisdiction(id)JurisdictionModuleGETJurisdiction Fine
(10) /regulation/{id}updateRegulationById(regulation)JurisdictionModulePUTRegulation
(11) /jurisdictionfindAllJurisdiction()JurisdictionModuleGETJurisdiction
(12) /fine/{id}deleteFineById(id)JurisdictionModuleDELETEFine
(13) /regulation/{id}deleteRegulationById(id)JurisdictionModuleDELETERegulation
(14) /finefindAllFine()JurisdictionModuleGETFine
(15) /jurisdiction/country/{id}findAllJurisdictionOfCountry(id)JurisdictionModuleGETCountry Jurisdiction
(16) /jurisdiction/{id}updateJurisdictionById(jurisdiction)JurisdictionModulePUTJurisdiction
(17) /fine/{id}findFineById(id)JurisdictionModuleGETFine
(18) /jurisdiction/{id}deleteJurisdictionById(id)JurisdictionModuleDELETEJurisdiction
(19) /jurisdiction/{id}findJurisdictionById(id)JurisdictionModuleGETJurisdiction
(20) /fine/regulation/{id}findAllFineOfRegulation(id)JurisdictionModuleGETRegulation Fine






8.1 FINE


FineJurisdictionModuleAirbnb

Properties (7)

PropertyTypeEntityReferenceModule
(1) AmountDOUBLEFine
(2) CompanyLONGFineCompanyCompanyModule
(3) CurrencySTRINGFine
(4) DecisionDateDATEFine
(5) DescriptionSTRINGFine
(6) JurisdictionLONGFineJurisdictionJurisdictionModule
(7) RegulationLONGFineRegulationJurisdictionModule





Example:

final Fine fine = (Fine) invokeModule(JURISDICTION_MODULE + "/fine/" + id, Fine.class);
if (fine != null) {
    final Regulation regulation1 = (Regulation) invokeModule(JURISDICTION_MODULE + "/regulation/" + fine.getRegulation().getId(), Regulation.class);
    if (regulation1 != null) {
        final Jurisdiction jurisdiction2 = (Jurisdiction) invokeModule(JURISDICTION_MODULE + "/jurisdiction/" + regulation1.getJurisdiction().getId(), Jurisdiction.class);
        if (jurisdiction2 != null) {
            final Country country3 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + jurisdiction2.getCountry().getId(), Country.class);
            if (country3 != null) {
            }
        }
    }
    final Jurisdiction jurisdiction4 = (Jurisdiction) invokeModule(JURISDICTION_MODULE + "/jurisdiction/" + fine.getJurisdiction().getId(), Jurisdiction.class);
    if (jurisdiction4 != null) {
        final Country country5 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + jurisdiction4.getCountry().getId(), Country.class);
        if (country5 != null) {
        }
    }
    final Company company6 = (Company) invokeModule(COMPANY_MODULE + "/company/" + fine.getCompany().getId(), Company.class);
    if (company6 != null) {
        final Country country7 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + company6.getCountry().getId(), Country.class);
        if (country7 != null) {
        }
        final City city8 = (City) invokeModule(LISTING_MODULE + "/city/" + company6.getCity().getId(), City.class);
        if (city8 != null) {
            final Country country9 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + city8.getCountry().getId(), Country.class);
            if (country9 != null) {
            }
        }
    }
}
return fine;


8.2 JURISDICTION


JurisdictionJurisdictionModuleAirbnb

Properties (4)

PropertyTypeEntityReferenceModule
(1) CountryLONGJurisdictionCountryCountryModule
(2) LevelSTRINGJurisdiction
(3) NameSTRINGJurisdiction
(4) NotesSTRINGJurisdiction





Example:

final Jurisdiction jurisdiction = (Jurisdiction) invokeModule(JURISDICTION_MODULE + "/jurisdiction/" + id, Jurisdiction.class);
if (jurisdiction != null) {
    final Country country1 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + jurisdiction.getCountry().getId(), Country.class);
    if (country1 != null) {
    }
}
return jurisdiction;


8.3 REGULATION


RegulationJurisdictionModuleAirbnb

Properties (7)

PropertyTypeEntityReferenceModule
(1) DescriptionSTRINGRegulation
(2) EffectiveFromDATERegulation
(3) EffectiveToDATERegulation
(4) JurisdictionLONGRegulationJurisdictionJurisdictionModule
(5) MaxFineAmountDOUBLERegulation
(6) NameSTRINGRegulation
(7) RegulationTypeSTRINGRegulation





Example:

final Regulation regulation = (Regulation) invokeModule(JURISDICTION_MODULE + "/regulation/" + id, Regulation.class);
if (regulation != null) {
    final Jurisdiction jurisdiction1 = (Jurisdiction) invokeModule(JURISDICTION_MODULE + "/jurisdiction/" + regulation.getJurisdiction().getId(), Jurisdiction.class);
    if (jurisdiction1 != null) {
        final Country country2 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + jurisdiction1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
    }
}
return regulation;


Overview

Summary

ContactDonateImprint