var WebCategory=function() {
WebCategory.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebCategory.prototype={
GetCategory_V_Fly:function(parentId,ifNodeClose,ifHaveIcon,succeededCallback, failedCallback, userContext) {
return this._invoke(WebCategory.get_path(), 'GetCategory_V_Fly',false,{parentId:parentId,ifNodeClose:ifNodeClose,ifHaveIcon:ifHaveIcon},succeededCallback,failedCallback,userContext); },
GetByParentId:function(parentId,ifNodeClose,ifHaveIcon,succeededCallback, failedCallback, userContext) {
return this._invoke(WebCategory.get_path(), 'GetByParentId',false,{parentId:parentId,ifNodeClose:ifNodeClose,ifHaveIcon:ifHaveIcon},succeededCallback,failedCallback,userContext); },
GetModuelCategory_V_Fly_Down:function(moduleId,moduleTitel,moduleUrl,moduleParameter,succeededCallback, failedCallback, userContext) {
return this._invoke(WebCategory.get_path(), 'GetModuelCategory_V_Fly_Down',false,{moduleId:moduleId,moduleTitel:moduleTitel,moduleUrl:moduleUrl,moduleParameter:moduleParameter},succeededCallback,failedCallback,userContext); },
DeleteByItemId:function(categoryId,succeededCallback, failedCallback, userContext) {
return this._invoke(WebCategory.get_path(), 'DeleteByItemId',false,{categoryId:categoryId},succeededCallback,failedCallback,userContext); }}
WebCategory.registerClass('WebCategory',Sys.Net.WebServiceProxy);
WebCategory._staticInstance = new WebCategory();
WebCategory.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; WebCategory._staticInstance._path = value; }
WebCategory.get_path = function() { return WebCategory._staticInstance._path; }
WebCategory.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
WebCategory._staticInstance._timeout = value; }
WebCategory.get_timeout = function() { 
return WebCategory._staticInstance._timeout; }
WebCategory.set_defaultUserContext = function(value) { 
WebCategory._staticInstance._userContext = value; }
WebCategory.get_defaultUserContext = function() { 
return WebCategory._staticInstance._userContext; }
WebCategory.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; WebCategory._staticInstance._succeeded = value; }
WebCategory.get_defaultSucceededCallback = function() { 
return WebCategory._staticInstance._succeeded; }
WebCategory.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; WebCategory._staticInstance._failed = value; }
WebCategory.get_defaultFailedCallback = function() { 
return WebCategory._staticInstance._failed; }
WebCategory.set_path("/WebService/WebCategory.asmx");
WebCategory.GetCategory_V_Fly= function(parentId,ifNodeClose,ifHaveIcon,onSuccess,onFailed,userContext) {WebCategory._staticInstance.GetCategory_V_Fly(parentId,ifNodeClose,ifHaveIcon,onSuccess,onFailed,userContext); }
WebCategory.GetByParentId= function(parentId,ifNodeClose,ifHaveIcon,onSuccess,onFailed,userContext) {WebCategory._staticInstance.GetByParentId(parentId,ifNodeClose,ifHaveIcon,onSuccess,onFailed,userContext); }
WebCategory.GetModuelCategory_V_Fly_Down= function(moduleId,moduleTitel,moduleUrl,moduleParameter,onSuccess,onFailed,userContext) {WebCategory._staticInstance.GetModuelCategory_V_Fly_Down(moduleId,moduleTitel,moduleUrl,moduleParameter,onSuccess,onFailed,userContext); }
WebCategory.DeleteByItemId= function(categoryId,onSuccess,onFailed,userContext) {WebCategory._staticInstance.DeleteByItemId(categoryId,onSuccess,onFailed,userContext); }
