Overview

Summary

ContactDonateImprint


Appendix E-26: WATCH LATER (UI prompt)


WatchLaterUserModuleYouTubeCom

Properties (3)

PropertyTypeEntityReferenceModule
(1) AddedAtDATEWatchLater
(2) UserLONGWatchLaterUserUserModule
(3) VideoLONGWatchLaterVideoVideoModule


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /watchlater/{id}findWatchLaterById(id)UserModuleGETWatchLater
(2) /watchlaterinsertWatchLater(watchlater)UserModulePOSTWatchLater
(3) /watchlater/{id}updateWatchLaterById(watchlater)UserModulePUTWatchLater
(4) /watchlaterfindAllWatchLater()UserModuleGETWatchLater
(5) /watchlater/video/{id}findAllWatchLaterOfVideo(id)UserModuleGETVideo WatchLater
(6) /watchlater/user/{id}findAllWatchLaterOfUser(id)UserModuleGETUser WatchLater
(7) /watchlater/{id}deleteWatchLaterById(id)UserModuleDELETEWatchLater





Example:

final WatchLater watchlater = (WatchLater) invokeModule(USER_MODULE + "/watchlater/" + id, WatchLater.class);
if (watchlater != null) {
    final User user1 = (User) invokeModule(USER_MODULE + "/user/" + watchlater.getUser().getId(), User.class);
    if (user1 != null) {
    }
    final Video video2 = (Video) invokeModule(VIDEO_MODULE + "/video/" + watchlater.getVideo().getId(), Video.class);
    if (video2 != null) {
        final Category category3 = (Category) invokeModule(AD_MODULE + "/category/" + video2.getCategory().getId(), Category.class);
        if (category3 != null) {
        }
        final Channel channel4 = (Channel) invokeModule(CHANNEL_MODULE + "/channel/" + video2.getChannel().getId(), Channel.class);
        if (channel4 != null) {
            final User owneruser5 = (User) invokeModule(USER_MODULE + "/user/" + channel4.getOwnerUser().getId(), User.class);
            if (owneruser5 != null) {
            }
        }
    }
}
return watchlater;


Overview

Summary

ContactDonateImprint