var wsDebate=function() {
wsDebate.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
wsDebate.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return wsDebate._staticInstance.get_path();},
login:function(email,password,rememberMe,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'login',false,{email:email,password:password,rememberMe:rememberMe},succeededCallback,failedCallback,userContext); },
logout:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'logout',false,{},succeededCallback,failedCallback,userContext); },
commentOnComment:function(threadID,parentID,headline,message,siteID,lopenr,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'commentOnComment',false,{threadID:threadID,parentID:parentID,headline:headline,message:message,siteID:siteID,lopenr:lopenr},succeededCallback,failedCallback,userContext); },
getParsedCommentHTMLByID:function(commentID,threadType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getParsedCommentHTMLByID',false,{commentID:commentID,threadType:threadType},succeededCallback,failedCallback,userContext); },
sendCommentOnArticle:function(threadID,headline,text,siteID,lopenr,notifyThreadActivity,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'sendCommentOnArticle',false,{threadID:threadID,headline:headline,text:text,siteID:siteID,lopenr:lopenr,notifyThreadActivity:notifyThreadActivity},succeededCallback,failedCallback,userContext); },
deleteThreadBySiteIDAndLopenr:function(siteID,lopenr,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'deleteThreadBySiteIDAndLopenr',false,{siteID:siteID,lopenr:lopenr},succeededCallback,failedCallback,userContext); },
inactivateThreadBySiteIDAndLopenr:function(siteID,lopenr,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'inactivateThreadBySiteIDAndLopenr',false,{siteID:siteID,lopenr:lopenr},succeededCallback,failedCallback,userContext); },
deleteThreadByID:function(threadID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'deleteThreadByID',false,{threadID:threadID},succeededCallback,failedCallback,userContext); },
tipModerator:function(commentID,senderEmail,message,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'tipModerator',false,{commentID:commentID,senderEmail:senderEmail,message:message},succeededCallback,failedCallback,userContext); },
setCommentActiveStateByIDSiteIDAndLopenr:function(threadID,commentID,siteID,lopenr,activeState,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'setCommentActiveStateByIDSiteIDAndLopenr',false,{threadID:threadID,commentID:commentID,siteID:siteID,lopenr:lopenr,activeState:activeState},succeededCallback,failedCallback,userContext); },
GenerateNewPassword:function(email,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GenerateNewPassword',false,{email:email},succeededCallback,failedCallback,userContext); }}
wsDebate.registerClass('wsDebate',Sys.Net.WebServiceProxy);
wsDebate._staticInstance = new wsDebate();
wsDebate.set_path = function(value) { wsDebate._staticInstance.set_path(value); }
wsDebate.get_path = function() { return wsDebate._staticInstance.get_path(); }
wsDebate.set_timeout = function(value) { wsDebate._staticInstance.set_timeout(value); }
wsDebate.get_timeout = function() { return wsDebate._staticInstance.get_timeout(); }
wsDebate.set_defaultUserContext = function(value) { wsDebate._staticInstance.set_defaultUserContext(value); }
wsDebate.get_defaultUserContext = function() { return wsDebate._staticInstance.get_defaultUserContext(); }
wsDebate.set_defaultSucceededCallback = function(value) { wsDebate._staticInstance.set_defaultSucceededCallback(value); }
wsDebate.get_defaultSucceededCallback = function() { return wsDebate._staticInstance.get_defaultSucceededCallback(); }
wsDebate.set_defaultFailedCallback = function(value) { wsDebate._staticInstance.set_defaultFailedCallback(value); }
wsDebate.get_defaultFailedCallback = function() { return wsDebate._staticInstance.get_defaultFailedCallback(); }
wsDebate.set_path("/webservice/wsDebate.asmx");
wsDebate.login= function(email,password,rememberMe,onSuccess,onFailed,userContext) {wsDebate._staticInstance.login(email,password,rememberMe,onSuccess,onFailed,userContext); }
wsDebate.logout= function(onSuccess,onFailed,userContext) {wsDebate._staticInstance.logout(onSuccess,onFailed,userContext); }
wsDebate.commentOnComment= function(threadID,parentID,headline,message,siteID,lopenr,onSuccess,onFailed,userContext) {wsDebate._staticInstance.commentOnComment(threadID,parentID,headline,message,siteID,lopenr,onSuccess,onFailed,userContext); }
wsDebate.getParsedCommentHTMLByID= function(commentID,threadType,onSuccess,onFailed,userContext) {wsDebate._staticInstance.getParsedCommentHTMLByID(commentID,threadType,onSuccess,onFailed,userContext); }
wsDebate.sendCommentOnArticle= function(threadID,headline,text,siteID,lopenr,notifyThreadActivity,onSuccess,onFailed,userContext) {wsDebate._staticInstance.sendCommentOnArticle(threadID,headline,text,siteID,lopenr,notifyThreadActivity,onSuccess,onFailed,userContext); }
wsDebate.deleteThreadBySiteIDAndLopenr= function(siteID,lopenr,onSuccess,onFailed,userContext) {wsDebate._staticInstance.deleteThreadBySiteIDAndLopenr(siteID,lopenr,onSuccess,onFailed,userContext); }
wsDebate.inactivateThreadBySiteIDAndLopenr= function(siteID,lopenr,onSuccess,onFailed,userContext) {wsDebate._staticInstance.inactivateThreadBySiteIDAndLopenr(siteID,lopenr,onSuccess,onFailed,userContext); }
wsDebate.deleteThreadByID= function(threadID,onSuccess,onFailed,userContext) {wsDebate._staticInstance.deleteThreadByID(threadID,onSuccess,onFailed,userContext); }
wsDebate.tipModerator= function(commentID,senderEmail,message,onSuccess,onFailed,userContext) {wsDebate._staticInstance.tipModerator(commentID,senderEmail,message,onSuccess,onFailed,userContext); }
wsDebate.setCommentActiveStateByIDSiteIDAndLopenr= function(threadID,commentID,siteID,lopenr,activeState,onSuccess,onFailed,userContext) {wsDebate._staticInstance.setCommentActiveStateByIDSiteIDAndLopenr(threadID,commentID,siteID,lopenr,activeState,onSuccess,onFailed,userContext); }
wsDebate.GenerateNewPassword= function(email,onSuccess,onFailed,userContext) {wsDebate._staticInstance.GenerateNewPassword(email,onSuccess,onFailed,userContext); }

