Type.registerNamespace('DocumentServices');
DocumentServices.CategoryService=function() {
DocumentServices.CategoryService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
DocumentServices.CategoryService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return DocumentServices.CategoryService._staticInstance.get_path();},
GetCategoryDocuments:function(categoryId,skip,viewPath,succeededCallback, failedCallback, userContext) {
/// <param name="categoryId" type="Number">System.Int32</param>
/// <param name="skip" type="Number">System.Int32</param>
/// <param name="viewPath" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetCategoryDocuments',false,{categoryId:categoryId,skip:skip,viewPath:viewPath},succeededCallback,failedCallback,userContext); },
GetCategoryChildren:function(categoryId,categoryPath,viewPath,succeededCallback, failedCallback, userContext) {
/// <param name="categoryId" type="Number">System.Int32</param>
/// <param name="categoryPath" type="String">System.String</param>
/// <param name="viewPath" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetCategoryChildren',false,{categoryId:categoryId,categoryPath:categoryPath,viewPath:viewPath},succeededCallback,failedCallback,userContext); }}
DocumentServices.CategoryService.registerClass('DocumentServices.CategoryService',Sys.Net.WebServiceProxy);
DocumentServices.CategoryService._staticInstance = new DocumentServices.CategoryService();
DocumentServices.CategoryService.set_path = function(value) {
DocumentServices.CategoryService._staticInstance.set_path(value); }
DocumentServices.CategoryService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return DocumentServices.CategoryService._staticInstance.get_path();}
DocumentServices.CategoryService.set_timeout = function(value) {
DocumentServices.CategoryService._staticInstance.set_timeout(value); }
DocumentServices.CategoryService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return DocumentServices.CategoryService._staticInstance.get_timeout(); }
DocumentServices.CategoryService.set_defaultUserContext = function(value) { 
DocumentServices.CategoryService._staticInstance.set_defaultUserContext(value); }
DocumentServices.CategoryService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return DocumentServices.CategoryService._staticInstance.get_defaultUserContext(); }
DocumentServices.CategoryService.set_defaultSucceededCallback = function(value) { 
 DocumentServices.CategoryService._staticInstance.set_defaultSucceededCallback(value); }
DocumentServices.CategoryService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return DocumentServices.CategoryService._staticInstance.get_defaultSucceededCallback(); }
DocumentServices.CategoryService.set_defaultFailedCallback = function(value) { 
DocumentServices.CategoryService._staticInstance.set_defaultFailedCallback(value); }
DocumentServices.CategoryService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return DocumentServices.CategoryService._staticInstance.get_defaultFailedCallback(); }
DocumentServices.CategoryService.set_path("/DocumentServices/CategoryService.asmx");
DocumentServices.CategoryService.GetCategoryDocuments= function(categoryId,skip,viewPath,onSuccess,onFailed,userContext) {
/// <param name="categoryId" type="Number">System.Int32</param>
/// <param name="skip" type="Number">System.Int32</param>
/// <param name="viewPath" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
DocumentServices.CategoryService._staticInstance.GetCategoryDocuments(categoryId,skip,viewPath,onSuccess,onFailed,userContext); }
DocumentServices.CategoryService.GetCategoryChildren= function(categoryId,categoryPath,viewPath,onSuccess,onFailed,userContext) {
/// <param name="categoryId" type="Number">System.Int32</param>
/// <param name="categoryPath" type="String">System.String</param>
/// <param name="viewPath" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
DocumentServices.CategoryService._staticInstance.GetCategoryChildren(categoryId,categoryPath,viewPath,onSuccess,onFailed,userContext); }

