Overview

Summary

ContactDonateImprint


Appendix E-28: LIVE PROGRAM (UI prompt)


LiveProgramChannelModuleAmazonPrimeVideo

Properties (6)

PropertyTypeEntityReferenceModule
(1) ChannelLONGLiveProgramChannelChannelModule
(2) EndTimeSTRINGLiveProgram
(3) IsSportsEventBOOLLiveProgram
(4) SportsEventLONGLiveProgramSportsEventChannelModule
(5) StartTimeSTRINGLiveProgram
(6) TitleLONGLiveProgramTitleTitleModule


Module Interfaces (8)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /liveprogramfindAllLiveProgram()ChannelModuleGETLiveProgram
(2) /liveprograminsertLiveProgram(liveprogram)ChannelModulePOSTLiveProgram
(3) /liveprogram/{id}deleteLiveProgramById(id)ChannelModuleDELETELiveProgram
(4) /liveprogram/sportsevent/{id}findAllLiveProgramOfSportsEvent(id)ChannelModuleGETSportsEvent LiveProgram
(5) /liveprogram/{id}updateLiveProgramById(liveprogram)ChannelModulePUTLiveProgram
(6) /liveprogram/{id}findLiveProgramById(id)ChannelModuleGETLiveProgram
(7) /liveprogram/channel/{id}findAllLiveProgramOfChannel(id)ChannelModuleGETChannel LiveProgram
(8) /liveprogram/title/{id}findAllLiveProgramOfTitle(id)ChannelModuleGETTitle LiveProgram





Example:

final LiveProgram liveprogram = (LiveProgram) invokeModule(CHANNEL_MODULE + "/liveprogram/" + id, LiveProgram.class);
if (liveprogram != null) {
    final Channel channel1 = (Channel) invokeModule(CHANNEL_MODULE + "/channel/" + liveprogram.getChannel().getId(), Channel.class);
    if (channel1 != null) {
        final Company providercompany2 = (Company) invokeModule(COMPANY_MODULE + "/company/" + channel1.getProviderCompany().getId(), Company.class);
        if (providercompany2 != null) {
        }
    }
    final Title title3 = (Title) invokeModule(TITLE_MODULE + "/title/" + liveprogram.getTitle().getId(), Title.class);
    if (title3 != null) {
        final Country productioncountry4 = (Country) invokeModule(TITLE_MODULE + "/country/" + title3.getProductionCountry().getId(), Country.class);
        if (productioncountry4 != null) {
        }
        final Language originallanguage5 = (Language) invokeModule(LANGUAGE_MODULE + "/language/" + title3.getOriginalLanguage().getId(), Language.class);
        if (originallanguage5 != null) {
        }
    }
    final SportsEvent sportsevent6 = (SportsEvent) invokeModule(CHANNEL_MODULE + "/sportsevent/" + liveprogram.getSportsEvent().getId(), SportsEvent.class);
    if (sportsevent6 != null) {
        final Country country7 = (Country) invokeModule(TITLE_MODULE + "/country/" + sportsevent6.getCountry().getId(), Country.class);
        if (country7 != null) {
        }
        final Title title8 = (Title) invokeModule(TITLE_MODULE + "/title/" + sportsevent6.getTitle().getId(), Title.class);
        if (title8 != null) {
            final Country productioncountry9 = (Country) invokeModule(TITLE_MODULE + "/country/" + title8.getProductionCountry().getId(), Country.class);
            if (productioncountry9 != null) {
            }
            final Language originallanguage10 = (Language) invokeModule(LANGUAGE_MODULE + "/language/" + title8.getOriginalLanguage().getId(), Language.class);
            if (originallanguage10 != null) {
            }
        }
    }
}
return liveprogram;


Overview

Summary

ContactDonateImprint