Type.registerNamespace('CommunityServerWeb.QuoteMedia.Widgets');
CommunityServerWeb.QuoteMedia.Widgets.WidgetService=function() {
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.get_path();},
getIndiceChart:function(symbol,region,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getIndiceChart',false,{symbol:symbol,region:region},succeededCallback,failedCallback,userContext); },
SendFeedback:function(title,body,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendFeedback',false,{title:title,body:body},succeededCallback,failedCallback,userContext); },
GetMarketMoverOverview:function(stat,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMarketMoverOverview',false,{stat:stat},succeededCallback,failedCallback,userContext); },
GetAllMarketMover:function(stat,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAllMarketMover',false,{stat:stat},succeededCallback,failedCallback,userContext); },
GetMarketMover:function(statExchange,stat,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMarketMover',false,{statExchange:statExchange,stat:stat},succeededCallback,failedCallback,userContext); },
GetReferenceQuotes:function(symbolString,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetReferenceQuotes',false,{symbolString:symbolString},succeededCallback,failedCallback,userContext); },
HasReferenceQuotes:function(symbolString,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'HasReferenceQuotes',false,{symbolString:symbolString},succeededCallback,failedCallback,userContext); },
GetZeccoShareHoldings:function(pageIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetZeccoShareHoldings',false,{pageIndex:pageIndex},succeededCallback,failedCallback,userContext); },
GetZeccoShareTradingActivity:function(pageIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetZeccoShareTradingActivity',false,{pageIndex:pageIndex},succeededCallback,failedCallback,userContext); },
GetNewsItem:function(topic,src,topicCount,pageIndex,pageBlockType,seperatorString,itemBlockCountString,summaryLength,showNewsDetailFunction,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetNewsItem',false,{topic:topic,src:src,topicCount:topicCount,pageIndex:pageIndex,pageBlockType:pageBlockType,seperatorString:seperatorString,itemBlockCountString:itemBlockCountString,summaryLength:summaryLength,showNewsDetailFunction:showNewsDetailFunction},succeededCallback,failedCallback,userContext); },
GetNewsItemWithFullParam:function(topic,src,topicCount,pageIndex,pageBlockType,seperatorString,itemBlockCountString,summaryLength,headlineSummaryLength,showUnderLine,showRead,showNewsDetailFunction,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetNewsItemWithFullParam',false,{topic:topic,src:src,topicCount:topicCount,pageIndex:pageIndex,pageBlockType:pageBlockType,seperatorString:seperatorString,itemBlockCountString:itemBlockCountString,summaryLength:summaryLength,headlineSummaryLength:headlineSummaryLength,showUnderLine:showUnderLine,showRead:showRead,showNewsDetailFunction:showNewsDetailFunction},succeededCallback,failedCallback,userContext); },
GetSPNewsItem:function(topicCount,pageIndex,seperatorString,itemBlockCountString,summaryLength,showNewsDetailFunction,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSPNewsItem',false,{topicCount:topicCount,pageIndex:pageIndex,seperatorString:seperatorString,itemBlockCountString:itemBlockCountString,summaryLength:summaryLength,showNewsDetailFunction:showNewsDetailFunction},succeededCallback,failedCallback,userContext); },
GetHedgedStrategy:function(symbol,topicCount,pageIndex,seperatorString,fromDateString,toDdateString,itemBlockCountString,summaryLength,showNewsDetailFunction,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetHedgedStrategy',false,{symbol:symbol,topicCount:topicCount,pageIndex:pageIndex,seperatorString:seperatorString,fromDateString:fromDateString,toDdateString:toDdateString,itemBlockCountString:itemBlockCountString,summaryLength:summaryLength,showNewsDetailFunction:showNewsDetailFunction},succeededCallback,failedCallback,userContext); },
IsDate:function(dateString1,dateString2,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'IsDate',false,{dateString1:dateString1,dateString2:dateString2},succeededCallback,failedCallback,userContext); },
DateValidateForHedgedStrategy:function(fromDateString,toDdateString,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DateValidateForHedgedStrategy',false,{fromDateString:fromDateString,toDdateString:toDdateString},succeededCallback,failedCallback,userContext); },
GetSymbolSearchData:function(pageIndex,preSymbol,perPageNum,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSymbolSearchData',false,{pageIndex:pageIndex,preSymbol:preSymbol,perPageNum:perPageNum},succeededCallback,failedCallback,userContext); },
GetQuotesData:function(aSymbols,aSerializeLevels,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetQuotesData',false,{aSymbols:aSymbols,aSerializeLevels:aSerializeLevels},succeededCallback,failedCallback,userContext); },
SaveQuotesWatchList:function(watchList,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveQuotesWatchList',false,{watchList:watchList},succeededCallback,failedCallback,userContext); },
GetNewsDetail:function(storyId,seperatorString,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetNewsDetail',false,{storyId:storyId,seperatorString:seperatorString},succeededCallback,failedCallback,userContext); },
GetNewsDetailFromResearchNotes:function(storyId,seperatorString,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetNewsDetailFromResearchNotes',false,{storyId:storyId,seperatorString:seperatorString},succeededCallback,failedCallback,userContext); },
GetNewsDetailFromStrategyAlerts:function(storyId,seperatorString,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetNewsDetailFromStrategyAlerts',false,{storyId:storyId,seperatorString:seperatorString},succeededCallback,failedCallback,userContext); }}
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.registerClass('CommunityServerWeb.QuoteMedia.Widgets.WidgetService',Sys.Net.WebServiceProxy);
CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance = new CommunityServerWeb.QuoteMedia.Widgets.WidgetService();
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.set_path = function(value) { CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.set_path(value); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.get_path = function() { return CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.get_path(); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.set_timeout = function(value) { CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.set_timeout(value); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.get_timeout = function() { return CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.get_timeout(); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.set_defaultUserContext = function(value) { CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.set_defaultUserContext(value); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.get_defaultUserContext = function() { return CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.get_defaultUserContext(); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.set_defaultSucceededCallback = function(value) { CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.set_defaultSucceededCallback(value); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.get_defaultSucceededCallback = function() { return CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.get_defaultSucceededCallback(); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.set_defaultFailedCallback = function(value) { CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.set_defaultFailedCallback(value); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.get_defaultFailedCallback = function() { return CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.get_defaultFailedCallback(); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.set_path("/QuoteMedia/Widgets/WidgetService.asmx");
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.getIndiceChart= function(symbol,region,onSuccess,onFailed,userContext) {CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.getIndiceChart(symbol,region,onSuccess,onFailed,userContext); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.SendFeedback= function(title,body,onSuccess,onFailed,userContext) {CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.SendFeedback(title,body,onSuccess,onFailed,userContext); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.GetMarketMoverOverview= function(stat,onSuccess,onFailed,userContext) {CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.GetMarketMoverOverview(stat,onSuccess,onFailed,userContext); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.GetAllMarketMover= function(stat,onSuccess,onFailed,userContext) {CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.GetAllMarketMover(stat,onSuccess,onFailed,userContext); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.GetMarketMover= function(statExchange,stat,onSuccess,onFailed,userContext) {CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.GetMarketMover(statExchange,stat,onSuccess,onFailed,userContext); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.GetReferenceQuotes= function(symbolString,onSuccess,onFailed,userContext) {CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.GetReferenceQuotes(symbolString,onSuccess,onFailed,userContext); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.HasReferenceQuotes= function(symbolString,onSuccess,onFailed,userContext) {CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.HasReferenceQuotes(symbolString,onSuccess,onFailed,userContext); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.GetZeccoShareHoldings= function(pageIndex,onSuccess,onFailed,userContext) {CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.GetZeccoShareHoldings(pageIndex,onSuccess,onFailed,userContext); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.GetZeccoShareTradingActivity= function(pageIndex,onSuccess,onFailed,userContext) {CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.GetZeccoShareTradingActivity(pageIndex,onSuccess,onFailed,userContext); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.GetNewsItem= function(topic,src,topicCount,pageIndex,pageBlockType,seperatorString,itemBlockCountString,summaryLength,showNewsDetailFunction,onSuccess,onFailed,userContext) {CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.GetNewsItem(topic,src,topicCount,pageIndex,pageBlockType,seperatorString,itemBlockCountString,summaryLength,showNewsDetailFunction,onSuccess,onFailed,userContext); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.GetNewsItemWithFullParam= function(topic,src,topicCount,pageIndex,pageBlockType,seperatorString,itemBlockCountString,summaryLength,headlineSummaryLength,showUnderLine,showRead,showNewsDetailFunction,onSuccess,onFailed,userContext) {CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.GetNewsItemWithFullParam(topic,src,topicCount,pageIndex,pageBlockType,seperatorString,itemBlockCountString,summaryLength,headlineSummaryLength,showUnderLine,showRead,showNewsDetailFunction,onSuccess,onFailed,userContext); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.GetSPNewsItem= function(topicCount,pageIndex,seperatorString,itemBlockCountString,summaryLength,showNewsDetailFunction,onSuccess,onFailed,userContext) {CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.GetSPNewsItem(topicCount,pageIndex,seperatorString,itemBlockCountString,summaryLength,showNewsDetailFunction,onSuccess,onFailed,userContext); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.GetHedgedStrategy= function(symbol,topicCount,pageIndex,seperatorString,fromDateString,toDdateString,itemBlockCountString,summaryLength,showNewsDetailFunction,onSuccess,onFailed,userContext) {CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.GetHedgedStrategy(symbol,topicCount,pageIndex,seperatorString,fromDateString,toDdateString,itemBlockCountString,summaryLength,showNewsDetailFunction,onSuccess,onFailed,userContext); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.IsDate= function(dateString1,dateString2,onSuccess,onFailed,userContext) {CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.IsDate(dateString1,dateString2,onSuccess,onFailed,userContext); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.DateValidateForHedgedStrategy= function(fromDateString,toDdateString,onSuccess,onFailed,userContext) {CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.DateValidateForHedgedStrategy(fromDateString,toDdateString,onSuccess,onFailed,userContext); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.GetSymbolSearchData= function(pageIndex,preSymbol,perPageNum,onSuccess,onFailed,userContext) {CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.GetSymbolSearchData(pageIndex,preSymbol,perPageNum,onSuccess,onFailed,userContext); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.GetQuotesData= function(aSymbols,aSerializeLevels,onSuccess,onFailed,userContext) {CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.GetQuotesData(aSymbols,aSerializeLevels,onSuccess,onFailed,userContext); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.SaveQuotesWatchList= function(watchList,onSuccess,onFailed,userContext) {CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.SaveQuotesWatchList(watchList,onSuccess,onFailed,userContext); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.GetNewsDetail= function(storyId,seperatorString,onSuccess,onFailed,userContext) {CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.GetNewsDetail(storyId,seperatorString,onSuccess,onFailed,userContext); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.GetNewsDetailFromResearchNotes= function(storyId,seperatorString,onSuccess,onFailed,userContext) {CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.GetNewsDetailFromResearchNotes(storyId,seperatorString,onSuccess,onFailed,userContext); }
CommunityServerWeb.QuoteMedia.Widgets.WidgetService.GetNewsDetailFromStrategyAlerts= function(storyId,seperatorString,onSuccess,onFailed,userContext) {CommunityServerWeb.QuoteMedia.Widgets.WidgetService._staticInstance.GetNewsDetailFromStrategyAlerts(storyId,seperatorString,onSuccess,onFailed,userContext); }
