Overview

Summary

ContactDonateImprint


Appendix E-4: VIDEO AD (UI prompt)


VideoAdAdModuleYouTubeCom

Properties (5)

PropertyTypeEntityReferenceModule
(1) AdLONGVideoAdAdAdModule
(2) CreatedAtDATEVideoAd
(3) InsertTimeSecondsLONGVideoAd
(4) PositionSTRINGVideoAd
(5) VideoLONGVideoAdVideoVideoModule


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /videoad/{id}deleteVideoAdById(id)AdModuleDELETEVideoAd
(2) /videoad/video/{id}findAllVideoAdOfVideo(id)AdModuleGETVideo VideoAd
(3) /videoad/{id}findVideoAdById(id)AdModuleGETVideoAd
(4) /videoad/ad/{id}findAllVideoAdOfAd(id)AdModuleGETAd VideoAd
(5) /videoadinsertVideoAd(videoad)AdModulePOSTVideoAd
(6) /videoadfindAllVideoAd()AdModuleGETVideoAd
(7) /videoad/{id}updateVideoAdById(videoad)AdModulePUTVideoAd





Example:

final VideoAd videoad = (VideoAd) invokeModule(AD_MODULE + "/videoad/" + id, VideoAd.class);
if (videoad != null) {
    final Video video1 = (Video) invokeModule(VIDEO_MODULE + "/video/" + videoad.getVideo().getId(), Video.class);
    if (video1 != null) {
        final Category category2 = (Category) invokeModule(AD_MODULE + "/category/" + video1.getCategory().getId(), Category.class);
        if (category2 != null) {
        }
        final Channel channel3 = (Channel) invokeModule(CHANNEL_MODULE + "/channel/" + video1.getChannel().getId(), Channel.class);
        if (channel3 != null) {
            final User owneruser4 = (User) invokeModule(USER_MODULE + "/user/" + channel3.getOwnerUser().getId(), User.class);
            if (owneruser4 != null) {
            }
        }
    }
    final Ad ad5 = (Ad) invokeModule(AD_MODULE + "/ad/" + videoad.getAd().getId(), Ad.class);
    if (ad5 != null) {
    }
}
return videoad;


Overview

Summary

ContactDonateImprint