Overview

Summary

ContactDonateImprint


Appendix E-33: DOWNLOAD LICENSE (UI prompt)


DownloadLicenseSeasonModuleAmazonPrimeVideo

Properties (8)

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


Module Interfaces (9)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /downloadlicense/title/{id}findAllDownloadLicenseOfTitle(id)SeasonModuleGETTitle DownloadLicense
(2) /downloadlicense/season/{id}findAllDownloadLicenseOfSeason(id)SeasonModuleGETSeason DownloadLicense
(3) /downloadlicense/profile/{id}findAllDownloadLicenseOfProfile(id)SeasonModuleGETProfile DownloadLicense
(4) /downloadlicenseinsertDownloadLicense(downloadlicense)SeasonModulePOSTDownloadLicense
(5) /downloadlicense/{id}updateDownloadLicenseById(downloadlicense)SeasonModulePUTDownloadLicense
(6) /downloadlicense/episode/{id}findAllDownloadLicenseOfEpisode(id)SeasonModuleGETEpisode DownloadLicense
(7) /downloadlicense/{id}deleteDownloadLicenseById(id)SeasonModuleDELETEDownloadLicense
(8) /downloadlicensefindAllDownloadLicense()SeasonModuleGETDownloadLicense
(9) /downloadlicense/{id}findDownloadLicenseById(id)SeasonModuleGETDownloadLicense





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;


Overview

Summary

ContactDonateImprint