Type.registerNamespace('Graphico.STPv2.WebServices');
Graphico.STPv2.WebServices.Content=function() {
Graphico.STPv2.WebServices.Content.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Graphico.STPv2.WebServices.Content.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Graphico.STPv2.WebServices.Content._staticInstance.get_path();},
GetLiveNews:function(newsTypeId,pageIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLiveNews',false,{newsTypeId:newsTypeId,pageIndex:pageIndex},succeededCallback,failedCallback,userContext); },
GetArchivedNews:function(newsTypeId,pageIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetArchivedNews',false,{newsTypeId:newsTypeId,pageIndex:pageIndex},succeededCallback,failedCallback,userContext); }}
Graphico.STPv2.WebServices.Content.registerClass('Graphico.STPv2.WebServices.Content',Sys.Net.WebServiceProxy);
Graphico.STPv2.WebServices.Content._staticInstance = new Graphico.STPv2.WebServices.Content();
Graphico.STPv2.WebServices.Content.set_path = function(value) { Graphico.STPv2.WebServices.Content._staticInstance.set_path(value); }
Graphico.STPv2.WebServices.Content.get_path = function() { return Graphico.STPv2.WebServices.Content._staticInstance.get_path(); }
Graphico.STPv2.WebServices.Content.set_timeout = function(value) { Graphico.STPv2.WebServices.Content._staticInstance.set_timeout(value); }
Graphico.STPv2.WebServices.Content.get_timeout = function() { return Graphico.STPv2.WebServices.Content._staticInstance.get_timeout(); }
Graphico.STPv2.WebServices.Content.set_defaultUserContext = function(value) { Graphico.STPv2.WebServices.Content._staticInstance.set_defaultUserContext(value); }
Graphico.STPv2.WebServices.Content.get_defaultUserContext = function() { return Graphico.STPv2.WebServices.Content._staticInstance.get_defaultUserContext(); }
Graphico.STPv2.WebServices.Content.set_defaultSucceededCallback = function(value) { Graphico.STPv2.WebServices.Content._staticInstance.set_defaultSucceededCallback(value); }
Graphico.STPv2.WebServices.Content.get_defaultSucceededCallback = function() { return Graphico.STPv2.WebServices.Content._staticInstance.get_defaultSucceededCallback(); }
Graphico.STPv2.WebServices.Content.set_defaultFailedCallback = function(value) { Graphico.STPv2.WebServices.Content._staticInstance.set_defaultFailedCallback(value); }
Graphico.STPv2.WebServices.Content.get_defaultFailedCallback = function() { return Graphico.STPv2.WebServices.Content._staticInstance.get_defaultFailedCallback(); }
Graphico.STPv2.WebServices.Content.set_path("/_WebServices/Content.asmx");
Graphico.STPv2.WebServices.Content.GetLiveNews= function(newsTypeId,pageIndex,onSuccess,onFailed,userContext) {Graphico.STPv2.WebServices.Content._staticInstance.GetLiveNews(newsTypeId,pageIndex,onSuccess,onFailed,userContext); }
Graphico.STPv2.WebServices.Content.GetArchivedNews= function(newsTypeId,pageIndex,onSuccess,onFailed,userContext) {Graphico.STPv2.WebServices.Content._staticInstance.GetArchivedNews(newsTypeId,pageIndex,onSuccess,onFailed,userContext); }
