Type.registerNamespace('Kvetch.Services');
Kvetch.Services.TopicService=function() {
Kvetch.Services.TopicService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Kvetch.Services.TopicService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Kvetch.Services.TopicService._staticInstance.get_path();},
GetTopics:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTopics',false,{},succeededCallback,failedCallback,userContext); },
InsertTopic:function(title,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'InsertTopic',false,{title:title},succeededCallback,failedCallback,userContext); }}
Kvetch.Services.TopicService.registerClass('Kvetch.Services.TopicService',Sys.Net.WebServiceProxy);
Kvetch.Services.TopicService._staticInstance = new Kvetch.Services.TopicService();
Kvetch.Services.TopicService.set_path = function(value) { Kvetch.Services.TopicService._staticInstance.set_path(value); }
Kvetch.Services.TopicService.get_path = function() { return Kvetch.Services.TopicService._staticInstance.get_path(); }
Kvetch.Services.TopicService.set_timeout = function(value) { Kvetch.Services.TopicService._staticInstance.set_timeout(value); }
Kvetch.Services.TopicService.get_timeout = function() { return Kvetch.Services.TopicService._staticInstance.get_timeout(); }
Kvetch.Services.TopicService.set_defaultUserContext = function(value) { Kvetch.Services.TopicService._staticInstance.set_defaultUserContext(value); }
Kvetch.Services.TopicService.get_defaultUserContext = function() { return Kvetch.Services.TopicService._staticInstance.get_defaultUserContext(); }
Kvetch.Services.TopicService.set_defaultSucceededCallback = function(value) { Kvetch.Services.TopicService._staticInstance.set_defaultSucceededCallback(value); }
Kvetch.Services.TopicService.get_defaultSucceededCallback = function() { return Kvetch.Services.TopicService._staticInstance.get_defaultSucceededCallback(); }
Kvetch.Services.TopicService.set_defaultFailedCallback = function(value) { Kvetch.Services.TopicService._staticInstance.set_defaultFailedCallback(value); }
Kvetch.Services.TopicService.get_defaultFailedCallback = function() { return Kvetch.Services.TopicService._staticInstance.get_defaultFailedCallback(); }
Kvetch.Services.TopicService.set_path("/Kvetch/Services/Topic.asmx");
Kvetch.Services.TopicService.GetTopics= function(onSuccess,onFailed,userContext) {Kvetch.Services.TopicService._staticInstance.GetTopics(onSuccess,onFailed,userContext); }
Kvetch.Services.TopicService.InsertTopic= function(title,onSuccess,onFailed,userContext) {Kvetch.Services.TopicService._staticInstance.InsertTopic(title,onSuccess,onFailed,userContext); }
