Type.registerNamespace('Mediafly.Web.Main.WebServices');
Mediafly.Web.Main.WebServices.CommentService_v1_0=function() {
Mediafly.Web.Main.WebServices.CommentService_v1_0.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Mediafly.Web.Main.WebServices.CommentService_v1_0.prototype={
AddFeedReview:function(feedId,title,message,rank,succeededCallback, failedCallback, userContext) {
return this._invoke(Mediafly.Web.Main.WebServices.CommentService_v1_0.get_path(), 'AddFeedReview',false,{feedId:feedId,title:title,message:message,rank:rank},succeededCallback,failedCallback,userContext); },
AddItemReview:function(itemId,title,message,rank,succeededCallback, failedCallback, userContext) {
return this._invoke(Mediafly.Web.Main.WebServices.CommentService_v1_0.get_path(), 'AddItemReview',false,{itemId:itemId,title:title,message:message,rank:rank},succeededCallback,failedCallback,userContext); },
RateItemComment:function(commentId,value,succeededCallback, failedCallback, userContext) {
return this._invoke(Mediafly.Web.Main.WebServices.CommentService_v1_0.get_path(), 'RateItemComment',false,{commentId:commentId,value:value},succeededCallback,failedCallback,userContext); },
RateFeedComment:function(commentId,value,succeededCallback, failedCallback, userContext) {
return this._invoke(Mediafly.Web.Main.WebServices.CommentService_v1_0.get_path(), 'RateFeedComment',false,{commentId:commentId,value:value},succeededCallback,failedCallback,userContext); }}
Mediafly.Web.Main.WebServices.CommentService_v1_0.registerClass('Mediafly.Web.Main.WebServices.CommentService_v1_0',Sys.Net.WebServiceProxy);
Mediafly.Web.Main.WebServices.CommentService_v1_0._staticInstance = new Mediafly.Web.Main.WebServices.CommentService_v1_0();
Mediafly.Web.Main.WebServices.CommentService_v1_0.set_path = function(value) { Mediafly.Web.Main.WebServices.CommentService_v1_0._staticInstance._path = value; }
Mediafly.Web.Main.WebServices.CommentService_v1_0.get_path = function() { return Mediafly.Web.Main.WebServices.CommentService_v1_0._staticInstance._path; }
Mediafly.Web.Main.WebServices.CommentService_v1_0.set_timeout = function(value) { Mediafly.Web.Main.WebServices.CommentService_v1_0._staticInstance._timeout = value; }
Mediafly.Web.Main.WebServices.CommentService_v1_0.get_timeout = function() { return Mediafly.Web.Main.WebServices.CommentService_v1_0._staticInstance._timeout; }
Mediafly.Web.Main.WebServices.CommentService_v1_0.set_defaultUserContext = function(value) { Mediafly.Web.Main.WebServices.CommentService_v1_0._staticInstance._userContext = value; }
Mediafly.Web.Main.WebServices.CommentService_v1_0.get_defaultUserContext = function() { return Mediafly.Web.Main.WebServices.CommentService_v1_0._staticInstance._userContext; }
Mediafly.Web.Main.WebServices.CommentService_v1_0.set_defaultSucceededCallback = function(value) { Mediafly.Web.Main.WebServices.CommentService_v1_0._staticInstance._succeeded = value; }
Mediafly.Web.Main.WebServices.CommentService_v1_0.get_defaultSucceededCallback = function() { return Mediafly.Web.Main.WebServices.CommentService_v1_0._staticInstance._succeeded; }
Mediafly.Web.Main.WebServices.CommentService_v1_0.set_defaultFailedCallback = function(value) { Mediafly.Web.Main.WebServices.CommentService_v1_0._staticInstance._failed = value; }
Mediafly.Web.Main.WebServices.CommentService_v1_0.get_defaultFailedCallback = function() { return Mediafly.Web.Main.WebServices.CommentService_v1_0._staticInstance._failed; }
Mediafly.Web.Main.WebServices.CommentService_v1_0.set_path("/WebServices/CommentService_v1_0.asmx");
Mediafly.Web.Main.WebServices.CommentService_v1_0.AddFeedReview= function(feedId,title,message,rank,onSuccess,onFailed,userContext) {Mediafly.Web.Main.WebServices.CommentService_v1_0._staticInstance.AddFeedReview(feedId,title,message,rank,onSuccess,onFailed,userContext); }
Mediafly.Web.Main.WebServices.CommentService_v1_0.AddItemReview= function(itemId,title,message,rank,onSuccess,onFailed,userContext) {Mediafly.Web.Main.WebServices.CommentService_v1_0._staticInstance.AddItemReview(itemId,title,message,rank,onSuccess,onFailed,userContext); }
Mediafly.Web.Main.WebServices.CommentService_v1_0.RateItemComment= function(commentId,value,onSuccess,onFailed,userContext) {Mediafly.Web.Main.WebServices.CommentService_v1_0._staticInstance.RateItemComment(commentId,value,onSuccess,onFailed,userContext); }
Mediafly.Web.Main.WebServices.CommentService_v1_0.RateFeedComment= function(commentId,value,onSuccess,onFailed,userContext) {Mediafly.Web.Main.WebServices.CommentService_v1_0._staticInstance.RateFeedComment(commentId,value,onSuccess,onFailed,userContext); }
