Overview

Summary

ContactDonateImprint


10. USER ACCOUNT MODULE (UI prompt)



Module Entities (13)

EntityAliasModuleGlobal Schema
(1) CountryCountryCountryModuleImdb
(2) LanguageLanguageLanguageModuleImdb
(3) PollPollUserAccountModuleImdb
(4) PollOptionPollOptionPersonModuleImdb
(5) PollVotePollVoteEditorialArticleModuleImdb
(6) ReviewVoteReviewVoteLanguageModuleImdb
(7) TitleTitleTitleModuleImdb
(8) TitleRatingTitleRatingUserAccountModuleImdb
(9) TitleReviewTitleReviewLanguageModuleImdb
(10) UserAccountUserAccountUserAccountModuleImdb
(11) UserListUserListAwardEventModuleImdb
(12) WatchlistWatchlistUserAccountModuleImdb
(13) WatchlistItemWatchlistItemUserAccountModuleImdb

Module Interfaces (33)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /watchlist/useraccount/{id}findAllWatchlistOfUserAccount(id)UserAccountModuleGETUserAccount Watchlist
(2) /watchlist/{id}findWatchlistById(id)UserAccountModuleGETWatchlist
(3) /watchlistitem/{id}findWatchlistItemById(id)UserAccountModuleGETWatchlistItem
(4) /useraccount/preferredlanguage/{id}findAllUserAccountOfPreferredLanguage(id)UserAccountModuleGETLanguage UserAccount
(5) /useraccount/{id}findUserAccountById(id)UserAccountModuleGETUserAccount
(6) /poll/createdby/{id}findAllPollOfCreatedBy(id)UserAccountModuleGETUserAccount Poll
(7) /useraccount/{id}deleteUserAccountById(id)UserAccountModuleDELETEUserAccount
(8) /useraccount/country/{id}findAllUserAccountOfCountry(id)UserAccountModuleGETCountry UserAccount
(9) /poll/{id}findPollById(id)UserAccountModuleGETPoll
(10) /watchlistitem/title/{id}findAllWatchlistItemOfTitle(id)UserAccountModuleGETTitle WatchlistItem
(11) /titlerating/{id}findTitleRatingById(id)UserAccountModuleGETTitleRating
(12) /titleratinginsertTitleRating(titlerating)UserAccountModulePOSTTitleRating
(13) /watchlist/{id}deleteWatchlistById(id)UserAccountModuleDELETEWatchlist
(14) /titlerating/{id}deleteTitleRatingById(id)UserAccountModuleDELETETitleRating
(15) /watchlistitem/{id}updateWatchlistItemById(watchlistitem)UserAccountModulePUTWatchlistItem
(16) /useraccount/{id}updateUserAccountById(useraccount)UserAccountModulePUTUserAccount
(17) /watchlistiteminsertWatchlistItem(watchlistitem)UserAccountModulePOSTWatchlistItem
(18) /watchlistitem/{id}deleteWatchlistItemById(id)UserAccountModuleDELETEWatchlistItem
(19) /pollfindAllPoll()UserAccountModuleGETPoll
(20) /titlerating/title/{id}findAllTitleRatingOfTitle(id)UserAccountModuleGETTitle TitleRating
(21) /poll/{id}deletePollById(id)UserAccountModuleDELETEPoll
(22) /titlerating/{id}updateTitleRatingById(titlerating)UserAccountModulePUTTitleRating
(23) /watchlistfindAllWatchlist()UserAccountModuleGETWatchlist
(24) /poll/{id}updatePollById(poll)UserAccountModulePUTPoll
(25) /watchlistitem/watchlist/{id}findAllWatchlistItemOfWatchlist(id)UserAccountModuleGETWatchlist WatchlistItem
(26) /titlerating/useraccount/{id}findAllTitleRatingOfUserAccount(id)UserAccountModuleGETUserAccount TitleRating
(27) /watchlistitemfindAllWatchlistItem()UserAccountModuleGETWatchlistItem
(28) /pollinsertPoll(poll)UserAccountModulePOSTPoll
(29) /useraccountinsertUserAccount(useraccount)UserAccountModulePOSTUserAccount
(30) /useraccountfindAllUserAccount()UserAccountModuleGETUserAccount
(31) /titleratingfindAllTitleRating()UserAccountModuleGETTitleRating
(32) /watchlistinsertWatchlist(watchlist)UserAccountModulePOSTWatchlist
(33) /watchlist/{id}updateWatchlistById(watchlist)UserAccountModulePUTWatchlist






10.1 POLL


PollUserAccountModuleImdb

Properties (6)

PropertyTypeEntityReferenceModule
(1) ClosedAtDATEPoll
(2) CreatedAtDATEPoll
(3) CreatedByLONGPollUserAccountUserAccountModule
(4) DescriptionSTRINGPoll
(5) IsActiveBOOLPoll
(6) QuestionSTRINGPoll





Example:

final Poll poll = (Poll) invokeModule(USER_ACCOUNT_MODULE + "/poll/" + id, Poll.class);
if (poll != null) {
    final UserAccount createdby1 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + poll.getCreatedBy().getId(), UserAccount.class);
    if (createdby1 != null) {
        final Country country2 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + createdby1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
        final Language preferredlanguage3 = (Language) invokeModule(LANGUAGE_MODULE + "/language/" + createdby1.getPreferredLanguage().getId(), Language.class);
        if (preferredlanguage3 != null) {
        }
    }
}
return poll;


10.2 TITLE RATING


TitleRatingUserAccountModuleImdb

Properties (4)

PropertyTypeEntityReferenceModule
(1) RatedAtDATETitleRating
(2) RatingValueINTTitleRating
(3) TitleLONGTitleRatingTitleTitleModule
(4) UserAccountLONGTitleRatingUserAccountUserAccountModule





Example:

final TitleRating titlerating = (TitleRating) invokeModule(USER_ACCOUNT_MODULE + "/titlerating/" + id, TitleRating.class);
if (titlerating != null) {
    final UserAccount useraccount1 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + titlerating.getUserAccount().getId(), UserAccount.class);
    if (useraccount1 != null) {
        final Country country2 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + useraccount1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
        final Language preferredlanguage3 = (Language) invokeModule(LANGUAGE_MODULE + "/language/" + useraccount1.getPreferredLanguage().getId(), Language.class);
        if (preferredlanguage3 != null) {
        }
    }
    final Title title4 = (Title) invokeModule(TITLE_MODULE + "/title/" + titlerating.getTitle().getId(), Title.class);
    if (title4 != null) {
        final TitleType titletype5 = (TitleType) invokeModule(EDITORIAL_ARTICLE_MODULE + "/titletype/" + title4.getTitleType().getId(), TitleType.class);
        if (titletype5 != null) {
        }
    }
}
return titlerating;


10.3 USER ACCOUNT


UserAccountUserAccountModuleImdb

Properties (9)

PropertyTypeEntityReferenceModule
(1) CountryLONGUserAccountCountryCountryModule
(2) CreatedAtDATEUserAccount
(3) DisplayNameSTRINGUserAccount
(4) EmailSTRINGUserAccount
(5) IsActiveBOOLUserAccount
(6) PasswordHashSTRINGUserAccount
(7) PreferredLanguageLONGUserAccountLanguageLanguageModule
(8) UpdatedAtDATEUserAccount
(9) UsernameSTRINGUserAccount





Example:

final UserAccount useraccount = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + id, UserAccount.class);
if (useraccount != null) {
    final Country country1 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + useraccount.getCountry().getId(), Country.class);
    if (country1 != null) {
    }
    final Language preferredlanguage2 = (Language) invokeModule(LANGUAGE_MODULE + "/language/" + useraccount.getPreferredLanguage().getId(), Language.class);
    if (preferredlanguage2 != null) {
    }
}
return useraccount;


10.4 WATCHLIST


WatchlistUserAccountModuleImdb

Properties (6)

PropertyTypeEntityReferenceModule
(1) CreatedAtDATEWatchlist
(2) DescriptionSTRINGWatchlist
(3) IsDefaultBOOLWatchlist
(4) NameSTRINGWatchlist
(5) UpdatedAtDATEWatchlist
(6) UserAccountLONGWatchlistUserAccountUserAccountModule





Example:

final Watchlist watchlist = (Watchlist) invokeModule(USER_ACCOUNT_MODULE + "/watchlist/" + id, Watchlist.class);
if (watchlist != null) {
    final UserAccount useraccount1 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + watchlist.getUserAccount().getId(), UserAccount.class);
    if (useraccount1 != null) {
        final Country country2 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + useraccount1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
        final Language preferredlanguage3 = (Language) invokeModule(LANGUAGE_MODULE + "/language/" + useraccount1.getPreferredLanguage().getId(), Language.class);
        if (preferredlanguage3 != null) {
        }
    }
}
return watchlist;


10.5 WATCHLIST ITEM


WatchlistItemUserAccountModuleImdb

Properties (5)

PropertyTypeEntityReferenceModule
(1) AddedAtDATEWatchlistItem
(2) NotesSTRINGWatchlistItem
(3) PositionLONGWatchlistItem
(4) TitleLONGWatchlistItemTitleTitleModule
(5) WatchlistLONGWatchlistItemWatchlistUserAccountModule





Example:

final WatchlistItem watchlistitem = (WatchlistItem) invokeModule(USER_ACCOUNT_MODULE + "/watchlistitem/" + id, WatchlistItem.class);
if (watchlistitem != null) {
    final Title title1 = (Title) invokeModule(TITLE_MODULE + "/title/" + watchlistitem.getTitle().getId(), Title.class);
    if (title1 != null) {
        final TitleType titletype2 = (TitleType) invokeModule(EDITORIAL_ARTICLE_MODULE + "/titletype/" + title1.getTitleType().getId(), TitleType.class);
        if (titletype2 != null) {
        }
    }
    final Watchlist watchlist3 = (Watchlist) invokeModule(USER_ACCOUNT_MODULE + "/watchlist/" + watchlistitem.getWatchlist().getId(), Watchlist.class);
    if (watchlist3 != null) {
        final UserAccount useraccount4 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + watchlist3.getUserAccount().getId(), UserAccount.class);
        if (useraccount4 != null) {
            final Country country5 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + useraccount4.getCountry().getId(), Country.class);
            if (country5 != null) {
            }
            final Language preferredlanguage6 = (Language) invokeModule(LANGUAGE_MODULE + "/language/" + useraccount4.getPreferredLanguage().getId(), Language.class);
            if (preferredlanguage6 != null) {
            }
        }
    }
}
return watchlistitem;


Overview

Summary

ContactDonateImprint