Overview

Summary

ContactDonateImprint


Appendix E-2: RECOMMENDATION EVENT (UI prompt)


RecommendationEventUserProfileModuleNetflix

Properties (6)

PropertyTypeEntityReferenceModule
(1) ContentTitleLONGRecommendationEventContentTitleContentTitleModule
(2) EventDateDATERecommendationEvent
(3) EventTypeSTRINGRecommendationEvent
(4) RatingValueSTRINGRecommendationEvent
(5) RecommendationAlgorithmLONGRecommendationEventRecommendationAlgorithmRecommendationAlgorithmModule
(6) UserProfileLONGRecommendationEventUserProfileUserProfileModule


Module Interfaces (8)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /recommendationevent/recommendationalgorithm/{id}findAllRecommendationEventOfRecommendationAlgorithm(id)UserProfileModuleGETRecommendationAlgorithm RecommendationEvent
(2) /recommendationeventinsertRecommendationEvent(recommendationevent)UserProfileModulePOSTRecommendationEvent
(3) /recommendationeventfindAllRecommendationEvent()UserProfileModuleGETRecommendationEvent
(4) /recommendationevent/{id}findRecommendationEventById(id)UserProfileModuleGETRecommendationEvent
(5) /recommendationevent/{id}deleteRecommendationEventById(id)UserProfileModuleDELETERecommendationEvent
(6) /recommendationevent/contenttitle/{id}findAllRecommendationEventOfContentTitle(id)UserProfileModuleGETContentTitle RecommendationEvent
(7) /recommendationevent/userprofile/{id}findAllRecommendationEventOfUserProfile(id)UserProfileModuleGETUserProfile RecommendationEvent
(8) /recommendationevent/{id}updateRecommendationEventById(recommendationevent)UserProfileModulePUTRecommendationEvent





Example:

final RecommendationEvent recommendationevent = (RecommendationEvent) invokeModule(USER_PROFILE_MODULE + "/recommendationevent/" + id, RecommendationEvent.class);
if (recommendationevent != null) {
    final UserProfile userprofile1 = (UserProfile) invokeModule(USER_PROFILE_MODULE + "/userprofile/" + recommendationevent.getUserProfile().getId(), UserProfile.class);
    if (userprofile1 != null) {
        final UserAccount useraccount2 = (UserAccount) invokeModule(USER_PROFILE_MODULE + "/useraccount/" + userprofile1.getUserAccount().getId(), UserAccount.class);
        if (useraccount2 != null) {
            final Country country3 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + useraccount2.getCountry().getId(), Country.class);
            if (country3 != null) {
            }
        }
    }
    final ContentTitle contenttitle4 = (ContentTitle) invokeModule(CONTENT_TITLE_MODULE + "/contenttitle/" + recommendationevent.getContentTitle().getId(), ContentTitle.class);
    if (contenttitle4 != null) {
        final ProductionCompany productioncompany5 = (ProductionCompany) invokeModule(COUNTRY_MODULE + "/productioncompany/" + contenttitle4.getProductionCompany().getId(), ProductionCompany.class);
        if (productioncompany5 != null) {
            final Country country6 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + productioncompany5.getCountry().getId(), Country.class);
            if (country6 != null) {
            }
        }
        final ContentType contenttype7 = (ContentType) invokeModule(CONTENT_TYPE_MODULE + "/contenttype/" + contenttitle4.getContentType().getId(), ContentType.class);
        if (contenttype7 != null) {
        }
    }
    final RecommendationAlgorithm recommendationalgorithm8 = (RecommendationAlgorithm) invokeModule(RECOMMENDATION_ALGORITHM_MODULE + "/recommendationalgorithm/" + recommendationevent.getRecommendationAlgorithm().getId(), RecommendationAlgorithm.class);
    if (recommendationalgorithm8 != null) {
        final Company company9 = (Company) invokeModule(COMPANY_MODULE + "/company/" + recommendationalgorithm8.getCompany().getId(), Company.class);
        if (company9 != null) {
        }
    }
}
return recommendationevent;


Overview

Summary

ContactDonateImprint