Type.registerNamespace('AX.HtmlEditor');
AX.HtmlEditor.WebService=function() {
AX.HtmlEditor.WebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AX.HtmlEditor.WebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return AX.HtmlEditor.WebService._staticInstance.get_path();},
RedrawHtml:function(PageID,succeededCallback, failedCallback, userContext) {
/// <param name="PageID" 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(), 'RedrawHtml',false,{PageID:PageID},succeededCallback,failedCallback,userContext); },
SaveHtml:function(PageID,Content,succeededCallback, failedCallback, userContext) {
/// <param name="PageID" type="String">System.String</param>
/// <param name="Content" 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(), 'SaveHtml',false,{PageID:PageID,Content:Content},succeededCallback,failedCallback,userContext); },
RestoreHtmlFromBackUp:function(PageID,succeededCallback, failedCallback, userContext) {
/// <param name="PageID" 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(), 'RestoreHtmlFromBackUp',false,{PageID:PageID},succeededCallback,failedCallback,userContext); },
GetHtmlText:function(PageID,succeededCallback, failedCallback, userContext) {
/// <param name="PageID" 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(), 'GetHtmlText',false,{PageID:PageID},succeededCallback,failedCallback,userContext); },
OpenFolder:function(FolderPath,succeededCallback, failedCallback, userContext) {
/// <param name="FolderPath" 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(), 'OpenFolder',false,{FolderPath:FolderPath},succeededCallback,failedCallback,userContext); },
CreateNewFolder:function(FolderPath,Name,succeededCallback, failedCallback, userContext) {
/// <param name="FolderPath" type="String">System.String</param>
/// <param name="Name" 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(), 'CreateNewFolder',false,{FolderPath:FolderPath,Name:Name},succeededCallback,failedCallback,userContext); },
DeleteFolder:function(FolderPath,Name,succeededCallback, failedCallback, userContext) {
/// <param name="FolderPath" type="String">System.String</param>
/// <param name="Name" 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(), 'DeleteFolder',false,{FolderPath:FolderPath,Name:Name},succeededCallback,failedCallback,userContext); },
DeleteFile:function(FilePath,succeededCallback, failedCallback, userContext) {
/// <param name="FilePath" 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(), 'DeleteFile',false,{FilePath:FilePath},succeededCallback,failedCallback,userContext); }}
AX.HtmlEditor.WebService.registerClass('AX.HtmlEditor.WebService',Sys.Net.WebServiceProxy);
AX.HtmlEditor.WebService._staticInstance = new AX.HtmlEditor.WebService();
AX.HtmlEditor.WebService.set_path = function(value) {
AX.HtmlEditor.WebService._staticInstance.set_path(value); }
AX.HtmlEditor.WebService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return AX.HtmlEditor.WebService._staticInstance.get_path();}
AX.HtmlEditor.WebService.set_timeout = function(value) {
AX.HtmlEditor.WebService._staticInstance.set_timeout(value); }
AX.HtmlEditor.WebService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return AX.HtmlEditor.WebService._staticInstance.get_timeout(); }
AX.HtmlEditor.WebService.set_defaultUserContext = function(value) { 
AX.HtmlEditor.WebService._staticInstance.set_defaultUserContext(value); }
AX.HtmlEditor.WebService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return AX.HtmlEditor.WebService._staticInstance.get_defaultUserContext(); }
AX.HtmlEditor.WebService.set_defaultSucceededCallback = function(value) { 
 AX.HtmlEditor.WebService._staticInstance.set_defaultSucceededCallback(value); }
AX.HtmlEditor.WebService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return AX.HtmlEditor.WebService._staticInstance.get_defaultSucceededCallback(); }
AX.HtmlEditor.WebService.set_defaultFailedCallback = function(value) { 
AX.HtmlEditor.WebService._staticInstance.set_defaultFailedCallback(value); }
AX.HtmlEditor.WebService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return AX.HtmlEditor.WebService._staticInstance.get_defaultFailedCallback(); }
AX.HtmlEditor.WebService.set_path("/ASP.NET/Components/AX_Controls/Editor/WebService.asmx");
AX.HtmlEditor.WebService.RedrawHtml= function(PageID,onSuccess,onFailed,userContext) {
/// <param name="PageID" 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>
AX.HtmlEditor.WebService._staticInstance.RedrawHtml(PageID,onSuccess,onFailed,userContext); }
AX.HtmlEditor.WebService.SaveHtml= function(PageID,Content,onSuccess,onFailed,userContext) {
/// <param name="PageID" type="String">System.String</param>
/// <param name="Content" 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>
AX.HtmlEditor.WebService._staticInstance.SaveHtml(PageID,Content,onSuccess,onFailed,userContext); }
AX.HtmlEditor.WebService.RestoreHtmlFromBackUp= function(PageID,onSuccess,onFailed,userContext) {
/// <param name="PageID" 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>
AX.HtmlEditor.WebService._staticInstance.RestoreHtmlFromBackUp(PageID,onSuccess,onFailed,userContext); }
AX.HtmlEditor.WebService.GetHtmlText= function(PageID,onSuccess,onFailed,userContext) {
/// <param name="PageID" 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>
AX.HtmlEditor.WebService._staticInstance.GetHtmlText(PageID,onSuccess,onFailed,userContext); }
AX.HtmlEditor.WebService.OpenFolder= function(FolderPath,onSuccess,onFailed,userContext) {
/// <param name="FolderPath" 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>
AX.HtmlEditor.WebService._staticInstance.OpenFolder(FolderPath,onSuccess,onFailed,userContext); }
AX.HtmlEditor.WebService.CreateNewFolder= function(FolderPath,Name,onSuccess,onFailed,userContext) {
/// <param name="FolderPath" type="String">System.String</param>
/// <param name="Name" 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>
AX.HtmlEditor.WebService._staticInstance.CreateNewFolder(FolderPath,Name,onSuccess,onFailed,userContext); }
AX.HtmlEditor.WebService.DeleteFolder= function(FolderPath,Name,onSuccess,onFailed,userContext) {
/// <param name="FolderPath" type="String">System.String</param>
/// <param name="Name" 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>
AX.HtmlEditor.WebService._staticInstance.DeleteFolder(FolderPath,Name,onSuccess,onFailed,userContext); }
AX.HtmlEditor.WebService.DeleteFile= function(FilePath,onSuccess,onFailed,userContext) {
/// <param name="FilePath" 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>
AX.HtmlEditor.WebService._staticInstance.DeleteFile(FilePath,onSuccess,onFailed,userContext); }

