Overview

Summary

ContactDonateImprint


Appendix E-10: AD IMPRESSION (UI prompt)


AdImpressionUserModuleYouTubeCom

Properties (7)

PropertyTypeEntityReferenceModule
(1) AdLONGAdImpressionAdAdModule
(2) ClickedAtDATEAdImpression
(3) DeviceLONGAdImpressionDeviceDeviceModule
(4) ImpressionAtDATEAdImpression
(5) RevenueMicrosLONGAdImpression
(6) UserLONGAdImpressionUserUserModule
(7) VideoLONGAdImpressionVideoVideoModule


Module Interfaces (9)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /adimpressionfindAllAdImpression()UserModuleGETAdImpression
(2) /adimpression/{id}deleteAdImpressionById(id)UserModuleDELETEAdImpression
(3) /adimpression/user/{id}findAllAdImpressionOfUser(id)UserModuleGETUser AdImpression
(4) /adimpression/{id}findAdImpressionById(id)UserModuleGETAdImpression
(5) /adimpression/{id}updateAdImpressionById(adimpression)UserModulePUTAdImpression
(6) /adimpressioninsertAdImpression(adimpression)UserModulePOSTAdImpression
(7) /adimpression/ad/{id}findAllAdImpressionOfAd(id)UserModuleGETAd AdImpression
(8) /adimpression/device/{id}findAllAdImpressionOfDevice(id)UserModuleGETDevice AdImpression
(9) /adimpression/video/{id}findAllAdImpressionOfVideo(id)UserModuleGETVideo AdImpression





Example:

final AdImpression adimpression = (AdImpression) invokeModule(USER_MODULE + "/adimpression/" + id, AdImpression.class);
if (adimpression != null) {
    final Video video1 = (Video) invokeModule(VIDEO_MODULE + "/video/" + adimpression.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/" + adimpression.getAd().getId(), Ad.class);
    if (ad5 != null) {
    }
    final User user6 = (User) invokeModule(USER_MODULE + "/user/" + adimpression.getUser().getId(), User.class);
    if (user6 != null) {
    }
    final Device device7 = (Device) invokeModule(DEVICE_MODULE + "/device/" + adimpression.getDevice().getId(), Device.class);
    if (device7 != null) {
    }
}
return adimpression;


Overview

Summary

ContactDonateImprint