﻿Type.registerNamespace('IJC.WebUI.services.blog'); IJC.WebUI.services.blog.CommentService = function() { IJC.WebUI.services.blog.CommentService.initializeBase(this); this._timeout = 0; this._userContext = null; this._succeeded = null; this._failed = null; }
IJC.WebUI.services.blog.CommentService.prototype = { _get_path: function() { var p = this.get_path(); if (p) return p; else return IJC.WebUI.services.blog.CommentService._staticInstance.get_path(); }, ValidatePogf: function(fields, succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'ValidatePogf', false, { fields: fields }, succeededCallback, failedCallback, userContext); }, PluckRecommendation: function(commentKey, succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'PluckRecommendation', false, { commentKey: commentKey }, succeededCallback, failedCallback, userContext); }, PluckDisapproval: function(commentKey, succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'PluckDisapproval', false, { commentKey: commentKey }, succeededCallback, failedCallback, userContext); } }
IJC.WebUI.services.blog.CommentService.registerClass('IJC.WebUI.services.blog.CommentService', Sys.Net.WebServiceProxy); IJC.WebUI.services.blog.CommentService._staticInstance = new IJC.WebUI.services.blog.CommentService(); IJC.WebUI.services.blog.CommentService.set_path = function(value) { IJC.WebUI.services.blog.CommentService._staticInstance.set_path(value); }
IJC.WebUI.services.blog.CommentService.get_path = function() { return IJC.WebUI.services.blog.CommentService._staticInstance.get_path(); }
IJC.WebUI.services.blog.CommentService.set_timeout = function(value) { IJC.WebUI.services.blog.CommentService._staticInstance.set_timeout(value); }
IJC.WebUI.services.blog.CommentService.get_timeout = function() { return IJC.WebUI.services.blog.CommentService._staticInstance.get_timeout(); }
IJC.WebUI.services.blog.CommentService.set_defaultUserContext = function(value) { IJC.WebUI.services.blog.CommentService._staticInstance.set_defaultUserContext(value); }
IJC.WebUI.services.blog.CommentService.get_defaultUserContext = function() { return IJC.WebUI.services.blog.CommentService._staticInstance.get_defaultUserContext(); }
IJC.WebUI.services.blog.CommentService.set_defaultSucceededCallback = function(value) { IJC.WebUI.services.blog.CommentService._staticInstance.set_defaultSucceededCallback(value); }
IJC.WebUI.services.blog.CommentService.get_defaultSucceededCallback = function() { return IJC.WebUI.services.blog.CommentService._staticInstance.get_defaultSucceededCallback(); }
IJC.WebUI.services.blog.CommentService.set_defaultFailedCallback = function(value) { IJC.WebUI.services.blog.CommentService._staticInstance.set_defaultFailedCallback(value); }
IJC.WebUI.services.blog.CommentService.get_defaultFailedCallback = function() { return IJC.WebUI.services.blog.CommentService._staticInstance.get_defaultFailedCallback(); }
IJC.WebUI.services.blog.CommentService.set_path("/services/blog/commentservice.asmx"); IJC.WebUI.services.blog.CommentService.ValidatePogf = function(fields, onSuccess, onFailed, userContext) { IJC.WebUI.services.blog.CommentService._staticInstance.ValidatePogf(fields, onSuccess, onFailed, userContext); }
IJC.WebUI.services.blog.CommentService.PluckRecommendation = function(commentKey, onSuccess, onFailed, userContext) { IJC.WebUI.services.blog.CommentService._staticInstance.PluckRecommendation(commentKey, onSuccess, onFailed, userContext); }
IJC.WebUI.services.blog.CommentService.PluckDisapproval = function(commentKey, onSuccess, onFailed, userContext) { IJC.WebUI.services.blog.CommentService._staticInstance.PluckDisapproval(commentKey, onSuccess, onFailed, userContext); }
