var adminServices=function() {
adminServices.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
adminServices.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return adminServices._staticInstance.get_path();},
getBlocksList:function(IDNode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getBlocksList',false,{IDNode:IDNode},succeededCallback,failedCallback,userContext); },
editBlock:function(IDBlock,IDNode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'editBlock',false,{IDBlock:IDBlock,IDNode:IDNode},succeededCallback,failedCallback,userContext); },
deleteBlock:function(IDBlock,IDNode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'deleteBlock',false,{IDBlock:IDBlock,IDNode:IDNode},succeededCallback,failedCallback,userContext); },
saveBlock:function(IDBlock,IDNode,title,body,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'saveBlock',false,{IDBlock:IDBlock,IDNode:IDNode,title:title,body:body},succeededCallback,failedCallback,userContext); },
getNodesDDL:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getNodesDDL',false,{},succeededCallback,failedCallback,userContext); },
createNewBlock:function(blockName,blockContent,targetNode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'createNewBlock',false,{blockName:blockName,blockContent:blockContent,targetNode:targetNode},succeededCallback,failedCallback,userContext); },
getBlockOrderList:function(IDNode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getBlockOrderList',false,{IDNode:IDNode},succeededCallback,failedCallback,userContext); },
saveBlockOrder:function(IDNode,orderString,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'saveBlockOrder',false,{IDNode:IDNode,orderString:orderString},succeededCallback,failedCallback,userContext); },
moveBlock:function(IDBlock,IDNodeOld,IDNodeNew,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'moveBlock',false,{IDBlock:IDBlock,IDNodeOld:IDNodeOld,IDNodeNew:IDNodeNew},succeededCallback,failedCallback,userContext); }}
adminServices.registerClass('adminServices',Sys.Net.WebServiceProxy);
adminServices._staticInstance = new adminServices();
adminServices.set_path = function(value) { adminServices._staticInstance.set_path(value); }
adminServices.get_path = function() { return adminServices._staticInstance.get_path(); }
adminServices.set_timeout = function(value) { adminServices._staticInstance.set_timeout(value); }
adminServices.get_timeout = function() { return adminServices._staticInstance.get_timeout(); }
adminServices.set_defaultUserContext = function(value) { adminServices._staticInstance.set_defaultUserContext(value); }
adminServices.get_defaultUserContext = function() { return adminServices._staticInstance.get_defaultUserContext(); }
adminServices.set_defaultSucceededCallback = function(value) { adminServices._staticInstance.set_defaultSucceededCallback(value); }
adminServices.get_defaultSucceededCallback = function() { return adminServices._staticInstance.get_defaultSucceededCallback(); }
adminServices.set_defaultFailedCallback = function(value) { adminServices._staticInstance.set_defaultFailedCallback(value); }
adminServices.get_defaultFailedCallback = function() { return adminServices._staticInstance.get_defaultFailedCallback(); }
adminServices.set_path("/adminServices.asmx");
adminServices.getBlocksList= function(IDNode,onSuccess,onFailed,userContext) {adminServices._staticInstance.getBlocksList(IDNode,onSuccess,onFailed,userContext); }
adminServices.editBlock= function(IDBlock,IDNode,onSuccess,onFailed,userContext) {adminServices._staticInstance.editBlock(IDBlock,IDNode,onSuccess,onFailed,userContext); }
adminServices.deleteBlock= function(IDBlock,IDNode,onSuccess,onFailed,userContext) {adminServices._staticInstance.deleteBlock(IDBlock,IDNode,onSuccess,onFailed,userContext); }
adminServices.saveBlock= function(IDBlock,IDNode,title,body,onSuccess,onFailed,userContext) {adminServices._staticInstance.saveBlock(IDBlock,IDNode,title,body,onSuccess,onFailed,userContext); }
adminServices.getNodesDDL= function(onSuccess,onFailed,userContext) {adminServices._staticInstance.getNodesDDL(onSuccess,onFailed,userContext); }
adminServices.createNewBlock= function(blockName,blockContent,targetNode,onSuccess,onFailed,userContext) {adminServices._staticInstance.createNewBlock(blockName,blockContent,targetNode,onSuccess,onFailed,userContext); }
adminServices.getBlockOrderList= function(IDNode,onSuccess,onFailed,userContext) {adminServices._staticInstance.getBlockOrderList(IDNode,onSuccess,onFailed,userContext); }
adminServices.saveBlockOrder= function(IDNode,orderString,onSuccess,onFailed,userContext) {adminServices._staticInstance.saveBlockOrder(IDNode,orderString,onSuccess,onFailed,userContext); }
adminServices.moveBlock= function(IDBlock,IDNodeOld,IDNodeNew,onSuccess,onFailed,userContext) {adminServices._staticInstance.moveBlock(IDBlock,IDNodeOld,IDNodeNew,onSuccess,onFailed,userContext); }
