Type.registerNamespace('Radionomy.Web.Integration');
Radionomy.Web.Integration.RadioWebSvc=function() {
Radionomy.Web.Integration.RadioWebSvc.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Radionomy.Web.Integration.RadioWebSvc.prototype={
ActivateRadio:function(radioUID,succeededCallback, failedCallback, userContext) {
return this._invoke(Radionomy.Web.Integration.RadioWebSvc.get_path(), 'ActivateRadio',false,{radioUID:radioUID},succeededCallback,failedCallback,userContext); },
UpdateStyles:function(xml,succeededCallback, failedCallback, userContext) {
return this._invoke(Radionomy.Web.Integration.RadioWebSvc.get_path(), 'UpdateStyles',false,{xml:xml},succeededCallback,failedCallback,userContext); },
UpdateRadioStyle:function(xml,succeededCallback, failedCallback, userContext) {
return this._invoke(Radionomy.Web.Integration.RadioWebSvc.get_path(), 'UpdateRadioStyle',false,{xml:xml},succeededCallback,failedCallback,userContext); },
ListenToRadio:function(radioUID,contactUID,succeededCallback, failedCallback, userContext) {
return this._invoke(Radionomy.Web.Integration.RadioWebSvc.get_path(), 'ListenToRadio',false,{radioUID:radioUID,contactUID:contactUID},succeededCallback,failedCallback,userContext); },
GetRadio:function(radioUID,contactUID,language,succeededCallback, failedCallback, userContext) {
return this._invoke(Radionomy.Web.Integration.RadioWebSvc.get_path(), 'GetRadio',false,{radioUID:radioUID,contactUID:contactUID,language:language},succeededCallback,failedCallback,userContext); },
GetRadioFull:function(radioUID,contactUID,language,succeededCallback, failedCallback, userContext) {
return this._invoke(Radionomy.Web.Integration.RadioWebSvc.get_path(), 'GetRadioFull',false,{radioUID:radioUID,contactUID:contactUID,language:language},succeededCallback,failedCallback,userContext); },
GetContent:function(contentUID,language,succeededCallback, failedCallback, userContext) {
return this._invoke(Radionomy.Web.Integration.RadioWebSvc.get_path(), 'GetContent',false,{contentUID:contentUID,language:language},succeededCallback,failedCallback,userContext); },
GetContentItem:function(contentItemUID,language,succeededCallback, failedCallback, userContext) {
return this._invoke(Radionomy.Web.Integration.RadioWebSvc.get_path(), 'GetContentItem',false,{contentItemUID:contentItemUID,language:language},succeededCallback,failedCallback,userContext); },
GetDedications:function(radioUID,language,succeededCallback, failedCallback, userContext) {
return this._invoke(Radionomy.Web.Integration.RadioWebSvc.get_path(), 'GetDedications',false,{radioUID:radioUID,language:language},succeededCallback,failedCallback,userContext); },
GetMostRecent:function(startIndex,length,contactUID,language,succeededCallback, failedCallback, userContext) {
return this._invoke(Radionomy.Web.Integration.RadioWebSvc.get_path(), 'GetMostRecent',false,{startIndex:startIndex,length:length,contactUID:contactUID,language:language},succeededCallback,failedCallback,userContext); },
GetMostRated:function(startIndex,length,contactUID,language,succeededCallback, failedCallback, userContext) {
return this._invoke(Radionomy.Web.Integration.RadioWebSvc.get_path(), 'GetMostRated',false,{startIndex:startIndex,length:length,contactUID:contactUID,language:language},succeededCallback,failedCallback,userContext); },
GetMostListened:function(startIndex,length,contactUID,language,succeededCallback, failedCallback, userContext) {
return this._invoke(Radionomy.Web.Integration.RadioWebSvc.get_path(), 'GetMostListened',false,{startIndex:startIndex,length:length,contactUID:contactUID,language:language},succeededCallback,failedCallback,userContext); },
GetMostBookmarked:function(startIndex,length,contactUID,language,succeededCallback, failedCallback, userContext) {
return this._invoke(Radionomy.Web.Integration.RadioWebSvc.get_path(), 'GetMostBookmarked',false,{startIndex:startIndex,length:length,contactUID:contactUID,language:language},succeededCallback,failedCallback,userContext); },
GetRecommended:function(startIndex,length,contactUID,language,succeededCallback, failedCallback, userContext) {
return this._invoke(Radionomy.Web.Integration.RadioWebSvc.get_path(), 'GetRecommended',false,{startIndex:startIndex,length:length,contactUID:contactUID,language:language},succeededCallback,failedCallback,userContext); },
GetFavorites:function(startIndex,length,contactUID,language,succeededCallback, failedCallback, userContext) {
return this._invoke(Radionomy.Web.Integration.RadioWebSvc.get_path(), 'GetFavorites',false,{startIndex:startIndex,length:length,contactUID:contactUID,language:language},succeededCallback,failedCallback,userContext); },
GetSearch:function(startIndex,length,contactUID,language,searchText,succeededCallback, failedCallback, userContext) {
return this._invoke(Radionomy.Web.Integration.RadioWebSvc.get_path(), 'GetSearch',false,{startIndex:startIndex,length:length,contactUID:contactUID,language:language,searchText:searchText},succeededCallback,failedCallback,userContext); },
GetLatestProducers:function(startIndex,length,language,succeededCallback, failedCallback, userContext) {
return this._invoke(Radionomy.Web.Integration.RadioWebSvc.get_path(), 'GetLatestProducers',false,{startIndex:startIndex,length:length,language:language},succeededCallback,failedCallback,userContext); },
GetLatestListeners:function(radioUID,startIndex,length,language,succeededCallback, failedCallback, userContext) {
return this._invoke(Radionomy.Web.Integration.RadioWebSvc.get_path(), 'GetLatestListeners',false,{radioUID:radioUID,startIndex:startIndex,length:length,language:language},succeededCallback,failedCallback,userContext); },
GetLatestBroadcasted:function(startIndex,length,language,succeededCallback, failedCallback, userContext) {
return this._invoke(Radionomy.Web.Integration.RadioWebSvc.get_path(), 'GetLatestBroadcasted',false,{startIndex:startIndex,length:length,language:language},succeededCallback,failedCallback,userContext); },
AddFavoriteContent:function(contentUID,contactUID,anonymous,succeededCallback, failedCallback, userContext) {
return this._invoke(Radionomy.Web.Integration.RadioWebSvc.get_path(), 'AddFavoriteContent',false,{contentUID:contentUID,contactUID:contactUID,anonymous:anonymous},succeededCallback,failedCallback,userContext); },
RemoveFavoriteContent:function(contentUID,contactUID,succeededCallback, failedCallback, userContext) {
return this._invoke(Radionomy.Web.Integration.RadioWebSvc.get_path(), 'RemoveFavoriteContent',false,{contentUID:contentUID,contactUID:contactUID},succeededCallback,failedCallback,userContext); },
AddFavoriteRadio:function(radioUID,contactUID,anonymous,succeededCallback, failedCallback, userContext) {
return this._invoke(Radionomy.Web.Integration.RadioWebSvc.get_path(), 'AddFavoriteRadio',false,{radioUID:radioUID,contactUID:contactUID,anonymous:anonymous},succeededCallback,failedCallback,userContext); },
RemoveFavoriteRadio:function(radioUID,contactUID,succeededCallback, failedCallback, userContext) {
return this._invoke(Radionomy.Web.Integration.RadioWebSvc.get_path(), 'RemoveFavoriteRadio',false,{radioUID:radioUID,contactUID:contactUID},succeededCallback,failedCallback,userContext); },
AddDedication:function(radioUID,contactUID,message,succeededCallback, failedCallback, userContext) {
return this._invoke(Radionomy.Web.Integration.RadioWebSvc.get_path(), 'AddDedication',false,{radioUID:radioUID,contactUID:contactUID,message:message},succeededCallback,failedCallback,userContext); },
GetExtendedStream:function(radioUID,contactUID,ip,startSlot,length,succeededCallback, failedCallback, userContext) {
return this._invoke(Radionomy.Web.Integration.RadioWebSvc.get_path(), 'GetExtendedStream',false,{radioUID:radioUID,contactUID:contactUID,ip:ip,startSlot:startSlot,length:length},succeededCallback,failedCallback,userContext); }}
Radionomy.Web.Integration.RadioWebSvc.registerClass('Radionomy.Web.Integration.RadioWebSvc',Sys.Net.WebServiceProxy);
Radionomy.Web.Integration.RadioWebSvc._staticInstance = new Radionomy.Web.Integration.RadioWebSvc();
Radionomy.Web.Integration.RadioWebSvc.set_path = function(value) { Radionomy.Web.Integration.RadioWebSvc._staticInstance._path = value; }
Radionomy.Web.Integration.RadioWebSvc.get_path = function() { return Radionomy.Web.Integration.RadioWebSvc._staticInstance._path; }
Radionomy.Web.Integration.RadioWebSvc.set_timeout = function(value) { Radionomy.Web.Integration.RadioWebSvc._staticInstance._timeout = value; }
Radionomy.Web.Integration.RadioWebSvc.get_timeout = function() { return Radionomy.Web.Integration.RadioWebSvc._staticInstance._timeout; }
Radionomy.Web.Integration.RadioWebSvc.set_defaultUserContext = function(value) { Radionomy.Web.Integration.RadioWebSvc._staticInstance._userContext = value; }
Radionomy.Web.Integration.RadioWebSvc.get_defaultUserContext = function() { return Radionomy.Web.Integration.RadioWebSvc._staticInstance._userContext; }
Radionomy.Web.Integration.RadioWebSvc.set_defaultSucceededCallback = function(value) { Radionomy.Web.Integration.RadioWebSvc._staticInstance._succeeded = value; }
Radionomy.Web.Integration.RadioWebSvc.get_defaultSucceededCallback = function() { return Radionomy.Web.Integration.RadioWebSvc._staticInstance._succeeded; }
Radionomy.Web.Integration.RadioWebSvc.set_defaultFailedCallback = function(value) { Radionomy.Web.Integration.RadioWebSvc._staticInstance._failed = value; }
Radionomy.Web.Integration.RadioWebSvc.get_defaultFailedCallback = function() { return Radionomy.Web.Integration.RadioWebSvc._staticInstance._failed; }
Radionomy.Web.Integration.RadioWebSvc.set_path("/Integration/RadioWebSvc.asmx");
Radionomy.Web.Integration.RadioWebSvc.ActivateRadio= function(radioUID,onSuccess,onFailed,userContext) {Radionomy.Web.Integration.RadioWebSvc._staticInstance.ActivateRadio(radioUID,onSuccess,onFailed,userContext); }
Radionomy.Web.Integration.RadioWebSvc.UpdateStyles= function(xml,onSuccess,onFailed,userContext) {Radionomy.Web.Integration.RadioWebSvc._staticInstance.UpdateStyles(xml,onSuccess,onFailed,userContext); }
Radionomy.Web.Integration.RadioWebSvc.UpdateRadioStyle= function(xml,onSuccess,onFailed,userContext) {Radionomy.Web.Integration.RadioWebSvc._staticInstance.UpdateRadioStyle(xml,onSuccess,onFailed,userContext); }
Radionomy.Web.Integration.RadioWebSvc.ListenToRadio= function(radioUID,contactUID,onSuccess,onFailed,userContext) {Radionomy.Web.Integration.RadioWebSvc._staticInstance.ListenToRadio(radioUID,contactUID,onSuccess,onFailed,userContext); }
Radionomy.Web.Integration.RadioWebSvc.GetRadio= function(radioUID,contactUID,language,onSuccess,onFailed,userContext) {Radionomy.Web.Integration.RadioWebSvc._staticInstance.GetRadio(radioUID,contactUID,language,onSuccess,onFailed,userContext); }
Radionomy.Web.Integration.RadioWebSvc.GetRadioFull= function(radioUID,contactUID,language,onSuccess,onFailed,userContext) {Radionomy.Web.Integration.RadioWebSvc._staticInstance.GetRadioFull(radioUID,contactUID,language,onSuccess,onFailed,userContext); }
Radionomy.Web.Integration.RadioWebSvc.GetContent= function(contentUID,language,onSuccess,onFailed,userContext) {Radionomy.Web.Integration.RadioWebSvc._staticInstance.GetContent(contentUID,language,onSuccess,onFailed,userContext); }
Radionomy.Web.Integration.RadioWebSvc.GetContentItem= function(contentItemUID,language,onSuccess,onFailed,userContext) {Radionomy.Web.Integration.RadioWebSvc._staticInstance.GetContentItem(contentItemUID,language,onSuccess,onFailed,userContext); }
Radionomy.Web.Integration.RadioWebSvc.GetDedications= function(radioUID,language,onSuccess,onFailed,userContext) {Radionomy.Web.Integration.RadioWebSvc._staticInstance.GetDedications(radioUID,language,onSuccess,onFailed,userContext); }
Radionomy.Web.Integration.RadioWebSvc.GetMostRecent= function(startIndex,length,contactUID,language,onSuccess,onFailed,userContext) {Radionomy.Web.Integration.RadioWebSvc._staticInstance.GetMostRecent(startIndex,length,contactUID,language,onSuccess,onFailed,userContext); }
Radionomy.Web.Integration.RadioWebSvc.GetMostRated= function(startIndex,length,contactUID,language,onSuccess,onFailed,userContext) {Radionomy.Web.Integration.RadioWebSvc._staticInstance.GetMostRated(startIndex,length,contactUID,language,onSuccess,onFailed,userContext); }
Radionomy.Web.Integration.RadioWebSvc.GetMostListened= function(startIndex,length,contactUID,language,onSuccess,onFailed,userContext) {Radionomy.Web.Integration.RadioWebSvc._staticInstance.GetMostListened(startIndex,length,contactUID,language,onSuccess,onFailed,userContext); }
Radionomy.Web.Integration.RadioWebSvc.GetMostBookmarked= function(startIndex,length,contactUID,language,onSuccess,onFailed,userContext) {Radionomy.Web.Integration.RadioWebSvc._staticInstance.GetMostBookmarked(startIndex,length,contactUID,language,onSuccess,onFailed,userContext); }
Radionomy.Web.Integration.RadioWebSvc.GetRecommended= function(startIndex,length,contactUID,language,onSuccess,onFailed,userContext) {Radionomy.Web.Integration.RadioWebSvc._staticInstance.GetRecommended(startIndex,length,contactUID,language,onSuccess,onFailed,userContext); }
Radionomy.Web.Integration.RadioWebSvc.GetFavorites= function(startIndex,length,contactUID,language,onSuccess,onFailed,userContext) {Radionomy.Web.Integration.RadioWebSvc._staticInstance.GetFavorites(startIndex,length,contactUID,language,onSuccess,onFailed,userContext); }
Radionomy.Web.Integration.RadioWebSvc.GetSearch= function(startIndex,length,contactUID,language,searchText,onSuccess,onFailed,userContext) {Radionomy.Web.Integration.RadioWebSvc._staticInstance.GetSearch(startIndex,length,contactUID,language,searchText,onSuccess,onFailed,userContext); }
Radionomy.Web.Integration.RadioWebSvc.GetLatestProducers= function(startIndex,length,language,onSuccess,onFailed,userContext) {Radionomy.Web.Integration.RadioWebSvc._staticInstance.GetLatestProducers(startIndex,length,language,onSuccess,onFailed,userContext); }
Radionomy.Web.Integration.RadioWebSvc.GetLatestListeners= function(radioUID,startIndex,length,language,onSuccess,onFailed,userContext) {Radionomy.Web.Integration.RadioWebSvc._staticInstance.GetLatestListeners(radioUID,startIndex,length,language,onSuccess,onFailed,userContext); }
Radionomy.Web.Integration.RadioWebSvc.GetLatestBroadcasted= function(startIndex,length,language,onSuccess,onFailed,userContext) {Radionomy.Web.Integration.RadioWebSvc._staticInstance.GetLatestBroadcasted(startIndex,length,language,onSuccess,onFailed,userContext); }
Radionomy.Web.Integration.RadioWebSvc.AddFavoriteContent= function(contentUID,contactUID,anonymous,onSuccess,onFailed,userContext) {Radionomy.Web.Integration.RadioWebSvc._staticInstance.AddFavoriteContent(contentUID,contactUID,anonymous,onSuccess,onFailed,userContext); }
Radionomy.Web.Integration.RadioWebSvc.RemoveFavoriteContent= function(contentUID,contactUID,onSuccess,onFailed,userContext) {Radionomy.Web.Integration.RadioWebSvc._staticInstance.RemoveFavoriteContent(contentUID,contactUID,onSuccess,onFailed,userContext); }
Radionomy.Web.Integration.RadioWebSvc.AddFavoriteRadio= function(radioUID,contactUID,anonymous,onSuccess,onFailed,userContext) {Radionomy.Web.Integration.RadioWebSvc._staticInstance.AddFavoriteRadio(radioUID,contactUID,anonymous,onSuccess,onFailed,userContext); }
Radionomy.Web.Integration.RadioWebSvc.RemoveFavoriteRadio= function(radioUID,contactUID,onSuccess,onFailed,userContext) {Radionomy.Web.Integration.RadioWebSvc._staticInstance.RemoveFavoriteRadio(radioUID,contactUID,onSuccess,onFailed,userContext); }
Radionomy.Web.Integration.RadioWebSvc.AddDedication= function(radioUID,contactUID,message,onSuccess,onFailed,userContext) {Radionomy.Web.Integration.RadioWebSvc._staticInstance.AddDedication(radioUID,contactUID,message,onSuccess,onFailed,userContext); }
Radionomy.Web.Integration.RadioWebSvc.GetExtendedStream= function(radioUID,contactUID,ip,startSlot,length,onSuccess,onFailed,userContext) {Radionomy.Web.Integration.RadioWebSvc._staticInstance.GetExtendedStream(radioUID,contactUID,ip,startSlot,length,onSuccess,onFailed,userContext); }
