Overview

Summary

ContactDonateImprint


Appendix E-3: SPORTS EVENT (UI prompt)


SportsEventChannelModuleAmazonPrimeVideo

Properties (7)

PropertyTypeEntityReferenceModule
(1) CompetitionNameSTRINGSportsEvent
(2) CountryLONGSportsEventCountryTitleModule
(3) EventDateSTRINGSportsEvent
(4) NameSTRINGSportsEvent
(5) SportTypeSTRINGSportsEvent
(6) TitleLONGSportsEventTitleTitleModule
(7) VenueSTRINGSportsEvent


Module Interfaces (8)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /sportsevent/{id}deleteSportsEventById(id)ChannelModuleDELETESportsEvent
(2) /sportseventfindAllSportsEvent()ChannelModuleGETSportsEvent
(3) /sportsevent/title/{id}findAllSportsEventOfTitle(id)ChannelModuleGETTitle SportsEvent
(4) /liveprogram/sportsevent/{id}findAllLiveProgramOfSportsEvent(id)ChannelModuleGETSportsEvent LiveProgram
(5) /sportsevent/{id}updateSportsEventById(sportsevent)ChannelModulePUTSportsEvent
(6) /sportseventinsertSportsEvent(sportsevent)ChannelModulePOSTSportsEvent
(7) /sportsevent/country/{id}findAllSportsEventOfCountry(id)ChannelModuleGETCountry SportsEvent
(8) /sportsevent/{id}findSportsEventById(id)ChannelModuleGETSportsEvent





Example:

final SportsEvent sportsevent = (SportsEvent) invokeModule(CHANNEL_MODULE + "/sportsevent/" + id, SportsEvent.class);
if (sportsevent != null) {
    final Country country1 = (Country) invokeModule(TITLE_MODULE + "/country/" + sportsevent.getCountry().getId(), Country.class);
    if (country1 != null) {
    }
    final Title title2 = (Title) invokeModule(TITLE_MODULE + "/title/" + sportsevent.getTitle().getId(), Title.class);
    if (title2 != null) {
        final Country productioncountry3 = (Country) invokeModule(TITLE_MODULE + "/country/" + title2.getProductionCountry().getId(), Country.class);
        if (productioncountry3 != null) {
        }
        final Language originallanguage4 = (Language) invokeModule(LANGUAGE_MODULE + "/language/" + title2.getOriginalLanguage().getId(), Language.class);
        if (originallanguage4 != null) {
        }
    }
}
return sportsevent;


Overview

Summary

ContactDonateImprint