Type.registerNamespace('SNfox.AiSite.WebSite.WebServices'); SNfox.AiSite.WebSite.WebServices.CategoryService=function() { SNfox.AiSite.WebSite.WebServices.CategoryService.initializeBase(this); this._timeout = 0; this._userContext = null; this._succeeded = null; this._failed = null; } SNfox.AiSite.WebSite.WebServices.CategoryService.prototype={ _get_path:function() { var p = this.get_path(); if (p) return p; else return SNfox.AiSite.WebSite.WebServices.CategoryService._staticInstance.get_path();}, CategoryDir:function(nodeId,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'CategoryDir',false,{nodeId:nodeId},succeededCallback,failedCallback,userContext); }, EnableSubDomian:function(nodeId,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'EnableSubDomian',false,{nodeId:nodeId},succeededCallback,failedCallback,userContext); }, ExistSameHashKey:function(title,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'ExistSameHashKey',false,{title:title},succeededCallback,failedCallback,userContext); }, GetFieldList:function(modelId,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'GetFieldList',false,{modelId:modelId},succeededCallback,failedCallback,userContext); }, GetInitial:function(nodeName,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'GetInitial',false,{nodeName:nodeName},succeededCallback,failedCallback,userContext); }, GetPinyinTitles:function(title,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'GetPinyinTitles',false,{title:title},succeededCallback,failedCallback,userContext); }} SNfox.AiSite.WebSite.WebServices.CategoryService.registerClass('SNfox.AiSite.WebSite.WebServices.CategoryService',Sys.Net.WebServiceProxy); SNfox.AiSite.WebSite.WebServices.CategoryService._staticInstance = new SNfox.AiSite.WebSite.WebServices.CategoryService(); SNfox.AiSite.WebSite.WebServices.CategoryService.set_path = function(value) { SNfox.AiSite.WebSite.WebServices.CategoryService._staticInstance.set_path(value); } SNfox.AiSite.WebSite.WebServices.CategoryService.get_path = function() { return SNfox.AiSite.WebSite.WebServices.CategoryService._staticInstance.get_path(); } SNfox.AiSite.WebSite.WebServices.CategoryService.set_timeout = function(value) { SNfox.AiSite.WebSite.WebServices.CategoryService._staticInstance.set_timeout(value); } SNfox.AiSite.WebSite.WebServices.CategoryService.get_timeout = function() { return SNfox.AiSite.WebSite.WebServices.CategoryService._staticInstance.get_timeout(); } SNfox.AiSite.WebSite.WebServices.CategoryService.set_defaultUserContext = function(value) { SNfox.AiSite.WebSite.WebServices.CategoryService._staticInstance.set_defaultUserContext(value); } SNfox.AiSite.WebSite.WebServices.CategoryService.get_defaultUserContext = function() { return SNfox.AiSite.WebSite.WebServices.CategoryService._staticInstance.get_defaultUserContext(); } SNfox.AiSite.WebSite.WebServices.CategoryService.set_defaultSucceededCallback = function(value) { SNfox.AiSite.WebSite.WebServices.CategoryService._staticInstance.set_defaultSucceededCallback(value); } SNfox.AiSite.WebSite.WebServices.CategoryService.get_defaultSucceededCallback = function() { return SNfox.AiSite.WebSite.WebServices.CategoryService._staticInstance.get_defaultSucceededCallback(); } SNfox.AiSite.WebSite.WebServices.CategoryService.set_defaultFailedCallback = function(value) { SNfox.AiSite.WebSite.WebServices.CategoryService._staticInstance.set_defaultFailedCallback(value); } SNfox.AiSite.WebSite.WebServices.CategoryService.get_defaultFailedCallback = function() { return SNfox.AiSite.WebSite.WebServices.CategoryService._staticInstance.get_defaultFailedCallback(); } SNfox.AiSite.WebSite.WebServices.CategoryService.set_enableJsonp = function(value) { SNfox.AiSite.WebSite.WebServices.CategoryService._staticInstance.set_enableJsonp(value); } SNfox.AiSite.WebSite.WebServices.CategoryService.get_enableJsonp = function() { return SNfox.AiSite.WebSite.WebServices.CategoryService._staticInstance.get_enableJsonp(); } SNfox.AiSite.WebSite.WebServices.CategoryService.set_jsonpCallbackParameter = function(value) { SNfox.AiSite.WebSite.WebServices.CategoryService._staticInstance.set_jsonpCallbackParameter(value); } SNfox.AiSite.WebSite.WebServices.CategoryService.get_jsonpCallbackParameter = function() { return SNfox.AiSite.WebSite.WebServices.CategoryService._staticInstance.get_jsonpCallbackParameter(); } SNfox.AiSite.WebSite.WebServices.CategoryService.set_path("/WebServices/CategoryService.asmx"); SNfox.AiSite.WebSite.WebServices.CategoryService.CategoryDir= function(nodeId,onSuccess,onFailed,userContext) {SNfox.AiSite.WebSite.WebServices.CategoryService._staticInstance.CategoryDir(nodeId,onSuccess,onFailed,userContext); } SNfox.AiSite.WebSite.WebServices.CategoryService.EnableSubDomian= function(nodeId,onSuccess,onFailed,userContext) {SNfox.AiSite.WebSite.WebServices.CategoryService._staticInstance.EnableSubDomian(nodeId,onSuccess,onFailed,userContext); } SNfox.AiSite.WebSite.WebServices.CategoryService.ExistSameHashKey= function(title,onSuccess,onFailed,userContext) {SNfox.AiSite.WebSite.WebServices.CategoryService._staticInstance.ExistSameHashKey(title,onSuccess,onFailed,userContext); } SNfox.AiSite.WebSite.WebServices.CategoryService.GetFieldList= function(modelId,onSuccess,onFailed,userContext) {SNfox.AiSite.WebSite.WebServices.CategoryService._staticInstance.GetFieldList(modelId,onSuccess,onFailed,userContext); } SNfox.AiSite.WebSite.WebServices.CategoryService.GetInitial= function(nodeName,onSuccess,onFailed,userContext) {SNfox.AiSite.WebSite.WebServices.CategoryService._staticInstance.GetInitial(nodeName,onSuccess,onFailed,userContext); } SNfox.AiSite.WebSite.WebServices.CategoryService.GetPinyinTitles= function(title,onSuccess,onFailed,userContext) {SNfox.AiSite.WebSite.WebServices.CategoryService._staticInstance.GetPinyinTitles(title,onSuccess,onFailed,userContext); } var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor; Type.registerNamespace('SNfox.AiSite.Model.CommonModel'); if (typeof(SNfox.AiSite.Model.CommonModel.FieldInfo) === 'undefined') { SNfox.AiSite.Model.CommonModel.FieldInfo=gtc("SNfox.AiSite.Model.CommonModel.FieldInfo"); SNfox.AiSite.Model.CommonModel.FieldInfo.registerClass('SNfox.AiSite.Model.CommonModel.FieldInfo'); }