var MixService=function() {
MixService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MixService.prototype={
supprimerItem:function(mixVideoId,rank,succeededCallback, failedCallback, userContext) {
return this._invoke(MixService.get_path(), 'supprimerItem',false,{mixVideoId:mixVideoId,rank:rank},succeededCallback,failedCallback,userContext); },
addVideoToMix:function(videoId,succeededCallback, failedCallback, userContext) {
return this._invoke(MixService.get_path(), 'addVideoToMix',false,{videoId:videoId},succeededCallback,failedCallback,userContext); },
getVideoMixInfo:function(mixVideoId,succeededCallback, failedCallback, userContext) {
return this._invoke(MixService.get_path(), 'getVideoMixInfo',false,{mixVideoId:mixVideoId},succeededCallback,failedCallback,userContext); },
vote:function(mixVideoId,rating,succeededCallback, failedCallback, userContext) {
return this._invoke(MixService.get_path(), 'vote',false,{mixVideoId:mixVideoId,rating:rating},succeededCallback,failedCallback,userContext); },
getDefaultVideo:function(mixVideoId,succeededCallback, failedCallback, userContext) {
return this._invoke(MixService.get_path(), 'getDefaultVideo',false,{mixVideoId:mixVideoId},succeededCallback,failedCallback,userContext); },
setMix:function(mixVideoId,label,video1,video2,video3,video4,video5,video6,video7,userId,succeededCallback, failedCallback, userContext) {
return this._invoke(MixService.get_path(), 'setMix',false,{mixVideoId:mixVideoId,label:label,video1:video1,video2:video2,video3:video3,video4:video4,video5:video5,video6:video6,video7:video7,userId:userId},succeededCallback,failedCallback,userContext); },
getInfoVideo:function(mixVideoItemId,succeededCallback, failedCallback, userContext) {
return this._invoke(MixService.get_path(), 'getInfoVideo',false,{mixVideoItemId:mixVideoItemId},succeededCallback,failedCallback,userContext); },
deleteMixVideo:function(mixVideoId,succeededCallback, failedCallback, userContext) {
return this._invoke(MixService.get_path(), 'deleteMixVideo',false,{mixVideoId:mixVideoId},succeededCallback,failedCallback,userContext); },
deleteVideoArtiste:function(videoId,succeededCallback, failedCallback, userContext) {
return this._invoke(MixService.get_path(), 'deleteVideoArtiste',false,{videoId:videoId},succeededCallback,failedCallback,userContext); },
GetMixVideosListByCodeName:function(codeName,succeededCallback, failedCallback, userContext) {
return this._invoke(MixService.get_path(), 'GetMixVideosListByCodeName',false,{codeName:codeName},succeededCallback,failedCallback,userContext); },
getListMix:function(mixVideoId,succeededCallback, failedCallback, userContext) {
return this._invoke(MixService.get_path(), 'getListMix',false,{mixVideoId:mixVideoId},succeededCallback,failedCallback,userContext); }}
MixService.registerClass('MixService',Sys.Net.WebServiceProxy);
MixService._staticInstance = new MixService();
MixService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; MixService._staticInstance._path = value; }
MixService.get_path = function() { return MixService._staticInstance._path; }
MixService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
MixService._staticInstance._timeout = value; }
MixService.get_timeout = function() { 
return MixService._staticInstance._timeout; }
MixService.set_defaultUserContext = function(value) { 
MixService._staticInstance._userContext = value; }
MixService.get_defaultUserContext = function() { 
return MixService._staticInstance._userContext; }
MixService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; MixService._staticInstance._succeeded = value; }
MixService.get_defaultSucceededCallback = function() { 
return MixService._staticInstance._succeeded; }
MixService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; MixService._staticInstance._failed = value; }
MixService.get_defaultFailedCallback = function() { 
return MixService._staticInstance._failed; }
MixService.set_path("/MixService.asmx");
MixService.supprimerItem= function(mixVideoId,rank,onSuccess,onFailed,userContext) {MixService._staticInstance.supprimerItem(mixVideoId,rank,onSuccess,onFailed,userContext); }
MixService.addVideoToMix= function(videoId,onSuccess,onFailed,userContext) {MixService._staticInstance.addVideoToMix(videoId,onSuccess,onFailed,userContext); }
MixService.getVideoMixInfo= function(mixVideoId,onSuccess,onFailed,userContext) {MixService._staticInstance.getVideoMixInfo(mixVideoId,onSuccess,onFailed,userContext); }
MixService.vote= function(mixVideoId,rating,onSuccess,onFailed,userContext) {MixService._staticInstance.vote(mixVideoId,rating,onSuccess,onFailed,userContext); }
MixService.getDefaultVideo= function(mixVideoId,onSuccess,onFailed,userContext) {MixService._staticInstance.getDefaultVideo(mixVideoId,onSuccess,onFailed,userContext); }
MixService.setMix= function(mixVideoId,label,video1,video2,video3,video4,video5,video6,video7,userId,onSuccess,onFailed,userContext) {MixService._staticInstance.setMix(mixVideoId,label,video1,video2,video3,video4,video5,video6,video7,userId,onSuccess,onFailed,userContext); }
MixService.getInfoVideo= function(mixVideoItemId,onSuccess,onFailed,userContext) {MixService._staticInstance.getInfoVideo(mixVideoItemId,onSuccess,onFailed,userContext); }
MixService.deleteMixVideo= function(mixVideoId,onSuccess,onFailed,userContext) {MixService._staticInstance.deleteMixVideo(mixVideoId,onSuccess,onFailed,userContext); }
MixService.deleteVideoArtiste= function(videoId,onSuccess,onFailed,userContext) {MixService._staticInstance.deleteVideoArtiste(videoId,onSuccess,onFailed,userContext); }
MixService.GetMixVideosListByCodeName= function(codeName,onSuccess,onFailed,userContext) {MixService._staticInstance.GetMixVideosListByCodeName(codeName,onSuccess,onFailed,userContext); }
MixService.getListMix= function(mixVideoId,onSuccess,onFailed,userContext) {MixService._staticInstance.getListMix(mixVideoId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('RCP.TARATATA.BLL.FRONT.Entity');
if (typeof(RCP.TARATATA.BLL.FRONT.Entity.InfoMix) === 'undefined') {
RCP.TARATATA.BLL.FRONT.Entity.InfoMix=gtc("RCP.TARATATA.BLL.FRONT.Entity.InfoMix");
RCP.TARATATA.BLL.FRONT.Entity.InfoMix.registerClass('RCP.TARATATA.BLL.FRONT.Entity.InfoMix');
}
if (typeof(RCP.TARATATA.BLL.FRONT.Entity.ItemVideo) === 'undefined') {
RCP.TARATATA.BLL.FRONT.Entity.ItemVideo=gtc("RCP.TARATATA.BLL.FRONT.Entity.ItemVideo");
RCP.TARATATA.BLL.FRONT.Entity.ItemVideo.registerClass('RCP.TARATATA.BLL.FRONT.Entity.ItemVideo');
}
if (typeof(RCP.TARATATA.BLL.FRONT.Entity.InfoVideo) === 'undefined') {
RCP.TARATATA.BLL.FRONT.Entity.InfoVideo=gtc("RCP.TARATATA.BLL.FRONT.Entity.InfoVideo");
RCP.TARATATA.BLL.FRONT.Entity.InfoVideo.registerClass('RCP.TARATATA.BLL.FRONT.Entity.InfoVideo');
}
if (typeof(RCP.TARATATA.BLL.FRONT.Entity.MixVideoFront) === 'undefined') {
RCP.TARATATA.BLL.FRONT.Entity.MixVideoFront=gtc("RCP.TARATATA.BLL.FRONT.Entity.MixVideoFront");
RCP.TARATATA.BLL.FRONT.Entity.MixVideoFront.registerClass('RCP.TARATATA.BLL.FRONT.Entity.MixVideoFront');
}
if (typeof(RCP.TARATATA.BLL.FRONT.Entity.InfoFlash) === 'undefined') {
RCP.TARATATA.BLL.FRONT.Entity.InfoFlash=gtc("RCP.TARATATA.BLL.FRONT.Entity.InfoFlash");
RCP.TARATATA.BLL.FRONT.Entity.InfoFlash.registerClass('RCP.TARATATA.BLL.FRONT.Entity.InfoFlash');
}
