var ClusteringService=function() {
ClusteringService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ClusteringService.prototype={
_get_path:function() {
var p = this.get_path();
if (p) return p;
else return ClusteringService._staticInstance.get_path();},
GetTitles:function(articleId,clusterId,succeededCallback, failedCallback, userContext) {
/// System.Int32
/// System.Int32
///
///
///
return this._invoke(this._get_path(), 'GetTitles',false,{articleId:articleId,clusterId:clusterId},succeededCallback,failedCallback,userContext); },
InsertNewComment:function(comment,articleId,succeededCallback, failedCallback, userContext) {
/// System.String
/// System.Int32
///
///
///
return this._invoke(this._get_path(), 'InsertNewComment',false,{comment:comment,articleId:articleId},succeededCallback,failedCallback,userContext); }}
ClusteringService.registerClass('ClusteringService',Sys.Net.WebServiceProxy);
ClusteringService._staticInstance = new ClusteringService();
ClusteringService.set_path = function(value) {
ClusteringService._staticInstance.set_path(value); }
ClusteringService.get_path = function() {
/// The service url.
return ClusteringService._staticInstance.get_path();}
ClusteringService.set_timeout = function(value) {
ClusteringService._staticInstance.set_timeout(value); }
ClusteringService.get_timeout = function() {
/// The service timeout.
return ClusteringService._staticInstance.get_timeout(); }
ClusteringService.set_defaultUserContext = function(value) {
ClusteringService._staticInstance.set_defaultUserContext(value); }
ClusteringService.get_defaultUserContext = function() {
/// The service default user context.
return ClusteringService._staticInstance.get_defaultUserContext(); }
ClusteringService.set_defaultSucceededCallback = function(value) {
ClusteringService._staticInstance.set_defaultSucceededCallback(value); }
ClusteringService.get_defaultSucceededCallback = function() {
/// The service default succeeded callback.
return ClusteringService._staticInstance.get_defaultSucceededCallback(); }
ClusteringService.set_defaultFailedCallback = function(value) {
ClusteringService._staticInstance.set_defaultFailedCallback(value); }
ClusteringService.get_defaultFailedCallback = function() {
/// The service default failed callback.
return ClusteringService._staticInstance.get_defaultFailedCallback(); }
ClusteringService.set_enableJsonp = function(value) { ClusteringService._staticInstance.set_enableJsonp(value); }
ClusteringService.get_enableJsonp = function() {
/// Specifies whether the service supports JSONP for cross domain calling.
return ClusteringService._staticInstance.get_enableJsonp(); }
ClusteringService.set_jsonpCallbackParameter = function(value) { ClusteringService._staticInstance.set_jsonpCallbackParameter(value); }
ClusteringService.get_jsonpCallbackParameter = function() {
/// Specifies the parameter name that contains the callback function name for a JSONP request.
return ClusteringService._staticInstance.get_jsonpCallbackParameter(); }
ClusteringService.set_path("/ClusteringService.asmx");
ClusteringService.GetTitles= function(articleId,clusterId,onSuccess,onFailed,userContext) {
/// System.Int32
/// System.Int32
///
///
///
ClusteringService._staticInstance.GetTitles(articleId,clusterId,onSuccess,onFailed,userContext); }
ClusteringService.InsertNewComment= function(comment,articleId,onSuccess,onFailed,userContext) {
/// System.String
/// System.Int32
///
///
///
ClusteringService._staticInstance.InsertNewComment(comment,articleId,onSuccess,onFailed,userContext); }