Overview

Summary

ServicesContactDonateAboutImprint


Appendix E-14: VIDEO VIEW (UI prompt)


VideoViewDeviceModuleYouTubeCom

Properties (9)

PropertyTypeEntityReferenceModule
(1) CountrySTRINGVideoView
(2) DeviceLONGVideoViewDeviceDeviceModule
(3) IsUniqueSessionBOOLVideoView
(4) ReferrerTypeSTRINGVideoView
(5) SessionLONGVideoViewUserSessionDeviceModule
(6) UserLONGVideoViewUserUserModule
(7) VideoLONGVideoViewVideoVideoModule
(8) WatchedAtDATEVideoView
(9) WatchTimeSecondsLONGVideoView


Module Interfaces (9)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /videoviewfindAllVideoView()DeviceModuleGETVideoView
(2) /videoview/video/{id}findAllVideoViewOfVideo(id)DeviceModuleGETVideo VideoView
(3) /videoview/{id}updateVideoViewById(videoview)DeviceModulePUTVideoView
(4) /videoview/session/{id}findAllVideoViewOfSession(id)DeviceModuleGETUserSession VideoView
(5) /videoview/user/{id}findAllVideoViewOfUser(id)DeviceModuleGETUser VideoView
(6) /videoview/{id}findVideoViewById(id)DeviceModuleGETVideoView
(7) /videoviewinsertVideoView(videoview)DeviceModulePOSTVideoView
(8) /videoview/{id}deleteVideoViewById(id)DeviceModuleDELETEVideoView
(9) /videoview/device/{id}findAllVideoViewOfDevice(id)DeviceModuleGETDevice VideoView





Example:

final VideoView videoview = (VideoView) invokeModule(DEVICE_MODULE + "/videoview/" + id, VideoView.class);
if (videoview != null) {
    final Device device1 = (Device) invokeModule(DEVICE_MODULE + "/device/" + videoview.getDevice().getId(), Device.class);
    if (device1 != null) {
    }
    final Video video2 = (Video) invokeModule(VIDEO_MODULE + "/video/" + videoview.getVideo().getId(), Video.class);
    if (video2 != null) {
        final Category category3 = (Category) invokeModule(CATEGORY_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) {
            }
        }
    }
    final UserSession session6 = (UserSession) invokeModule(DEVICE_MODULE + "/usersession/" + videoview.getSession().getId(), UserSession.class);
    if (session6 != null) {
        final User user7 = (User) invokeModule(USER_MODULE + "/user/" + session6.getUser().getId(), User.class);
        if (user7 != null) {
        }
        final Device device8 = (Device) invokeModule(DEVICE_MODULE + "/device/" + session6.getDevice().getId(), Device.class);
        if (device8 != null) {
        }
    }
    final User user9 = (User) invokeModule(USER_MODULE + "/user/" + videoview.getUser().getId(), User.class);
    if (user9 != null) {
    }
}
return videoview;


Overview

Summary

ServicesContactDonateAboutImprint