Overview

Summary

ContactDonateImprint


Appendix E-36: CHANNEL SUBSCRIPTION (UI prompt)


ChannelSubscriptionDrmSchemeModuleAmazonPrimeVideo

Properties (6)

PropertyTypeEntityReferenceModule
(1) AutoRenewBOOLChannelSubscription
(2) ChannelLONGChannelSubscriptionChannelChannelModule
(3) EndDateDATEChannelSubscription
(4) StartDateDATEChannelSubscription
(5) StatusSTRINGChannelSubscription
(6) UserLONGChannelSubscriptionUserUserModule


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /channelsubscription/user/{id}findAllChannelSubscriptionOfUser(id)DrmSchemeModuleGETUser ChannelSubscription
(2) /channelsubscriptionfindAllChannelSubscription()DrmSchemeModuleGETChannelSubscription
(3) /channelsubscription/{id}updateChannelSubscriptionById(channelsubscription)DrmSchemeModulePUTChannelSubscription
(4) /channelsubscription/channel/{id}findAllChannelSubscriptionOfChannel(id)DrmSchemeModuleGETChannel ChannelSubscription
(5) /channelsubscriptioninsertChannelSubscription(channelsubscription)DrmSchemeModulePOSTChannelSubscription
(6) /channelsubscription/{id}deleteChannelSubscriptionById(id)DrmSchemeModuleDELETEChannelSubscription
(7) /channelsubscription/{id}findChannelSubscriptionById(id)DrmSchemeModuleGETChannelSubscription





Example:

final ChannelSubscription channelsubscription = (ChannelSubscription) invokeModule(DRM_SCHEME_MODULE + "/channelsubscription/" + id, ChannelSubscription.class);
if (channelsubscription != null) {
    final Channel channel1 = (Channel) invokeModule(CHANNEL_MODULE + "/channel/" + channelsubscription.getChannel().getId(), Channel.class);
    if (channel1 != null) {
        final Company providercompany2 = (Company) invokeModule(COMPANY_MODULE + "/company/" + channel1.getProviderCompany().getId(), Company.class);
        if (providercompany2 != null) {
        }
    }
    final User user3 = (User) invokeModule(USER_MODULE + "/user/" + channelsubscription.getUser().getId(), User.class);
    if (user3 != null) {
        final Country country4 = (Country) invokeModule(TITLE_MODULE + "/country/" + user3.getCountry().getId(), Country.class);
        if (country4 != null) {
        }
    }
}
return channelsubscription;


Overview

Summary

ContactDonateImprint