Type.registerNamespace('ES.DNNModules.ESNoticias');
ES.DNNModules.ESNoticias.ESNoticias=function() {
ES.DNNModules.ESNoticias.ESNoticias.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ES.DNNModules.ESNoticias.ESNoticias.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ES.DNNModules.ESNoticias.ESNoticias._staticInstance.get_path();},
LoadListNews:function(page,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadListNews',false,{page:page},succeededCallback,failedCallback,userContext); },
LoadNew:function(ItemId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadNew',false,{ItemId:ItemId},succeededCallback,failedCallback,userContext); }}
ES.DNNModules.ESNoticias.ESNoticias.registerClass('ES.DNNModules.ESNoticias.ESNoticias',Sys.Net.WebServiceProxy);
ES.DNNModules.ESNoticias.ESNoticias._staticInstance = new ES.DNNModules.ESNoticias.ESNoticias();
ES.DNNModules.ESNoticias.ESNoticias.set_path = function(value) { ES.DNNModules.ESNoticias.ESNoticias._staticInstance.set_path(value); }
ES.DNNModules.ESNoticias.ESNoticias.get_path = function() { return ES.DNNModules.ESNoticias.ESNoticias._staticInstance.get_path(); }
ES.DNNModules.ESNoticias.ESNoticias.set_timeout = function(value) { ES.DNNModules.ESNoticias.ESNoticias._staticInstance.set_timeout(value); }
ES.DNNModules.ESNoticias.ESNoticias.get_timeout = function() { return ES.DNNModules.ESNoticias.ESNoticias._staticInstance.get_timeout(); }
ES.DNNModules.ESNoticias.ESNoticias.set_defaultUserContext = function(value) { ES.DNNModules.ESNoticias.ESNoticias._staticInstance.set_defaultUserContext(value); }
ES.DNNModules.ESNoticias.ESNoticias.get_defaultUserContext = function() { return ES.DNNModules.ESNoticias.ESNoticias._staticInstance.get_defaultUserContext(); }
ES.DNNModules.ESNoticias.ESNoticias.set_defaultSucceededCallback = function(value) { ES.DNNModules.ESNoticias.ESNoticias._staticInstance.set_defaultSucceededCallback(value); }
ES.DNNModules.ESNoticias.ESNoticias.get_defaultSucceededCallback = function() { return ES.DNNModules.ESNoticias.ESNoticias._staticInstance.get_defaultSucceededCallback(); }
ES.DNNModules.ESNoticias.ESNoticias.set_defaultFailedCallback = function(value) { ES.DNNModules.ESNoticias.ESNoticias._staticInstance.set_defaultFailedCallback(value); }
ES.DNNModules.ESNoticias.ESNoticias.get_defaultFailedCallback = function() { return ES.DNNModules.ESNoticias.ESNoticias._staticInstance.get_defaultFailedCallback(); }
ES.DNNModules.ESNoticias.ESNoticias.set_path("/DesktopModules/ESNoticias/ESNoticias.asmx");
ES.DNNModules.ESNoticias.ESNoticias.LoadListNews= function(page,onSuccess,onFailed,userContext) {ES.DNNModules.ESNoticias.ESNoticias._staticInstance.LoadListNews(page,onSuccess,onFailed,userContext); }
ES.DNNModules.ESNoticias.ESNoticias.LoadNew= function(ItemId,onSuccess,onFailed,userContext) {ES.DNNModules.ESNoticias.ESNoticias._staticInstance.LoadNew(ItemId,onSuccess,onFailed,userContext); }

