Type.registerNamespace('Terradon.ContentManagement');
Terradon.ContentManagement.PageContentUpdateService=function() {
Terradon.ContentManagement.PageContentUpdateService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Terradon.ContentManagement.PageContentUpdateService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Terradon.ContentManagement.PageContentUpdateService._staticInstance.get_path();},
UpdateContentPosition:function(controlID,succeededCallback, failedCallback, userContext) {
/// <param name="controlID" 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(), 'UpdateContentPosition',false,{controlID:controlID},succeededCallback,failedCallback,userContext); }}
Terradon.ContentManagement.PageContentUpdateService.registerClass('Terradon.ContentManagement.PageContentUpdateService',Sys.Net.WebServiceProxy);
Terradon.ContentManagement.PageContentUpdateService._staticInstance = new Terradon.ContentManagement.PageContentUpdateService();
Terradon.ContentManagement.PageContentUpdateService.set_path = function(value) {
Terradon.ContentManagement.PageContentUpdateService._staticInstance.set_path(value); }
Terradon.ContentManagement.PageContentUpdateService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Terradon.ContentManagement.PageContentUpdateService._staticInstance.get_path();}
Terradon.ContentManagement.PageContentUpdateService.set_timeout = function(value) {
Terradon.ContentManagement.PageContentUpdateService._staticInstance.set_timeout(value); }
Terradon.ContentManagement.PageContentUpdateService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Terradon.ContentManagement.PageContentUpdateService._staticInstance.get_timeout(); }
Terradon.ContentManagement.PageContentUpdateService.set_defaultUserContext = function(value) { 
Terradon.ContentManagement.PageContentUpdateService._staticInstance.set_defaultUserContext(value); }
Terradon.ContentManagement.PageContentUpdateService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Terradon.ContentManagement.PageContentUpdateService._staticInstance.get_defaultUserContext(); }
Terradon.ContentManagement.PageContentUpdateService.set_defaultSucceededCallback = function(value) { 
 Terradon.ContentManagement.PageContentUpdateService._staticInstance.set_defaultSucceededCallback(value); }
Terradon.ContentManagement.PageContentUpdateService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Terradon.ContentManagement.PageContentUpdateService._staticInstance.get_defaultSucceededCallback(); }
Terradon.ContentManagement.PageContentUpdateService.set_defaultFailedCallback = function(value) { 
Terradon.ContentManagement.PageContentUpdateService._staticInstance.set_defaultFailedCallback(value); }
Terradon.ContentManagement.PageContentUpdateService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Terradon.ContentManagement.PageContentUpdateService._staticInstance.get_defaultFailedCallback(); }
Terradon.ContentManagement.PageContentUpdateService.set_path("/PageContentUpdateService.asmx");
Terradon.ContentManagement.PageContentUpdateService.UpdateContentPosition= function(controlID,onSuccess,onFailed,userContext) {
/// <param name="controlID" 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>
Terradon.ContentManagement.PageContentUpdateService._staticInstance.UpdateContentPosition(controlID,onSuccess,onFailed,userContext); }
