Type.registerNamespace('CommunityServer.Web'); CommunityServer.Web.json_service=function() { CommunityServer.Web.json_service.initializeBase(this); this._timeout = 0; this._userContext = null; this._succeeded = null; this._failed = null; } CommunityServer.Web.json_service.prototype={ _get_path:function() { var p = this.get_path(); if (p) return p; else return CommunityServer.Web.json_service._staticInstance.get_path();}, GetSuggestions:function(PrimaryObjectId,Find,ResultContainerClientId,MaxResultRow,ResultCssID,width,succeededCallback, failedCallback, userContext) { /// System.String /// System.String /// System.String /// System.Int32 /// System.String /// System.String /// /// /// return this._invoke(this._get_path(), 'GetSuggestions',false,{PrimaryObjectId:PrimaryObjectId,Find:Find,ResultContainerClientId:ResultContainerClientId,MaxResultRow:MaxResultRow,ResultCssID:ResultCssID,width:width},succeededCallback,failedCallback,userContext); }, GetUserSuggestions:function(PrimaryObjectId,Find,ResultContainerClientId,MaxResultRow,ResultCssID,succeededCallback, failedCallback, userContext) { /// System.String /// System.String /// System.String /// System.Int32 /// System.String /// /// /// return this._invoke(this._get_path(), 'GetUserSuggestions',false,{PrimaryObjectId:PrimaryObjectId,Find:Find,ResultContainerClientId:ResultContainerClientId,MaxResultRow:MaxResultRow,ResultCssID:ResultCssID},succeededCallback,failedCallback,userContext); }, GetUserSuggestionsWithId:function(PrimaryObjectId,Find,ResultContainerClientId,MaxResultRow,ResultCssID,succeededCallback, failedCallback, userContext) { /// System.String /// System.String /// System.String /// System.Int32 /// System.String /// /// /// return this._invoke(this._get_path(), 'GetUserSuggestionsWithId',false,{PrimaryObjectId:PrimaryObjectId,Find:Find,ResultContainerClientId:ResultContainerClientId,MaxResultRow:MaxResultRow,ResultCssID:ResultCssID},succeededCallback,failedCallback,userContext); }, GetExactPageMatch:function(Find,succeededCallback, failedCallback, userContext) { /// System.String /// /// /// return this._invoke(this._get_path(), 'GetExactPageMatch',false,{Find:Find},succeededCallback,failedCallback,userContext); }, MarkThreadAsRead:function(threadId,succeededCallback, failedCallback, userContext) { /// System.Int32 /// /// /// return this._invoke(this._get_path(), 'MarkThreadAsRead',false,{threadId:threadId},succeededCallback,failedCallback,userContext); }, ApproveVideo:function(videoId,succeededCallback, failedCallback, userContext) { /// System.String /// /// /// return this._invoke(this._get_path(), 'ApproveVideo',false,{videoId:videoId},succeededCallback,failedCallback,userContext); }, DisapproveVideo:function(videoId,succeededCallback, failedCallback, userContext) { /// System.String /// /// /// return this._invoke(this._get_path(), 'DisapproveVideo',false,{videoId:videoId},succeededCallback,failedCallback,userContext); }, CancelVideoRating:function(videoId,succeededCallback, failedCallback, userContext) { /// System.String /// /// /// return this._invoke(this._get_path(), 'CancelVideoRating',false,{videoId:videoId},succeededCallback,failedCallback,userContext); }, ApproveComment:function(commentId,succeededCallback, failedCallback, userContext) { /// System.Int32 /// /// /// return this._invoke(this._get_path(), 'ApproveComment',false,{commentId:commentId},succeededCallback,failedCallback,userContext); }, DisapproveComment:function(commentId,succeededCallback, failedCallback, userContext) { /// System.Int32 /// /// /// return this._invoke(this._get_path(), 'DisapproveComment',false,{commentId:commentId},succeededCallback,failedCallback,userContext); }, Subscribe:function(videoId,succeededCallback, failedCallback, userContext) { /// System.String /// /// /// return this._invoke(this._get_path(), 'Subscribe',false,{videoId:videoId},succeededCallback,failedCallback,userContext); }, Unsubscribe:function(videoId,succeededCallback, failedCallback, userContext) { /// System.String /// /// /// return this._invoke(this._get_path(), 'Unsubscribe',false,{videoId:videoId},succeededCallback,failedCallback,userContext); }, SubscribeToAminoTV:function(email,succeededCallback, failedCallback, userContext) { /// System.String /// /// /// return this._invoke(this._get_path(), 'SubscribeToAminoTV',false,{email:email},succeededCallback,failedCallback,userContext); }, ApproveBlogComment:function(commentId,succeededCallback, failedCallback, userContext) { /// System.Int32 /// /// /// return this._invoke(this._get_path(), 'ApproveBlogComment',false,{commentId:commentId},succeededCallback,failedCallback,userContext); }, DisapproveBlogComment:function(commentId,succeededCallback, failedCallback, userContext) { /// System.Int32 /// /// /// return this._invoke(this._get_path(), 'DisapproveBlogComment',false,{commentId:commentId},succeededCallback,failedCallback,userContext); }, AnalyzeSignatureSize:function(input,succeededCallback, failedCallback, userContext) { /// System.String /// /// /// return this._invoke(this._get_path(), 'AnalyzeSignatureSize',false,{input:input},succeededCallback,failedCallback,userContext); }, GetWebSignatures:function(page,succeededCallback, failedCallback, userContext) { /// System.Int32 /// /// /// return this._invoke(this._get_path(), 'GetWebSignatures',false,{page:page},succeededCallback,failedCallback,userContext); }, GetMobileSignatures:function(page,succeededCallback, failedCallback, userContext) { /// System.Int32 /// /// /// return this._invoke(this._get_path(), 'GetMobileSignatures',false,{page:page},succeededCallback,failedCallback,userContext); }, SendSuggestion:function(text,source,succeededCallback, failedCallback, userContext) { /// System.String /// System.String /// /// /// return this._invoke(this._get_path(), 'SendSuggestion',false,{text:text,source:source},succeededCallback,failedCallback,userContext); }, CloseNewMessageNotification:function(succeededCallback, failedCallback, userContext) { /// /// /// return this._invoke(this._get_path(), 'CloseNewMessageNotification',false,{},succeededCallback,failedCallback,userContext); }, GetGoogleAnalyticsPageViews:function(succeededCallback, failedCallback, userContext) { /// /// /// return this._invoke(this._get_path(), 'GetGoogleAnalyticsPageViews',false,{},succeededCallback,failedCallback,userContext); }, CheckValidUsername:function(username,succeededCallback, failedCallback, userContext) { /// System.String /// /// /// return this._invoke(this._get_path(), 'CheckValidUsername',false,{username:username},succeededCallback,failedCallback,userContext); }, CheckValidEmailAddress:function(email,succeededCallback, failedCallback, userContext) { /// System.String /// /// /// return this._invoke(this._get_path(), 'CheckValidEmailAddress',false,{email:email},succeededCallback,failedCallback,userContext); }, UpdatePlusOrder:function(itemOrder,orderto,succeededCallback, failedCallback, userContext) { /// System.String /// System.String /// /// /// return this._invoke(this._get_path(), 'UpdatePlusOrder',false,{itemOrder:itemOrder,orderto:orderto},succeededCallback,failedCallback,userContext); }, UpdatePlusStatus:function(status,id,updateto,succeededCallback, failedCallback, userContext) { /// System.String /// System.String /// System.String /// /// /// return this._invoke(this._get_path(), 'UpdatePlusStatus',false,{status:status,id:id,updateto:updateto},succeededCallback,failedCallback,userContext); }, DeletePlus:function(id,deleteto,succeededCallback, failedCallback, userContext) { /// System.String /// System.String /// /// /// return this._invoke(this._get_path(), 'DeletePlus',false,{id:id,deleteto:deleteto},succeededCallback,failedCallback,userContext); }} CommunityServer.Web.json_service.registerClass('CommunityServer.Web.json_service',Sys.Net.WebServiceProxy); CommunityServer.Web.json_service._staticInstance = new CommunityServer.Web.json_service(); CommunityServer.Web.json_service.set_path = function(value) { CommunityServer.Web.json_service._staticInstance.set_path(value); } CommunityServer.Web.json_service.get_path = function() { /// The service url. return CommunityServer.Web.json_service._staticInstance.get_path();} CommunityServer.Web.json_service.set_timeout = function(value) { CommunityServer.Web.json_service._staticInstance.set_timeout(value); } CommunityServer.Web.json_service.get_timeout = function() { /// The service timeout. return CommunityServer.Web.json_service._staticInstance.get_timeout(); } CommunityServer.Web.json_service.set_defaultUserContext = function(value) { CommunityServer.Web.json_service._staticInstance.set_defaultUserContext(value); } CommunityServer.Web.json_service.get_defaultUserContext = function() { /// The service default user context. return CommunityServer.Web.json_service._staticInstance.get_defaultUserContext(); } CommunityServer.Web.json_service.set_defaultSucceededCallback = function(value) { CommunityServer.Web.json_service._staticInstance.set_defaultSucceededCallback(value); } CommunityServer.Web.json_service.get_defaultSucceededCallback = function() { /// The service default succeeded callback. return CommunityServer.Web.json_service._staticInstance.get_defaultSucceededCallback(); } CommunityServer.Web.json_service.set_defaultFailedCallback = function(value) { CommunityServer.Web.json_service._staticInstance.set_defaultFailedCallback(value); } CommunityServer.Web.json_service.get_defaultFailedCallback = function() { /// The service default failed callback. return CommunityServer.Web.json_service._staticInstance.get_defaultFailedCallback(); } CommunityServer.Web.json_service.set_enableJsonp = function(value) { CommunityServer.Web.json_service._staticInstance.set_enableJsonp(value); } CommunityServer.Web.json_service.get_enableJsonp = function() { /// Specifies whether the service supports JSONP for cross domain calling. return CommunityServer.Web.json_service._staticInstance.get_enableJsonp(); } CommunityServer.Web.json_service.set_jsonpCallbackParameter = function(value) { CommunityServer.Web.json_service._staticInstance.set_jsonpCallbackParameter(value); } CommunityServer.Web.json_service.get_jsonpCallbackParameter = function() { /// Specifies the parameter name that contains the callback function name for a JSONP request. return CommunityServer.Web.json_service._staticInstance.get_jsonpCallbackParameter(); } CommunityServer.Web.json_service.set_path("/json.asmx"); CommunityServer.Web.json_service.GetSuggestions= function(PrimaryObjectId,Find,ResultContainerClientId,MaxResultRow,ResultCssID,width,onSuccess,onFailed,userContext) { /// System.String /// System.String /// System.String /// System.Int32 /// System.String /// System.String /// /// /// CommunityServer.Web.json_service._staticInstance.GetSuggestions(PrimaryObjectId,Find,ResultContainerClientId,MaxResultRow,ResultCssID,width,onSuccess,onFailed,userContext); } CommunityServer.Web.json_service.GetUserSuggestions= function(PrimaryObjectId,Find,ResultContainerClientId,MaxResultRow,ResultCssID,onSuccess,onFailed,userContext) { /// System.String /// System.String /// System.String /// System.Int32 /// System.String /// /// /// CommunityServer.Web.json_service._staticInstance.GetUserSuggestions(PrimaryObjectId,Find,ResultContainerClientId,MaxResultRow,ResultCssID,onSuccess,onFailed,userContext); } CommunityServer.Web.json_service.GetUserSuggestionsWithId= function(PrimaryObjectId,Find,ResultContainerClientId,MaxResultRow,ResultCssID,onSuccess,onFailed,userContext) { /// System.String /// System.String /// System.String /// System.Int32 /// System.String /// /// /// CommunityServer.Web.json_service._staticInstance.GetUserSuggestionsWithId(PrimaryObjectId,Find,ResultContainerClientId,MaxResultRow,ResultCssID,onSuccess,onFailed,userContext); } CommunityServer.Web.json_service.GetExactPageMatch= function(Find,onSuccess,onFailed,userContext) { /// System.String /// /// /// CommunityServer.Web.json_service._staticInstance.GetExactPageMatch(Find,onSuccess,onFailed,userContext); } CommunityServer.Web.json_service.MarkThreadAsRead= function(threadId,onSuccess,onFailed,userContext) { /// System.Int32 /// /// /// CommunityServer.Web.json_service._staticInstance.MarkThreadAsRead(threadId,onSuccess,onFailed,userContext); } CommunityServer.Web.json_service.ApproveVideo= function(videoId,onSuccess,onFailed,userContext) { /// System.String /// /// /// CommunityServer.Web.json_service._staticInstance.ApproveVideo(videoId,onSuccess,onFailed,userContext); } CommunityServer.Web.json_service.DisapproveVideo= function(videoId,onSuccess,onFailed,userContext) { /// System.String /// /// /// CommunityServer.Web.json_service._staticInstance.DisapproveVideo(videoId,onSuccess,onFailed,userContext); } CommunityServer.Web.json_service.CancelVideoRating= function(videoId,onSuccess,onFailed,userContext) { /// System.String /// /// /// CommunityServer.Web.json_service._staticInstance.CancelVideoRating(videoId,onSuccess,onFailed,userContext); } CommunityServer.Web.json_service.ApproveComment= function(commentId,onSuccess,onFailed,userContext) { /// System.Int32 /// /// /// CommunityServer.Web.json_service._staticInstance.ApproveComment(commentId,onSuccess,onFailed,userContext); } CommunityServer.Web.json_service.DisapproveComment= function(commentId,onSuccess,onFailed,userContext) { /// System.Int32 /// /// /// CommunityServer.Web.json_service._staticInstance.DisapproveComment(commentId,onSuccess,onFailed,userContext); } CommunityServer.Web.json_service.Subscribe= function(videoId,onSuccess,onFailed,userContext) { /// System.String /// /// /// CommunityServer.Web.json_service._staticInstance.Subscribe(videoId,onSuccess,onFailed,userContext); } CommunityServer.Web.json_service.Unsubscribe= function(videoId,onSuccess,onFailed,userContext) { /// System.String /// /// /// CommunityServer.Web.json_service._staticInstance.Unsubscribe(videoId,onSuccess,onFailed,userContext); } CommunityServer.Web.json_service.SubscribeToAminoTV= function(email,onSuccess,onFailed,userContext) { /// System.String /// /// /// CommunityServer.Web.json_service._staticInstance.SubscribeToAminoTV(email,onSuccess,onFailed,userContext); } CommunityServer.Web.json_service.ApproveBlogComment= function(commentId,onSuccess,onFailed,userContext) { /// System.Int32 /// /// /// CommunityServer.Web.json_service._staticInstance.ApproveBlogComment(commentId,onSuccess,onFailed,userContext); } CommunityServer.Web.json_service.DisapproveBlogComment= function(commentId,onSuccess,onFailed,userContext) { /// System.Int32 /// /// /// CommunityServer.Web.json_service._staticInstance.DisapproveBlogComment(commentId,onSuccess,onFailed,userContext); } CommunityServer.Web.json_service.AnalyzeSignatureSize= function(input,onSuccess,onFailed,userContext) { /// System.String /// /// /// CommunityServer.Web.json_service._staticInstance.AnalyzeSignatureSize(input,onSuccess,onFailed,userContext); } CommunityServer.Web.json_service.GetWebSignatures= function(page,onSuccess,onFailed,userContext) { /// System.Int32 /// /// /// CommunityServer.Web.json_service._staticInstance.GetWebSignatures(page,onSuccess,onFailed,userContext); } CommunityServer.Web.json_service.GetMobileSignatures= function(page,onSuccess,onFailed,userContext) { /// System.Int32 /// /// /// CommunityServer.Web.json_service._staticInstance.GetMobileSignatures(page,onSuccess,onFailed,userContext); } CommunityServer.Web.json_service.SendSuggestion= function(text,source,onSuccess,onFailed,userContext) { /// System.String /// System.String /// /// /// CommunityServer.Web.json_service._staticInstance.SendSuggestion(text,source,onSuccess,onFailed,userContext); } CommunityServer.Web.json_service.CloseNewMessageNotification= function(onSuccess,onFailed,userContext) { /// /// /// CommunityServer.Web.json_service._staticInstance.CloseNewMessageNotification(onSuccess,onFailed,userContext); } CommunityServer.Web.json_service.GetGoogleAnalyticsPageViews= function(onSuccess,onFailed,userContext) { /// /// /// CommunityServer.Web.json_service._staticInstance.GetGoogleAnalyticsPageViews(onSuccess,onFailed,userContext); } CommunityServer.Web.json_service.CheckValidUsername= function(username,onSuccess,onFailed,userContext) { /// System.String /// /// /// CommunityServer.Web.json_service._staticInstance.CheckValidUsername(username,onSuccess,onFailed,userContext); } CommunityServer.Web.json_service.CheckValidEmailAddress= function(email,onSuccess,onFailed,userContext) { /// System.String /// /// /// CommunityServer.Web.json_service._staticInstance.CheckValidEmailAddress(email,onSuccess,onFailed,userContext); } CommunityServer.Web.json_service.UpdatePlusOrder= function(itemOrder,orderto,onSuccess,onFailed,userContext) { /// System.String /// System.String /// /// /// CommunityServer.Web.json_service._staticInstance.UpdatePlusOrder(itemOrder,orderto,onSuccess,onFailed,userContext); } CommunityServer.Web.json_service.UpdatePlusStatus= function(status,id,updateto,onSuccess,onFailed,userContext) { /// System.String /// System.String /// System.String /// /// /// CommunityServer.Web.json_service._staticInstance.UpdatePlusStatus(status,id,updateto,onSuccess,onFailed,userContext); } CommunityServer.Web.json_service.DeletePlus= function(id,deleteto,onSuccess,onFailed,userContext) { /// System.String /// System.String /// /// /// CommunityServer.Web.json_service._staticInstance.DeletePlus(id,deleteto,onSuccess,onFailed,userContext); }