var BBSFun=function() {
BBSFun.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
BBSFun.prototype={
getBBSAllCategory:function(succeededCallback, failedCallback, userContext) {
return this._invoke(BBSFun.get_path(), 'getBBSAllCategory',false,{},succeededCallback,failedCallback,userContext); },
getBBSArticleList:function(_local,CateID,CornerID,page,type,succeededCallback, failedCallback, userContext) {
return this._invoke(BBSFun.get_path(), 'getBBSArticleList',false,{_local:_local,CateID:CateID,CornerID:CornerID,page:page,type:type},succeededCallback,failedCallback,userContext); },
getBBSLeaveword:function(AritcleID,page,UIID,succeededCallback, failedCallback, userContext) {
return this._invoke(BBSFun.get_path(), 'getBBSLeaveword',false,{AritcleID:AritcleID,page:page,UIID:UIID},succeededCallback,failedCallback,userContext); },
getBBSContent:function(UIID,AritcleID,CornerID,succeededCallback, failedCallback, userContext) {
return this._invoke(BBSFun.get_path(), 'getBBSContent',false,{UIID:UIID,AritcleID:AritcleID,CornerID:CornerID},succeededCallback,failedCallback,userContext); },
getBBSContent2:function(UIID,AritcleID,CornerID,succeededCallback, failedCallback, userContext) {
return this._invoke(BBSFun.get_path(), 'getBBSContent2',false,{UIID:UIID,AritcleID:AritcleID,CornerID:CornerID},succeededCallback,failedCallback,userContext); },
bbsSaveArticle:function(AritcleID,CornerID,CateID,UIID,Title,Text,succeededCallback, failedCallback, userContext) {
return this._invoke(BBSFun.get_path(), 'bbsSaveArticle',false,{AritcleID:AritcleID,CornerID:CornerID,CateID:CateID,UIID:UIID,Title:Title,Text:Text},succeededCallback,failedCallback,userContext); },
bbsDelArticle:function(type,ID,UIID,succeededCallback, failedCallback, userContext) {
return this._invoke(BBSFun.get_path(), 'bbsDelArticle',false,{type:type,ID:ID,UIID:UIID},succeededCallback,failedCallback,userContext); }}
BBSFun.registerClass('BBSFun',Sys.Net.WebServiceProxy);
BBSFun._staticInstance = new BBSFun();
BBSFun.set_path = function(value) { BBSFun._staticInstance._path = value; }
BBSFun.get_path = function() { return BBSFun._staticInstance._path; }
BBSFun.set_timeout = function(value) { BBSFun._staticInstance._timeout = value; }
BBSFun.get_timeout = function() { return BBSFun._staticInstance._timeout; }
BBSFun.set_defaultUserContext = function(value) { BBSFun._staticInstance._userContext = value; }
BBSFun.get_defaultUserContext = function() { return BBSFun._staticInstance._userContext; }
BBSFun.set_defaultSucceededCallback = function(value) { BBSFun._staticInstance._succeeded = value; }
BBSFun.get_defaultSucceededCallback = function() { return BBSFun._staticInstance._succeeded; }
BBSFun.set_defaultFailedCallback = function(value) { BBSFun._staticInstance._failed = value; }
BBSFun.get_defaultFailedCallback = function() { return BBSFun._staticInstance._failed; }
BBSFun.set_path("/BBSFun.asmx");
BBSFun.getBBSAllCategory= function(onSuccess,onFailed,userContext) {BBSFun._staticInstance.getBBSAllCategory(onSuccess,onFailed,userContext); }
BBSFun.getBBSArticleList= function(_local,CateID,CornerID,page,type,onSuccess,onFailed,userContext) {BBSFun._staticInstance.getBBSArticleList(_local,CateID,CornerID,page,type,onSuccess,onFailed,userContext); }
BBSFun.getBBSLeaveword= function(AritcleID,page,UIID,onSuccess,onFailed,userContext) {BBSFun._staticInstance.getBBSLeaveword(AritcleID,page,UIID,onSuccess,onFailed,userContext); }
BBSFun.getBBSContent= function(UIID,AritcleID,CornerID,onSuccess,onFailed,userContext) {BBSFun._staticInstance.getBBSContent(UIID,AritcleID,CornerID,onSuccess,onFailed,userContext); }
BBSFun.getBBSContent2= function(UIID,AritcleID,CornerID,onSuccess,onFailed,userContext) {BBSFun._staticInstance.getBBSContent2(UIID,AritcleID,CornerID,onSuccess,onFailed,userContext); }
BBSFun.bbsSaveArticle= function(AritcleID,CornerID,CateID,UIID,Title,Text,onSuccess,onFailed,userContext) {BBSFun._staticInstance.bbsSaveArticle(AritcleID,CornerID,CateID,UIID,Title,Text,onSuccess,onFailed,userContext); }
BBSFun.bbsDelArticle= function(type,ID,UIID,onSuccess,onFailed,userContext) {BBSFun._staticInstance.bbsDelArticle(type,ID,UIID,onSuccess,onFailed,userContext); }
