Overview

Summary

ContactDonateImprint


Appendix E-8: PLAYBACK SESSION (UI prompt)


PlaybackSessionEpisodeModuleAmazonPrimeVideo

Properties (9)

PropertyTypeEntityReferenceModule
(1) DeviceLONGPlaybackSessionDeviceEpisodeModule
(2) EndedAtSTRINGPlaybackSession
(3) EpisodeLONGPlaybackSessionEpisodeEpisodeModule
(4) IsLiveBOOLPlaybackSession
(5) PlaybackTypeSTRINGPlaybackSession
(6) ProfileLONGPlaybackSessionProfileProfileModule
(7) SeasonLONGPlaybackSessionSeasonSeasonModule
(8) StartedAtSTRINGPlaybackSession
(9) TitleLONGPlaybackSessionTitleTitleModule


Module Interfaces (10)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /playbacksession/episode/{id}findAllPlaybackSessionOfEpisode(id)EpisodeModuleGETEpisode PlaybackSession
(2) /playbacksession/{id}deletePlaybackSessionById(id)EpisodeModuleDELETEPlaybackSession
(3) /playbacksession/device/{id}findAllPlaybackSessionOfDevice(id)EpisodeModuleGETDevice PlaybackSession
(4) /playbacksession/profile/{id}findAllPlaybackSessionOfProfile(id)EpisodeModuleGETProfile PlaybackSession
(5) /playbacksession/{id}findPlaybackSessionById(id)EpisodeModuleGETPlaybackSession
(6) /playbacksessionfindAllPlaybackSession()EpisodeModuleGETPlaybackSession
(7) /playbacksession/title/{id}findAllPlaybackSessionOfTitle(id)EpisodeModuleGETTitle PlaybackSession
(8) /playbacksession/{id}updatePlaybackSessionById(playbacksession)EpisodeModulePUTPlaybackSession
(9) /playbacksession/season/{id}findAllPlaybackSessionOfSeason(id)EpisodeModuleGETSeason PlaybackSession
(10) /playbacksessioninsertPlaybackSession(playbacksession)EpisodeModulePOSTPlaybackSession





Example:

final PlaybackSession playbacksession = (PlaybackSession) invokeModule(EPISODE_MODULE + "/playbacksession/" + id, PlaybackSession.class);
if (playbacksession != null) {
    final Season season1 = (Season) invokeModule(SEASON_MODULE + "/season/" + playbacksession.getSeason().getId(), Season.class);
    if (season1 != null) {
        final Title title2 = (Title) invokeModule(TITLE_MODULE + "/title/" + season1.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) {
            }
        }
    }
    final Title title5 = (Title) invokeModule(TITLE_MODULE + "/title/" + playbacksession.getTitle().getId(), Title.class);
    if (title5 != null) {
        final Country productioncountry6 = (Country) invokeModule(TITLE_MODULE + "/country/" + title5.getProductionCountry().getId(), Country.class);
        if (productioncountry6 != null) {
        }
        final Language originallanguage7 = (Language) invokeModule(LANGUAGE_MODULE + "/language/" + title5.getOriginalLanguage().getId(), Language.class);
        if (originallanguage7 != null) {
        }
    }
    final Profile profile8 = (Profile) invokeModule(PROFILE_MODULE + "/profile/" + playbacksession.getProfile().getId(), Profile.class);
    if (profile8 != null) {
        final User user9 = (User) invokeModule(USER_MODULE + "/user/" + profile8.getUser().getId(), User.class);
        if (user9 != null) {
            final Country country10 = (Country) invokeModule(TITLE_MODULE + "/country/" + user9.getCountry().getId(), Country.class);
            if (country10 != null) {
            }
        }
    }
    final Episode episode11 = (Episode) invokeModule(EPISODE_MODULE + "/episode/" + playbacksession.getEpisode().getId(), Episode.class);
    if (episode11 != null) {
        final Season season12 = (Season) invokeModule(SEASON_MODULE + "/season/" + episode11.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/" + episode11.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) {
            }
        }
    }
    final Device device19 = (Device) invokeModule(EPISODE_MODULE + "/device/" + playbacksession.getDevice().getId(), Device.class);
    if (device19 != null) {
        final User user20 = (User) invokeModule(USER_MODULE + "/user/" + device19.getUser().getId(), User.class);
        if (user20 != null) {
            final Country country21 = (Country) invokeModule(TITLE_MODULE + "/country/" + user20.getCountry().getId(), Country.class);
            if (country21 != null) {
            }
        }
    }
}
return playbacksession;


Overview

Summary

ContactDonateImprint