Overview

Summary

ServicesContactDonateAboutImprint


Appendix E-24: THUMBNAIL (UI prompt)


ThumbnailLiveStreamModuleYouTubeCom

Properties (6)

PropertyTypeEntityReferenceModule
(1) CreatedAtDATEThumbnail
(2) HeightLONGThumbnail
(3) QualityLabelSTRINGThumbnail
(4) UrlSTRINGThumbnail
(5) VideoLONGThumbnailVideoVideoModule
(6) WidthLONGThumbnail


Module Interfaces (6)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /thumbnail/{id}deleteThumbnailById(id)LiveStreamModuleDELETEThumbnail
(2) /thumbnailfindAllThumbnail()LiveStreamModuleGETThumbnail
(3) /thumbnailinsertThumbnail(thumbnail)LiveStreamModulePOSTThumbnail
(4) /thumbnail/{id}updateThumbnailById(thumbnail)LiveStreamModulePUTThumbnail
(5) /thumbnail/video/{id}findAllThumbnailOfVideo(id)LiveStreamModuleGETVideo Thumbnail
(6) /thumbnail/{id}findThumbnailById(id)LiveStreamModuleGETThumbnail





Example:

final Thumbnail thumbnail = (Thumbnail) invokeModule(LIVE_STREAM_MODULE + "/thumbnail/" + id, Thumbnail.class);
if (thumbnail != null) {
    final Video video1 = (Video) invokeModule(VIDEO_MODULE + "/video/" + thumbnail.getVideo().getId(), Video.class);
    if (video1 != null) {
        final Category category2 = (Category) invokeModule(CATEGORY_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) {
            }
        }
    }
}
return thumbnail;


Overview

Summary

ServicesContactDonateAboutImprint