Overview

Summary

ContactDonateImprint


11. SEASON MODULE (UI prompt)



Module Entities (11)

EntityAliasModuleGlobal Schema
(1) DownloadLicenseDownloadLicenseSeasonModuleAmazonPrimeVideo
(2) EpisodeEpisodeEpisodeModuleAmazonPrimeVideo
(3) PaymentPaymentUserModuleAmazonPrimeVideo
(4) PlaybackSessionPlaybackSessionEpisodeModuleAmazonPrimeVideo
(5) ProfileProfileProfileModuleAmazonPrimeVideo
(6) SeasonSeasonSeasonModuleAmazonPrimeVideo
(7) SubscriptionSubscriptionSeasonModuleAmazonPrimeVideo
(8) SubscriptionPlanSubscriptionPlanSubscriptionPlanModuleAmazonPrimeVideo
(9) TitleTitleTitleModuleAmazonPrimeVideo
(10) UserUserUserModuleAmazonPrimeVideo
(11) WatchHistoryWatchHistoryProfileModuleAmazonPrimeVideo

Module Interfaces (22)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /seasoninsertSeason(season)SeasonModulePOSTSeason
(2) /season/title/{id}findAllSeasonOfTitle(id)SeasonModuleGETTitle Season
(3) /downloadlicense/title/{id}findAllDownloadLicenseOfTitle(id)SeasonModuleGETTitle DownloadLicense
(4) /subscriptionfindAllSubscription()SeasonModuleGETSubscription
(5) /subscription/subscriptionplan/{id}findAllSubscriptionOfSubscriptionPlan(id)SeasonModuleGETSubscriptionPlan Subscription
(6) /season/{id}deleteSeasonById(id)SeasonModuleDELETESeason
(7) /downloadlicensefindAllDownloadLicense()SeasonModuleGETDownloadLicense
(8) /subscriptioninsertSubscription(subscription)SeasonModulePOSTSubscription
(9) /season/{id}updateSeasonById(season)SeasonModulePUTSeason
(10) /season/{id}findSeasonById(id)SeasonModuleGETSeason
(11) /subscription/{id}deleteSubscriptionById(id)SeasonModuleDELETESubscription
(12) /downloadlicense/profile/{id}findAllDownloadLicenseOfProfile(id)SeasonModuleGETProfile DownloadLicense
(13) /subscription/{id}findSubscriptionById(id)SeasonModuleGETSubscription
(14) /downloadlicense/{id}deleteDownloadLicenseById(id)SeasonModuleDELETEDownloadLicense
(15) /downloadlicense/season/{id}findAllDownloadLicenseOfSeason(id)SeasonModuleGETSeason DownloadLicense
(16) /subscription/user/{id}findAllSubscriptionOfUser(id)SeasonModuleGETUser Subscription
(17) /subscription/{id}updateSubscriptionById(subscription)SeasonModulePUTSubscription
(18) /seasonfindAllSeason()SeasonModuleGETSeason
(19) /downloadlicense/episode/{id}findAllDownloadLicenseOfEpisode(id)SeasonModuleGETEpisode DownloadLicense
(20) /downloadlicense/{id}findDownloadLicenseById(id)SeasonModuleGETDownloadLicense
(21) /downloadlicenseinsertDownloadLicense(downloadlicense)SeasonModulePOSTDownloadLicense
(22) /downloadlicense/{id}updateDownloadLicenseById(downloadlicense)SeasonModulePUTDownloadLicense






11.1 DOWNLOAD LICENSE


DownloadLicenseSeasonModuleAmazonPrimeVideo

Properties (8)

PropertyTypeEntityReferenceModule
(1) DeviceLimitLONGDownloadLicense
(2) EpisodeLONGDownloadLicenseEpisodeEpisodeModule
(3) ExpiresAtSTRINGDownloadLicense
(4) GrantedAtSTRINGDownloadLicense
(5) IsExpiredBOOLDownloadLicense
(6) ProfileLONGDownloadLicenseProfileProfileModule
(7) SeasonLONGDownloadLicenseSeasonSeasonModule
(8) TitleLONGDownloadLicenseTitleTitleModule





Example:

final DownloadLicense downloadlicense = (DownloadLicense) invokeModule(SEASON_MODULE + "/downloadlicense/" + id, DownloadLicense.class);
if (downloadlicense != null) {
    final Episode episode1 = (Episode) invokeModule(EPISODE_MODULE + "/episode/" + downloadlicense.getEpisode().getId(), Episode.class);
    if (episode1 != null) {
        final Season season2 = (Season) invokeModule(SEASON_MODULE + "/season/" + episode1.getSeason().getId(), Season.class);
        if (season2 != null) {
            final Title title3 = (Title) invokeModule(TITLE_MODULE + "/title/" + season2.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 Title title6 = (Title) invokeModule(TITLE_MODULE + "/title/" + episode1.getTitle().getId(), Title.class);
        if (title6 != null) {
            final Country productioncountry7 = (Country) invokeModule(TITLE_MODULE + "/country/" + title6.getProductionCountry().getId(), Country.class);
            if (productioncountry7 != null) {
            }
            final Language originallanguage8 = (Language) invokeModule(LANGUAGE_MODULE + "/language/" + title6.getOriginalLanguage().getId(), Language.class);
            if (originallanguage8 != null) {
            }
        }
    }
    final Profile profile9 = (Profile) invokeModule(PROFILE_MODULE + "/profile/" + downloadlicense.getProfile().getId(), Profile.class);
    if (profile9 != null) {
        final User user10 = (User) invokeModule(USER_MODULE + "/user/" + profile9.getUser().getId(), User.class);
        if (user10 != null) {
            final Country country11 = (Country) invokeModule(TITLE_MODULE + "/country/" + user10.getCountry().getId(), Country.class);
            if (country11 != null) {
            }
        }
    }
    final Season season12 = (Season) invokeModule(SEASON_MODULE + "/season/" + downloadlicense.getSeason().getId(), Season.class);
    if (season12 != null) {
        final Title title13 = (Title) invokeModule(TITLE_MODULE + "/title/" + season12.getTitle().getId(), Title.class);
        if (title13 != null) {
            final Country productioncountry14 = (Country) invokeModule(TITLE_MODULE + "/country/" + title13.getProductionCountry().getId(), Country.class);
            if (productioncountry14 != null) {
            }
            final Language originallanguage15 = (Language) invokeModule(LANGUAGE_MODULE + "/language/" + title13.getOriginalLanguage().getId(), Language.class);
            if (originallanguage15 != null) {
            }
        }
    }
    final Title title16 = (Title) invokeModule(TITLE_MODULE + "/title/" + downloadlicense.getTitle().getId(), Title.class);
    if (title16 != null) {
        final Country productioncountry17 = (Country) invokeModule(TITLE_MODULE + "/country/" + title16.getProductionCountry().getId(), Country.class);
        if (productioncountry17 != null) {
        }
        final Language originallanguage18 = (Language) invokeModule(LANGUAGE_MODULE + "/language/" + title16.getOriginalLanguage().getId(), Language.class);
        if (originallanguage18 != null) {
        }
    }
}
return downloadlicense;


11.2 SEASON


SeasonSeasonModuleAmazonPrimeVideo

Properties (5)

PropertyTypeEntityReferenceModule
(1) NameSTRINGSeason
(2) ReleaseDateDATESeason
(3) SeasonNumberLONGSeason
(4) SynopsisSTRINGSeason
(5) TitleLONGSeasonTitleTitleModule





Example:

final Season season = (Season) invokeModule(SEASON_MODULE + "/season/" + id, Season.class);
if (season != null) {
    final Title title1 = (Title) invokeModule(TITLE_MODULE + "/title/" + season.getTitle().getId(), Title.class);
    if (title1 != null) {
        final Country productioncountry2 = (Country) invokeModule(TITLE_MODULE + "/country/" + title1.getProductionCountry().getId(), Country.class);
        if (productioncountry2 != null) {
        }
        final Language originallanguage3 = (Language) invokeModule(LANGUAGE_MODULE + "/language/" + title1.getOriginalLanguage().getId(), Language.class);
        if (originallanguage3 != null) {
        }
    }
}
return season;


11.3 SUBSCRIPTION


SubscriptionSeasonModuleAmazonPrimeVideo

Properties (6)

PropertyTypeEntityReferenceModule
(1) AutoRenewBOOLSubscription
(2) EndDateDATESubscription
(3) StartDateDATESubscription
(4) StatusSTRINGSubscription
(5) SubscriptionPlanLONGSubscriptionSubscriptionPlanSubscriptionPlanModule
(6) UserLONGSubscriptionUserUserModule





Example:

final Subscription subscription = (Subscription) invokeModule(SEASON_MODULE + "/subscription/" + id, Subscription.class);
if (subscription != null) {
    final User user1 = (User) invokeModule(USER_MODULE + "/user/" + subscription.getUser().getId(), User.class);
    if (user1 != null) {
        final Country country2 = (Country) invokeModule(TITLE_MODULE + "/country/" + user1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
    }
    final SubscriptionPlan subscriptionplan3 = (SubscriptionPlan) invokeModule(SUBSCRIPTION_PLAN_MODULE + "/subscriptionplan/" + subscription.getSubscriptionPlan().getId(), SubscriptionPlan.class);
    if (subscriptionplan3 != null) {
    }
}
return subscription;


Overview

Summary

ContactDonateImprint