Type.registerNamespace('Softchoice.Web.WebServices');
Softchoice.Web.WebServices.DocumentRepository=function() {
Softchoice.Web.WebServices.DocumentRepository.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Softchoice.Web.WebServices.DocumentRepository.prototype={
CreateFolder:function(name,folderType,succeededCallback, failedCallback, userContext) {
return this._invoke(Softchoice.Web.WebServices.DocumentRepository.get_path(), 'CreateFolder',false,{name:name,folderType:folderType},succeededCallback,failedCallback,userContext); }}
Softchoice.Web.WebServices.DocumentRepository.registerClass('Softchoice.Web.WebServices.DocumentRepository',Sys.Net.WebServiceProxy);
Softchoice.Web.WebServices.DocumentRepository._staticInstance = new Softchoice.Web.WebServices.DocumentRepository();
Softchoice.Web.WebServices.DocumentRepository.set_path = function(value) { Softchoice.Web.WebServices.DocumentRepository._staticInstance._path = value; }
Softchoice.Web.WebServices.DocumentRepository.get_path = function() { return Softchoice.Web.WebServices.DocumentRepository._staticInstance._path; }
Softchoice.Web.WebServices.DocumentRepository.set_timeout = function(value) { Softchoice.Web.WebServices.DocumentRepository._staticInstance._timeout = value; }
Softchoice.Web.WebServices.DocumentRepository.get_timeout = function() { return Softchoice.Web.WebServices.DocumentRepository._staticInstance._timeout; }
Softchoice.Web.WebServices.DocumentRepository.set_defaultUserContext = function(value) { Softchoice.Web.WebServices.DocumentRepository._staticInstance._userContext = value; }
Softchoice.Web.WebServices.DocumentRepository.get_defaultUserContext = function() { return Softchoice.Web.WebServices.DocumentRepository._staticInstance._userContext; }
Softchoice.Web.WebServices.DocumentRepository.set_defaultSucceededCallback = function(value) { Softchoice.Web.WebServices.DocumentRepository._staticInstance._succeeded = value; }
Softchoice.Web.WebServices.DocumentRepository.get_defaultSucceededCallback = function() { return Softchoice.Web.WebServices.DocumentRepository._staticInstance._succeeded; }
Softchoice.Web.WebServices.DocumentRepository.set_defaultFailedCallback = function(value) { Softchoice.Web.WebServices.DocumentRepository._staticInstance._failed = value; }
Softchoice.Web.WebServices.DocumentRepository.get_defaultFailedCallback = function() { return Softchoice.Web.WebServices.DocumentRepository._staticInstance._failed; }
Softchoice.Web.WebServices.DocumentRepository.set_path("/WebServices/DocumentRepository.asmx");
Softchoice.Web.WebServices.DocumentRepository.CreateFolder= function(name,folderType,onSuccess,onFailed,userContext) {Softchoice.Web.WebServices.DocumentRepository._staticInstance.CreateFolder(name,folderType,onSuccess,onFailed,userContext); }
