Overview

Summary

ContactDonateImprint


10. PROFILE MODULE (UI prompt)



Module Entities (10)

EntityAliasModuleGlobal Schema
(1) DownloadLicenseDownloadLicenseSeasonModuleAmazonPrimeVideo
(2) EpisodeEpisodeEpisodeModuleAmazonPrimeVideo
(3) PlaybackSessionPlaybackSessionEpisodeModuleAmazonPrimeVideo
(4) ProfileProfileProfileModuleAmazonPrimeVideo
(5) SeasonSeasonSeasonModuleAmazonPrimeVideo
(6) TitleTitleTitleModuleAmazonPrimeVideo
(7) UserUserUserModuleAmazonPrimeVideo
(8) UserRatingUserRatingVideoFormatModuleAmazonPrimeVideo
(9) WatchHistoryWatchHistoryProfileModuleAmazonPrimeVideo
(10) WatchlistItemWatchlistItemProfileModuleAmazonPrimeVideo

Module Interfaces (22)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /watchlistitem/{id}findWatchlistItemById(id)ProfileModuleGETWatchlistItem
(2) /watchhistory/{id}updateWatchHistoryById(watchhistory)ProfileModulePUTWatchHistory
(3) /watchhistory/profile/{id}findAllWatchHistoryOfProfile(id)ProfileModuleGETProfile WatchHistory
(4) /watchlistitem/{id}deleteWatchlistItemById(id)ProfileModuleDELETEWatchlistItem
(5) /profile/{id}updateProfileById(profile)ProfileModulePUTProfile
(6) /watchhistory/title/{id}findAllWatchHistoryOfTitle(id)ProfileModuleGETTitle WatchHistory
(7) /profile/{id}findProfileById(id)ProfileModuleGETProfile
(8) /profilefindAllProfile()ProfileModuleGETProfile
(9) /profileinsertProfile(profile)ProfileModulePOSTProfile
(10) /watchlistiteminsertWatchlistItem(watchlistitem)ProfileModulePOSTWatchlistItem
(11) /watchlistitem/title/{id}findAllWatchlistItemOfTitle(id)ProfileModuleGETTitle WatchlistItem
(12) /watchhistory/season/{id}findAllWatchHistoryOfSeason(id)ProfileModuleGETSeason WatchHistory
(13) /watchlistitem/profile/{id}findAllWatchlistItemOfProfile(id)ProfileModuleGETProfile WatchlistItem
(14) /watchhistory/{id}findWatchHistoryById(id)ProfileModuleGETWatchHistory
(15) /watchhistory/{id}deleteWatchHistoryById(id)ProfileModuleDELETEWatchHistory
(16) /profile/{id}deleteProfileById(id)ProfileModuleDELETEProfile
(17) /watchlistitem/{id}updateWatchlistItemById(watchlistitem)ProfileModulePUTWatchlistItem
(18) /watchhistoryinsertWatchHistory(watchhistory)ProfileModulePOSTWatchHistory
(19) /watchhistoryfindAllWatchHistory()ProfileModuleGETWatchHistory
(20) /watchlistitemfindAllWatchlistItem()ProfileModuleGETWatchlistItem
(21) /profile/user/{id}findAllProfileOfUser(id)ProfileModuleGETUser Profile
(22) /watchhistory/episode/{id}findAllWatchHistoryOfEpisode(id)ProfileModuleGETEpisode WatchHistory






10.1 PROFILE


ProfileProfileModuleAmazonPrimeVideo

Properties (5)

PropertyTypeEntityReferenceModule
(1) AvatarUrlSTRINGProfile
(2) CreatedAtSTRINGProfile
(3) IsKidsProfileBOOLProfile
(4) NameSTRINGProfile
(5) UserLONGProfileUserUserModule





Example:

final Profile profile = (Profile) invokeModule(PROFILE_MODULE + "/profile/" + id, Profile.class);
if (profile != null) {
    final User user1 = (User) invokeModule(USER_MODULE + "/user/" + profile.getUser().getId(), User.class);
    if (user1 != null) {
        final Country country2 = (Country) invokeModule(TITLE_MODULE + "/country/" + user1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
    }
}
return profile;


10.2 WATCH HISTORY


WatchHistoryProfileModuleAmazonPrimeVideo

Properties (8)

PropertyTypeEntityReferenceModule
(1) CompletedAtSTRINGWatchHistory
(2) EpisodeLONGWatchHistoryEpisodeEpisodeModule
(3) LastPositionSecondsLONGWatchHistory
(4) ProfileLONGWatchHistoryProfileProfileModule
(5) ProgressPercentSTRINGWatchHistory
(6) SeasonLONGWatchHistorySeasonSeasonModule
(7) StartedAtSTRINGWatchHistory
(8) TitleLONGWatchHistoryTitleTitleModule





Example:

final WatchHistory watchhistory = (WatchHistory) invokeModule(PROFILE_MODULE + "/watchhistory/" + id, WatchHistory.class);
if (watchhistory != null) {
    final Episode episode1 = (Episode) invokeModule(EPISODE_MODULE + "/episode/" + watchhistory.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/" + watchhistory.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/" + watchhistory.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/" + watchhistory.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 watchhistory;


10.3 WATCHLIST ITEM


WatchlistItemProfileModuleAmazonPrimeVideo

Properties (3)

PropertyTypeEntityReferenceModule
(1) AddedAtSTRINGWatchlistItem
(2) ProfileLONGWatchlistItemProfileProfileModule
(3) TitleLONGWatchlistItemTitleTitleModule





Example:

final WatchlistItem watchlistitem = (WatchlistItem) invokeModule(PROFILE_MODULE + "/watchlistitem/" + id, WatchlistItem.class);
if (watchlistitem != null) {
    final Profile profile1 = (Profile) invokeModule(PROFILE_MODULE + "/profile/" + watchlistitem.getProfile().getId(), Profile.class);
    if (profile1 != null) {
        final User user2 = (User) invokeModule(USER_MODULE + "/user/" + profile1.getUser().getId(), User.class);
        if (user2 != null) {
            final Country country3 = (Country) invokeModule(TITLE_MODULE + "/country/" + user2.getCountry().getId(), Country.class);
            if (country3 != null) {
            }
        }
    }
    final Title title4 = (Title) invokeModule(TITLE_MODULE + "/title/" + watchlistitem.getTitle().getId(), Title.class);
    if (title4 != null) {
        final Country productioncountry5 = (Country) invokeModule(TITLE_MODULE + "/country/" + title4.getProductionCountry().getId(), Country.class);
        if (productioncountry5 != null) {
        }
        final Language originallanguage6 = (Language) invokeModule(LANGUAGE_MODULE + "/language/" + title4.getOriginalLanguage().getId(), Language.class);
        if (originallanguage6 != null) {
        }
    }
}
return watchlistitem;


Overview

Summary

ContactDonateImprint