var Service=function() {
Service.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Service.prototype={
ReplyToUserComment:function(_userCommentID,_userBody,succeededCallback, failedCallback, userContext) {
return this._invoke(Service.get_path(), 'ReplyToUserComment',false,{_userCommentID:_userCommentID,_userBody:_userBody},succeededCallback,failedCallback,userContext); },
EditUserComment:function(_userCommentID,_userBody,succeededCallback, failedCallback, userContext) {
return this._invoke(Service.get_path(), 'EditUserComment',false,{_userCommentID:_userCommentID,_userBody:_userBody},succeededCallback,failedCallback,userContext); },
DeleteUserComment:function(_userCommentID,succeededCallback, failedCallback, userContext) {
return this._invoke(Service.get_path(), 'DeleteUserComment',false,{_userCommentID:_userCommentID},succeededCallback,failedCallback,userContext); },
AddUserCommentReport:function(_userCommentID,succeededCallback, failedCallback, userContext) {
return this._invoke(Service.get_path(), 'AddUserCommentReport',false,{_userCommentID:_userCommentID},succeededCallback,failedCallback,userContext); },
DeleteReport:function(_reportID,succeededCallback, failedCallback, userContext) {
return this._invoke(Service.get_path(), 'DeleteReport',false,{_reportID:_reportID},succeededCallback,failedCallback,userContext); },
VoteFile:function(_fileFileID,_ranking,succeededCallback, failedCallback, userContext) {
return this._invoke(Service.get_path(), 'VoteFile',false,{_fileFileID:_fileFileID,_ranking:_ranking},succeededCallback,failedCallback,userContext); },
ReplyToFileComment:function(_fileCommentSubID,_fileCommentBody,succeededCallback, failedCallback, userContext) {
return this._invoke(Service.get_path(), 'ReplyToFileComment',false,{_fileCommentSubID:_fileCommentSubID,_fileCommentBody:_fileCommentBody},succeededCallback,failedCallback,userContext); },
EditFileComment:function(_fileCommentID,_fileCommentBody,succeededCallback, failedCallback, userContext) {
return this._invoke(Service.get_path(), 'EditFileComment',false,{_fileCommentID:_fileCommentID,_fileCommentBody:_fileCommentBody},succeededCallback,failedCallback,userContext); },
DeleteFileComment:function(_fileCommentID,succeededCallback, failedCallback, userContext) {
return this._invoke(Service.get_path(), 'DeleteFileComment',false,{_fileCommentID:_fileCommentID},succeededCallback,failedCallback,userContext); },
AddFileCommentReport:function(_fileCommentID,succeededCallback, failedCallback, userContext) {
return this._invoke(Service.get_path(), 'AddFileCommentReport',false,{_fileCommentID:_fileCommentID},succeededCallback,failedCallback,userContext); },
AddFileReport:function(_fileFileID,succeededCallback, failedCallback, userContext) {
return this._invoke(Service.get_path(), 'AddFileReport',false,{_fileFileID:_fileFileID},succeededCallback,failedCallback,userContext); }}
Service.registerClass('Service',Sys.Net.WebServiceProxy);
Service._staticInstance = new Service();
Service.set_path = function(value) { Service._staticInstance._path = value; }
Service.get_path = function() { return Service._staticInstance._path; }
Service.set_timeout = function(value) { Service._staticInstance._timeout = value; }
Service.get_timeout = function() { return Service._staticInstance._timeout; }
Service.set_defaultUserContext = function(value) { Service._staticInstance._userContext = value; }
Service.get_defaultUserContext = function() { return Service._staticInstance._userContext; }
Service.set_defaultSucceededCallback = function(value) { Service._staticInstance._succeeded = value; }
Service.get_defaultSucceededCallback = function() { return Service._staticInstance._succeeded; }
Service.set_defaultFailedCallback = function(value) { Service._staticInstance._failed = value; }
Service.get_defaultFailedCallback = function() { return Service._staticInstance._failed; }
Service.set_path("/Service.asmx");
Service.ReplyToUserComment= function(_userCommentID,_userBody,onSuccess,onFailed,userContext) {Service._staticInstance.ReplyToUserComment(_userCommentID,_userBody,onSuccess,onFailed,userContext); }
Service.EditUserComment= function(_userCommentID,_userBody,onSuccess,onFailed,userContext) {Service._staticInstance.EditUserComment(_userCommentID,_userBody,onSuccess,onFailed,userContext); }
Service.DeleteUserComment= function(_userCommentID,onSuccess,onFailed,userContext) {Service._staticInstance.DeleteUserComment(_userCommentID,onSuccess,onFailed,userContext); }
Service.AddUserCommentReport= function(_userCommentID,onSuccess,onFailed,userContext) {Service._staticInstance.AddUserCommentReport(_userCommentID,onSuccess,onFailed,userContext); }
Service.DeleteReport= function(_reportID,onSuccess,onFailed,userContext) {Service._staticInstance.DeleteReport(_reportID,onSuccess,onFailed,userContext); }
Service.VoteFile= function(_fileFileID,_ranking,onSuccess,onFailed,userContext) {Service._staticInstance.VoteFile(_fileFileID,_ranking,onSuccess,onFailed,userContext); }
Service.ReplyToFileComment= function(_fileCommentSubID,_fileCommentBody,onSuccess,onFailed,userContext) {Service._staticInstance.ReplyToFileComment(_fileCommentSubID,_fileCommentBody,onSuccess,onFailed,userContext); }
Service.EditFileComment= function(_fileCommentID,_fileCommentBody,onSuccess,onFailed,userContext) {Service._staticInstance.EditFileComment(_fileCommentID,_fileCommentBody,onSuccess,onFailed,userContext); }
Service.DeleteFileComment= function(_fileCommentID,onSuccess,onFailed,userContext) {Service._staticInstance.DeleteFileComment(_fileCommentID,onSuccess,onFailed,userContext); }
Service.AddFileCommentReport= function(_fileCommentID,onSuccess,onFailed,userContext) {Service._staticInstance.AddFileCommentReport(_fileCommentID,onSuccess,onFailed,userContext); }
Service.AddFileReport= function(_fileFileID,onSuccess,onFailed,userContext) {Service._staticInstance.AddFileReport(_fileFileID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(UserComment) === 'undefined') {
var UserComment=gtc("UserComment");
UserComment.registerClass('UserComment');
}
if (typeof(FileComment) === 'undefined') {
var FileComment=gtc("FileComment");
FileComment.registerClass('FileComment');
}
