Overview

Summary

ContactDonateImprint


Appendix E-30: EPISODE (UI prompt)


EpisodeSeasonModuleNetflix

Properties (7)

PropertyTypeEntityReferenceModule
(1) ContentTitleLONGEpisodeContentTitleContentTitleModule
(2) EpisodeNumberLONGEpisode
(3) ReleaseDateDATEEpisode
(4) RuntimeMinutesLONGEpisode
(5) SeasonLONGEpisodeSeasonSeasonModule
(6) SynopsisSTRINGEpisode
(7) TitleSTRINGEpisode


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /episodeinsertEpisode(episode)SeasonModulePOSTEpisode
(2) /episode/contenttitle/{id}findAllEpisodeOfContentTitle(id)SeasonModuleGETContentTitle Episode
(3) /episode/{id}deleteEpisodeById(id)SeasonModuleDELETEEpisode
(4) /episode/season/{id}findAllEpisodeOfSeason(id)SeasonModuleGETSeason Episode
(5) /episode/{id}updateEpisodeById(episode)SeasonModulePUTEpisode
(6) /episode/{id}findEpisodeById(id)SeasonModuleGETEpisode
(7) /episodefindAllEpisode()SeasonModuleGETEpisode





Example:

final Episode episode = (Episode) invokeModule(SEASON_MODULE + "/episode/" + id, Episode.class);
if (episode != null) {
    final ContentTitle contenttitle1 = (ContentTitle) invokeModule(CONTENT_TITLE_MODULE + "/contenttitle/" + episode.getContentTitle().getId(), ContentTitle.class);
    if (contenttitle1 != null) {
        final ProductionCompany productioncompany2 = (ProductionCompany) invokeModule(COUNTRY_MODULE + "/productioncompany/" + contenttitle1.getProductionCompany().getId(), ProductionCompany.class);
        if (productioncompany2 != null) {
            final Country country3 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + productioncompany2.getCountry().getId(), Country.class);
            if (country3 != null) {
            }
        }
        final ContentType contenttype4 = (ContentType) invokeModule(CONTENT_TYPE_MODULE + "/contenttype/" + contenttitle1.getContentType().getId(), ContentType.class);
        if (contenttype4 != null) {
        }
    }
    final Season season5 = (Season) invokeModule(SEASON_MODULE + "/season/" + episode.getSeason().getId(), Season.class);
    if (season5 != null) {
        final ContentTitle contenttitle6 = (ContentTitle) invokeModule(CONTENT_TITLE_MODULE + "/contenttitle/" + season5.getContentTitle().getId(), ContentTitle.class);
        if (contenttitle6 != null) {
            final ProductionCompany productioncompany7 = (ProductionCompany) invokeModule(COUNTRY_MODULE + "/productioncompany/" + contenttitle6.getProductionCompany().getId(), ProductionCompany.class);
            if (productioncompany7 != null) {
                final Country country8 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + productioncompany7.getCountry().getId(), Country.class);
                if (country8 != null) {
                }
            }
            final ContentType contenttype9 = (ContentType) invokeModule(CONTENT_TYPE_MODULE + "/contenttype/" + contenttitle6.getContentType().getId(), ContentType.class);
            if (contenttype9 != null) {
            }
        }
    }
}
return episode;


Overview

Summary

ContactDonateImprint