var TopicService=function() {
TopicService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
TopicService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return TopicService._staticInstance.get_path();},
Post:function(barID,title,titleStyle,content,isAnonymous,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Post',false,{barID:barID,title:title,titleStyle:titleStyle,content:content,isAnonymous:isAnonymous},succeededCallback,failedCallback,userContext); },
TopicEdit:function(topicID,title,titleStyle,content,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'TopicEdit',false,{topicID:topicID,title:title,titleStyle:titleStyle,content:content},succeededCallback,failedCallback,userContext); },
Reply:function(topicID,content,isAnonymous,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Reply',false,{topicID:topicID,content:content,isAnonymous:isAnonymous},succeededCallback,failedCallback,userContext); },
TopicDelete:function(topicID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'TopicDelete',false,{topicID:topicID},succeededCallback,failedCallback,userContext); },
ReplyDelete:function(replyID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ReplyDelete',false,{replyID:replyID},succeededCallback,failedCallback,userContext); },
ReplyUpdate:function(replyId,content,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ReplyUpdate',false,{replyId:replyId,content:content},succeededCallback,failedCallback,userContext); },
SetTop:function(topicID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetTop',false,{topicID:topicID},succeededCallback,failedCallback,userContext); },
CancelTop:function(topicID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CancelTop',false,{topicID:topicID},succeededCallback,failedCallback,userContext); },
SetBest:function(topicID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetBest',false,{topicID:topicID},succeededCallback,failedCallback,userContext); },
CancelBest:function(topicID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CancelBest',false,{topicID:topicID},succeededCallback,failedCallback,userContext); },
TopicMove:function(topicID,barID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'TopicMove',false,{topicID:topicID,barID:barID},succeededCallback,failedCallback,userContext); }}
TopicService.registerClass('TopicService',Sys.Net.WebServiceProxy);
TopicService._staticInstance = new TopicService();
TopicService.set_path = function(value) { TopicService._staticInstance.set_path(value); }
TopicService.get_path = function() { return TopicService._staticInstance.get_path(); }
TopicService.set_timeout = function(value) { TopicService._staticInstance.set_timeout(value); }
TopicService.get_timeout = function() { return TopicService._staticInstance.get_timeout(); }
TopicService.set_defaultUserContext = function(value) { TopicService._staticInstance.set_defaultUserContext(value); }
TopicService.get_defaultUserContext = function() { return TopicService._staticInstance.get_defaultUserContext(); }
TopicService.set_defaultSucceededCallback = function(value) { TopicService._staticInstance.set_defaultSucceededCallback(value); }
TopicService.get_defaultSucceededCallback = function() { return TopicService._staticInstance.get_defaultSucceededCallback(); }
TopicService.set_defaultFailedCallback = function(value) { TopicService._staticInstance.set_defaultFailedCallback(value); }
TopicService.get_defaultFailedCallback = function() { return TopicService._staticInstance.get_defaultFailedCallback(); }
TopicService.set_path("/WebService/TopicService.asmx");
TopicService.Post= function(barID,title,titleStyle,content,isAnonymous,onSuccess,onFailed,userContext) {TopicService._staticInstance.Post(barID,title,titleStyle,content,isAnonymous,onSuccess,onFailed,userContext); }
TopicService.TopicEdit= function(topicID,title,titleStyle,content,onSuccess,onFailed,userContext) {TopicService._staticInstance.TopicEdit(topicID,title,titleStyle,content,onSuccess,onFailed,userContext); }
TopicService.Reply= function(topicID,content,isAnonymous,onSuccess,onFailed,userContext) {TopicService._staticInstance.Reply(topicID,content,isAnonymous,onSuccess,onFailed,userContext); }
TopicService.TopicDelete= function(topicID,onSuccess,onFailed,userContext) {TopicService._staticInstance.TopicDelete(topicID,onSuccess,onFailed,userContext); }
TopicService.ReplyDelete= function(replyID,onSuccess,onFailed,userContext) {TopicService._staticInstance.ReplyDelete(replyID,onSuccess,onFailed,userContext); }
TopicService.ReplyUpdate= function(replyId,content,onSuccess,onFailed,userContext) {TopicService._staticInstance.ReplyUpdate(replyId,content,onSuccess,onFailed,userContext); }
TopicService.SetTop= function(topicID,onSuccess,onFailed,userContext) {TopicService._staticInstance.SetTop(topicID,onSuccess,onFailed,userContext); }
TopicService.CancelTop= function(topicID,onSuccess,onFailed,userContext) {TopicService._staticInstance.CancelTop(topicID,onSuccess,onFailed,userContext); }
TopicService.SetBest= function(topicID,onSuccess,onFailed,userContext) {TopicService._staticInstance.SetBest(topicID,onSuccess,onFailed,userContext); }
TopicService.CancelBest= function(topicID,onSuccess,onFailed,userContext) {TopicService._staticInstance.CancelBest(topicID,onSuccess,onFailed,userContext); }
TopicService.TopicMove= function(topicID,barID,onSuccess,onFailed,userContext) {TopicService._staticInstance.TopicMove(topicID,barID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Result) === 'undefined') {
var Result=gtc("Result");
Result.registerClass('Result');
}
