Type.registerNamespace('Tomoye.Ecco.Web.WebServices');
Tomoye.Ecco.Web.WebServices.ExplorerService=function() {
Tomoye.Ecco.Web.WebServices.ExplorerService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Tomoye.Ecco.Web.WebServices.ExplorerService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Tomoye.Ecco.Web.WebServices.ExplorerService._staticInstance.get_path();},
Explorer_ExpandBranch:function(nodeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Explorer_ExpandBranch',false,{nodeId:nodeId},succeededCallback,failedCallback,userContext); },
Explorer_ExpandBranchWithData:function(nodeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Explorer_ExpandBranchWithData',false,{nodeId:nodeId},succeededCallback,failedCallback,userContext); },
Explorer_CollapseBranch:function(nodeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Explorer_CollapseBranch',false,{nodeId:nodeId},succeededCallback,failedCallback,userContext); }}
Tomoye.Ecco.Web.WebServices.ExplorerService.registerClass('Tomoye.Ecco.Web.WebServices.ExplorerService',Sys.Net.WebServiceProxy);
Tomoye.Ecco.Web.WebServices.ExplorerService._staticInstance = new Tomoye.Ecco.Web.WebServices.ExplorerService();
Tomoye.Ecco.Web.WebServices.ExplorerService.set_path = function(value) { Tomoye.Ecco.Web.WebServices.ExplorerService._staticInstance.set_path(value); }
Tomoye.Ecco.Web.WebServices.ExplorerService.get_path = function() { return Tomoye.Ecco.Web.WebServices.ExplorerService._staticInstance.get_path(); }
Tomoye.Ecco.Web.WebServices.ExplorerService.set_timeout = function(value) { Tomoye.Ecco.Web.WebServices.ExplorerService._staticInstance.set_timeout(value); }
Tomoye.Ecco.Web.WebServices.ExplorerService.get_timeout = function() { return Tomoye.Ecco.Web.WebServices.ExplorerService._staticInstance.get_timeout(); }
Tomoye.Ecco.Web.WebServices.ExplorerService.set_defaultUserContext = function(value) { Tomoye.Ecco.Web.WebServices.ExplorerService._staticInstance.set_defaultUserContext(value); }
Tomoye.Ecco.Web.WebServices.ExplorerService.get_defaultUserContext = function() { return Tomoye.Ecco.Web.WebServices.ExplorerService._staticInstance.get_defaultUserContext(); }
Tomoye.Ecco.Web.WebServices.ExplorerService.set_defaultSucceededCallback = function(value) { Tomoye.Ecco.Web.WebServices.ExplorerService._staticInstance.set_defaultSucceededCallback(value); }
Tomoye.Ecco.Web.WebServices.ExplorerService.get_defaultSucceededCallback = function() { return Tomoye.Ecco.Web.WebServices.ExplorerService._staticInstance.get_defaultSucceededCallback(); }
Tomoye.Ecco.Web.WebServices.ExplorerService.set_defaultFailedCallback = function(value) { Tomoye.Ecco.Web.WebServices.ExplorerService._staticInstance.set_defaultFailedCallback(value); }
Tomoye.Ecco.Web.WebServices.ExplorerService.get_defaultFailedCallback = function() { return Tomoye.Ecco.Web.WebServices.ExplorerService._staticInstance.get_defaultFailedCallback(); }
Tomoye.Ecco.Web.WebServices.ExplorerService.set_path("/WebServices/Explorer.asmx");
Tomoye.Ecco.Web.WebServices.ExplorerService.Explorer_ExpandBranch= function(nodeId,onSuccess,onFailed,userContext) {Tomoye.Ecco.Web.WebServices.ExplorerService._staticInstance.Explorer_ExpandBranch(nodeId,onSuccess,onFailed,userContext); }
Tomoye.Ecco.Web.WebServices.ExplorerService.Explorer_ExpandBranchWithData= function(nodeId,onSuccess,onFailed,userContext) {Tomoye.Ecco.Web.WebServices.ExplorerService._staticInstance.Explorer_ExpandBranchWithData(nodeId,onSuccess,onFailed,userContext); }
Tomoye.Ecco.Web.WebServices.ExplorerService.Explorer_CollapseBranch= function(nodeId,onSuccess,onFailed,userContext) {Tomoye.Ecco.Web.WebServices.ExplorerService._staticInstance.Explorer_CollapseBranch(nodeId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Tomoye.Ecco.Web');
if (typeof(Tomoye.Ecco.Web.ExplorerItem) === 'undefined') {
Tomoye.Ecco.Web.ExplorerItem=gtc("Tomoye.Ecco.Web.ExplorerItem");
Tomoye.Ecco.Web.ExplorerItem.registerClass('Tomoye.Ecco.Web.ExplorerItem');
}
