Type.registerNamespace('xCMSWeb');
xCMSWeb.Content=function() {
xCMSWeb.Content.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
xCMSWeb.Content.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return xCMSWeb.Content._staticInstance.get_path();},
UpdateContent:function(ID,ContentID,Content,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateContent',false,{ID:ID,ContentID:ContentID,Content:Content},succeededCallback,failedCallback,userContext); },
DeleteContent:function(ID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteContent',false,{ID:ID},succeededCallback,failedCallback,userContext); },
ListContent:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ListContent',false,{},succeededCallback,failedCallback,userContext); },
GetContent:function(id,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetContent',false,{id:id},succeededCallback,failedCallback,userContext); },
CreatePage:function(Name,Title,Description,CanView,CanEdit,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CreatePage',false,{Name:Name,Title:Title,Description:Description,CanView:CanView,CanEdit:CanEdit},succeededCallback,failedCallback,userContext); },
EditPage:function(ID,Name,Title,Description,CanView,CanEdit,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'EditPage',false,{ID:ID,Name:Name,Title:Title,Description:Description,CanView:CanView,CanEdit:CanEdit},succeededCallback,failedCallback,userContext); },
DeletePage:function(ID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeletePage',false,{ID:ID},succeededCallback,failedCallback,userContext); },
ListPages:function(CurrentID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ListPages',false,{CurrentID:CurrentID},succeededCallback,failedCallback,userContext); },
LoadItems:function(DESCRIPTOR,PositonAt,BoundItems,Filters,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadItems',false,{DESCRIPTOR:DESCRIPTOR,PositonAt:PositonAt,BoundItems:BoundItems,Filters:Filters},succeededCallback,failedCallback,userContext); },
DeleteItem:function(DESCRIPTOR,ID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteItem',false,{DESCRIPTOR:DESCRIPTOR,ID:ID},succeededCallback,failedCallback,userContext); },
EditItem:function(DESCRIPTOR,ID,PARMS,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'EditItem',false,{DESCRIPTOR:DESCRIPTOR,ID:ID,PARMS:PARMS},succeededCallback,failedCallback,userContext); },
AddItem:function(DESCRIPTOR,PARMS,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddItem',false,{DESCRIPTOR:DESCRIPTOR,PARMS:PARMS},succeededCallback,failedCallback,userContext); },
ImportVendorProducts:function(Vendor,DataPath,XSLTPath,CategoryDataPath,CategoryXSLTPaht,DeleteOld,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ImportVendorProducts',false,{Vendor:Vendor,DataPath:DataPath,XSLTPath:XSLTPath,CategoryDataPath:CategoryDataPath,CategoryXSLTPaht:CategoryXSLTPaht,DeleteOld:DeleteOld},succeededCallback,failedCallback,userContext); }}
xCMSWeb.Content.registerClass('xCMSWeb.Content',Sys.Net.WebServiceProxy);
xCMSWeb.Content._staticInstance = new xCMSWeb.Content();
xCMSWeb.Content.set_path = function(value) { xCMSWeb.Content._staticInstance.set_path(value); }
xCMSWeb.Content.get_path = function() { return xCMSWeb.Content._staticInstance.get_path(); }
xCMSWeb.Content.set_timeout = function(value) { xCMSWeb.Content._staticInstance.set_timeout(value); }
xCMSWeb.Content.get_timeout = function() { return xCMSWeb.Content._staticInstance.get_timeout(); }
xCMSWeb.Content.set_defaultUserContext = function(value) { xCMSWeb.Content._staticInstance.set_defaultUserContext(value); }
xCMSWeb.Content.get_defaultUserContext = function() { return xCMSWeb.Content._staticInstance.get_defaultUserContext(); }
xCMSWeb.Content.set_defaultSucceededCallback = function(value) { xCMSWeb.Content._staticInstance.set_defaultSucceededCallback(value); }
xCMSWeb.Content.get_defaultSucceededCallback = function() { return xCMSWeb.Content._staticInstance.get_defaultSucceededCallback(); }
xCMSWeb.Content.set_defaultFailedCallback = function(value) { xCMSWeb.Content._staticInstance.set_defaultFailedCallback(value); }
xCMSWeb.Content.get_defaultFailedCallback = function() { return xCMSWeb.Content._staticInstance.get_defaultFailedCallback(); }
xCMSWeb.Content.set_path("/Content.asmx");
xCMSWeb.Content.UpdateContent= function(ID,ContentID,Content,onSuccess,onFailed,userContext) {xCMSWeb.Content._staticInstance.UpdateContent(ID,ContentID,Content,onSuccess,onFailed,userContext); }
xCMSWeb.Content.DeleteContent= function(ID,onSuccess,onFailed,userContext) {xCMSWeb.Content._staticInstance.DeleteContent(ID,onSuccess,onFailed,userContext); }
xCMSWeb.Content.ListContent= function(onSuccess,onFailed,userContext) {xCMSWeb.Content._staticInstance.ListContent(onSuccess,onFailed,userContext); }
xCMSWeb.Content.GetContent= function(id,onSuccess,onFailed,userContext) {xCMSWeb.Content._staticInstance.GetContent(id,onSuccess,onFailed,userContext); }
xCMSWeb.Content.CreatePage= function(Name,Title,Description,CanView,CanEdit,onSuccess,onFailed,userContext) {xCMSWeb.Content._staticInstance.CreatePage(Name,Title,Description,CanView,CanEdit,onSuccess,onFailed,userContext); }
xCMSWeb.Content.EditPage= function(ID,Name,Title,Description,CanView,CanEdit,onSuccess,onFailed,userContext) {xCMSWeb.Content._staticInstance.EditPage(ID,Name,Title,Description,CanView,CanEdit,onSuccess,onFailed,userContext); }
xCMSWeb.Content.DeletePage= function(ID,onSuccess,onFailed,userContext) {xCMSWeb.Content._staticInstance.DeletePage(ID,onSuccess,onFailed,userContext); }
xCMSWeb.Content.ListPages= function(CurrentID,onSuccess,onFailed,userContext) {xCMSWeb.Content._staticInstance.ListPages(CurrentID,onSuccess,onFailed,userContext); }
xCMSWeb.Content.LoadItems= function(DESCRIPTOR,PositonAt,BoundItems,Filters,onSuccess,onFailed,userContext) {xCMSWeb.Content._staticInstance.LoadItems(DESCRIPTOR,PositonAt,BoundItems,Filters,onSuccess,onFailed,userContext); }
xCMSWeb.Content.DeleteItem= function(DESCRIPTOR,ID,onSuccess,onFailed,userContext) {xCMSWeb.Content._staticInstance.DeleteItem(DESCRIPTOR,ID,onSuccess,onFailed,userContext); }
xCMSWeb.Content.EditItem= function(DESCRIPTOR,ID,PARMS,onSuccess,onFailed,userContext) {xCMSWeb.Content._staticInstance.EditItem(DESCRIPTOR,ID,PARMS,onSuccess,onFailed,userContext); }
xCMSWeb.Content.AddItem= function(DESCRIPTOR,PARMS,onSuccess,onFailed,userContext) {xCMSWeb.Content._staticInstance.AddItem(DESCRIPTOR,PARMS,onSuccess,onFailed,userContext); }
xCMSWeb.Content.ImportVendorProducts= function(Vendor,DataPath,XSLTPath,CategoryDataPath,CategoryXSLTPaht,DeleteOld,onSuccess,onFailed,userContext) {xCMSWeb.Content._staticInstance.ImportVendorProducts(Vendor,DataPath,XSLTPath,CategoryDataPath,CategoryXSLTPaht,DeleteOld,onSuccess,onFailed,userContext); }

