Type.registerNamespace('YouMeNow.WebSite.WebServices');
YouMeNow.WebSite.WebServices.CommunityWebService=function() {
YouMeNow.WebSite.WebServices.CommunityWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
YouMeNow.WebSite.WebServices.CommunityWebService.prototype={
AddProfileStringComment:function(ProfileUserId,CommentText,succeededCallback, failedCallback, userContext) {
return this._invoke(YouMeNow.WebSite.WebServices.CommunityWebService.get_path(), 'AddProfileStringComment',false,{ProfileUserId:ProfileUserId,CommentText:CommentText},succeededCallback,failedCallback,userContext); },
AddContainerStringComment:function(TargetContainerId,CommentText,succeededCallback, failedCallback, userContext) {
return this._invoke(YouMeNow.WebSite.WebServices.CommunityWebService.get_path(), 'AddContainerStringComment',false,{TargetContainerId:TargetContainerId,CommentText:CommentText},succeededCallback,failedCallback,userContext); },
AddDisplayItemStringComment:function(TargetDisplayItemId,CommentText,succeededCallback, failedCallback, userContext) {
return this._invoke(YouMeNow.WebSite.WebServices.CommunityWebService.get_path(), 'AddDisplayItemStringComment',false,{TargetDisplayItemId:TargetDisplayItemId,CommentText:CommentText},succeededCallback,failedCallback,userContext); },
SubmitRating:function(DisplayItemId,Rating,succeededCallback, failedCallback, userContext) {
return this._invoke(YouMeNow.WebSite.WebServices.CommunityWebService.get_path(), 'SubmitRating',false,{DisplayItemId:DisplayItemId,Rating:Rating},succeededCallback,failedCallback,userContext); },
DeleteDisplayItem:function(DisplayItemId,ContainerId,succeededCallback, failedCallback, userContext) {
return this._invoke(YouMeNow.WebSite.WebServices.CommunityWebService.get_path(), 'DeleteDisplayItem',false,{DisplayItemId:DisplayItemId,ContainerId:ContainerId},succeededCallback,failedCallback,userContext); },
RemoveUserFriend:function(RemoveFriendId,succeededCallback, failedCallback, userContext) {
return this._invoke(YouMeNow.WebSite.WebServices.CommunityWebService.get_path(), 'RemoveUserFriend',false,{RemoveFriendId:RemoveFriendId},succeededCallback,failedCallback,userContext); },
GetCategoryDropDownValues:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(YouMeNow.WebSite.WebServices.CommunityWebService.get_path(), 'GetCategoryDropDownValues',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetContainerComments:function(TargetContainerId,PageSize,Page,RefreshCache,CacheResult,succeededCallback, failedCallback, userContext) {
return this._invoke(YouMeNow.WebSite.WebServices.CommunityWebService.get_path(), 'GetContainerComments',false,{TargetContainerId:TargetContainerId,PageSize:PageSize,Page:Page,RefreshCache:RefreshCache,CacheResult:CacheResult},succeededCallback,failedCallback,userContext); },
GetContainerCommentsRSS:function(TargetContainerId,PageSize,Page,FeedTitle,FeedDescription,succeededCallback, failedCallback, userContext) {
return this._invoke(YouMeNow.WebSite.WebServices.CommunityWebService.get_path(), 'GetContainerCommentsRSS',false,{TargetContainerId:TargetContainerId,PageSize:PageSize,Page:Page,FeedTitle:FeedTitle,FeedDescription:FeedDescription},succeededCallback,failedCallback,userContext); },
GetDisplayItemComments:function(TargetItemId,PageSize,Page,RefreshCache,succeededCallback, failedCallback, userContext) {
return this._invoke(YouMeNow.WebSite.WebServices.CommunityWebService.get_path(), 'GetDisplayItemComments',false,{TargetItemId:TargetItemId,PageSize:PageSize,Page:Page,RefreshCache:RefreshCache},succeededCallback,failedCallback,userContext); },
GetDisplayItemRatings:function(TargetItemId,PageSize,Page,RefreshCache,succeededCallback, failedCallback, userContext) {
return this._invoke(YouMeNow.WebSite.WebServices.CommunityWebService.get_path(), 'GetDisplayItemRatings',false,{TargetItemId:TargetItemId,PageSize:PageSize,Page:Page,RefreshCache:RefreshCache},succeededCallback,failedCallback,userContext); },
GetFeaturedNowlets:function(succeededCallback, failedCallback, userContext) {
return this._invoke(YouMeNow.WebSite.WebServices.CommunityWebService.get_path(), 'GetFeaturedNowlets',false,{},succeededCallback,failedCallback,userContext); },
GetLatestNowlets:function(PageSize,Page,RefreshCache,succeededCallback, failedCallback, userContext) {
return this._invoke(YouMeNow.WebSite.WebServices.CommunityWebService.get_path(), 'GetLatestNowlets',false,{PageSize:PageSize,Page:Page,RefreshCache:RefreshCache},succeededCallback,failedCallback,userContext); },
GetTopEarningUsers:function(PageSize,Page,succeededCallback, failedCallback, userContext) {
return this._invoke(YouMeNow.WebSite.WebServices.CommunityWebService.get_path(), 'GetTopEarningUsers',false,{PageSize:PageSize,Page:Page},succeededCallback,failedCallback,userContext); },
GetMostViewedDisplayItems:function(PageSize,Page,succeededCallback, failedCallback, userContext) {
return this._invoke(YouMeNow.WebSite.WebServices.CommunityWebService.get_path(), 'GetMostViewedDisplayItems',false,{PageSize:PageSize,Page:Page},succeededCallback,failedCallback,userContext); },
GetMostViewedDisplayItemsRSS:function(PageSize,Page,FeedTitle,FeedDescription,succeededCallback, failedCallback, userContext) {
return this._invoke(YouMeNow.WebSite.WebServices.CommunityWebService.get_path(), 'GetMostViewedDisplayItemsRSS',false,{PageSize:PageSize,Page:Page,FeedTitle:FeedTitle,FeedDescription:FeedDescription},succeededCallback,failedCallback,userContext); },
GetLatestEvents:function(PageSize,Page,RefreshCache,succeededCallback, failedCallback, userContext) {
return this._invoke(YouMeNow.WebSite.WebServices.CommunityWebService.get_path(), 'GetLatestEvents',false,{PageSize:PageSize,Page:Page,RefreshCache:RefreshCache},succeededCallback,failedCallback,userContext); },
GetLatestEventsNewerThan:function(EventId,PageSize,Page,RefreshCache,succeededCallback, failedCallback, userContext) {
return this._invoke(YouMeNow.WebSite.WebServices.CommunityWebService.get_path(), 'GetLatestEventsNewerThan',false,{EventId:EventId,PageSize:PageSize,Page:Page,RefreshCache:RefreshCache},succeededCallback,failedCallback,userContext); },
GetLatestEventsRSS:function(PageSize,Page,FeedTitle,FeedDescription,succeededCallback, failedCallback, userContext) {
return this._invoke(YouMeNow.WebSite.WebServices.CommunityWebService.get_path(), 'GetLatestEventsRSS',false,{PageSize:PageSize,Page:Page,FeedTitle:FeedTitle,FeedDescription:FeedDescription},succeededCallback,failedCallback,userContext); },
GetLatestContainerContent:function(PageSize,Page,ContainerId,IncludeDrm,succeededCallback, failedCallback, userContext) {
return this._invoke(YouMeNow.WebSite.WebServices.CommunityWebService.get_path(), 'GetLatestContainerContent',false,{PageSize:PageSize,Page:Page,ContainerId:ContainerId,IncludeDrm:IncludeDrm},succeededCallback,failedCallback,userContext); },
GetLatestContainerContentRSS:function(PageSize,Page,ContainerId,IncludeDrm,FeedTitle,FeedDescription,succeededCallback, failedCallback, userContext) {
return this._invoke(YouMeNow.WebSite.WebServices.CommunityWebService.get_path(), 'GetLatestContainerContentRSS',false,{PageSize:PageSize,Page:Page,ContainerId:ContainerId,IncludeDrm:IncludeDrm,FeedTitle:FeedTitle,FeedDescription:FeedDescription},succeededCallback,failedCallback,userContext); },
GetKeywordList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(YouMeNow.WebSite.WebServices.CommunityWebService.get_path(), 'GetKeywordList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
RecordDisplayItemView:function(ViewParameters,succeededCallback, failedCallback, userContext) {
return this._invoke(YouMeNow.WebSite.WebServices.CommunityWebService.get_path(), 'RecordDisplayItemView',false,{ViewParameters:ViewParameters},succeededCallback,failedCallback,userContext); },
EnterPromotion:function(PromotionId,Keys,Values,ResultData,succeededCallback, failedCallback, userContext) {
return this._invoke(YouMeNow.WebSite.WebServices.CommunityWebService.get_path(), 'EnterPromotion',false,{PromotionId:PromotionId,Keys:Keys,Values:Values,ResultData:ResultData},succeededCallback,failedCallback,userContext); }}
YouMeNow.WebSite.WebServices.CommunityWebService.registerClass('YouMeNow.WebSite.WebServices.CommunityWebService',Sys.Net.WebServiceProxy);
YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance = new YouMeNow.WebSite.WebServices.CommunityWebService();
YouMeNow.WebSite.WebServices.CommunityWebService.set_path = function(value) { YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance._path = value; }
YouMeNow.WebSite.WebServices.CommunityWebService.get_path = function() { return YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance._path; }
YouMeNow.WebSite.WebServices.CommunityWebService.set_timeout = function(value) { YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance._timeout = value; }
YouMeNow.WebSite.WebServices.CommunityWebService.get_timeout = function() { return YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance._timeout; }
YouMeNow.WebSite.WebServices.CommunityWebService.set_defaultUserContext = function(value) { YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance._userContext = value; }
YouMeNow.WebSite.WebServices.CommunityWebService.get_defaultUserContext = function() { return YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance._userContext; }
YouMeNow.WebSite.WebServices.CommunityWebService.set_defaultSucceededCallback = function(value) { YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance._succeeded = value; }
YouMeNow.WebSite.WebServices.CommunityWebService.get_defaultSucceededCallback = function() { return YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance._succeeded; }
YouMeNow.WebSite.WebServices.CommunityWebService.set_defaultFailedCallback = function(value) { YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance._failed = value; }
YouMeNow.WebSite.WebServices.CommunityWebService.get_defaultFailedCallback = function() { return YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance._failed; }
YouMeNow.WebSite.WebServices.CommunityWebService.set_path("/WebServices/CommunityWebService.asmx");
YouMeNow.WebSite.WebServices.CommunityWebService.AddProfileStringComment= function(ProfileUserId,CommentText,onSuccess,onFailed,userContext) {YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance.AddProfileStringComment(ProfileUserId,CommentText,onSuccess,onFailed,userContext); }
YouMeNow.WebSite.WebServices.CommunityWebService.AddContainerStringComment= function(TargetContainerId,CommentText,onSuccess,onFailed,userContext) {YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance.AddContainerStringComment(TargetContainerId,CommentText,onSuccess,onFailed,userContext); }
YouMeNow.WebSite.WebServices.CommunityWebService.AddDisplayItemStringComment= function(TargetDisplayItemId,CommentText,onSuccess,onFailed,userContext) {YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance.AddDisplayItemStringComment(TargetDisplayItemId,CommentText,onSuccess,onFailed,userContext); }
YouMeNow.WebSite.WebServices.CommunityWebService.SubmitRating= function(DisplayItemId,Rating,onSuccess,onFailed,userContext) {YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance.SubmitRating(DisplayItemId,Rating,onSuccess,onFailed,userContext); }
YouMeNow.WebSite.WebServices.CommunityWebService.DeleteDisplayItem= function(DisplayItemId,ContainerId,onSuccess,onFailed,userContext) {YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance.DeleteDisplayItem(DisplayItemId,ContainerId,onSuccess,onFailed,userContext); }
YouMeNow.WebSite.WebServices.CommunityWebService.RemoveUserFriend= function(RemoveFriendId,onSuccess,onFailed,userContext) {YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance.RemoveUserFriend(RemoveFriendId,onSuccess,onFailed,userContext); }
YouMeNow.WebSite.WebServices.CommunityWebService.GetCategoryDropDownValues= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance.GetCategoryDropDownValues(knownCategoryValues,category,onSuccess,onFailed,userContext); }
YouMeNow.WebSite.WebServices.CommunityWebService.GetContainerComments= function(TargetContainerId,PageSize,Page,RefreshCache,CacheResult,onSuccess,onFailed,userContext) {YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance.GetContainerComments(TargetContainerId,PageSize,Page,RefreshCache,CacheResult,onSuccess,onFailed,userContext); }
YouMeNow.WebSite.WebServices.CommunityWebService.GetContainerCommentsRSS= function(TargetContainerId,PageSize,Page,FeedTitle,FeedDescription,onSuccess,onFailed,userContext) {YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance.GetContainerCommentsRSS(TargetContainerId,PageSize,Page,FeedTitle,FeedDescription,onSuccess,onFailed,userContext); }
YouMeNow.WebSite.WebServices.CommunityWebService.GetDisplayItemComments= function(TargetItemId,PageSize,Page,RefreshCache,onSuccess,onFailed,userContext) {YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance.GetDisplayItemComments(TargetItemId,PageSize,Page,RefreshCache,onSuccess,onFailed,userContext); }
YouMeNow.WebSite.WebServices.CommunityWebService.GetDisplayItemRatings= function(TargetItemId,PageSize,Page,RefreshCache,onSuccess,onFailed,userContext) {YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance.GetDisplayItemRatings(TargetItemId,PageSize,Page,RefreshCache,onSuccess,onFailed,userContext); }
YouMeNow.WebSite.WebServices.CommunityWebService.GetFeaturedNowlets= function(onSuccess,onFailed,userContext) {YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance.GetFeaturedNowlets(onSuccess,onFailed,userContext); }
YouMeNow.WebSite.WebServices.CommunityWebService.GetLatestNowlets= function(PageSize,Page,RefreshCache,onSuccess,onFailed,userContext) {YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance.GetLatestNowlets(PageSize,Page,RefreshCache,onSuccess,onFailed,userContext); }
YouMeNow.WebSite.WebServices.CommunityWebService.GetTopEarningUsers= function(PageSize,Page,onSuccess,onFailed,userContext) {YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance.GetTopEarningUsers(PageSize,Page,onSuccess,onFailed,userContext); }
YouMeNow.WebSite.WebServices.CommunityWebService.GetMostViewedDisplayItems= function(PageSize,Page,onSuccess,onFailed,userContext) {YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance.GetMostViewedDisplayItems(PageSize,Page,onSuccess,onFailed,userContext); }
YouMeNow.WebSite.WebServices.CommunityWebService.GetMostViewedDisplayItemsRSS= function(PageSize,Page,FeedTitle,FeedDescription,onSuccess,onFailed,userContext) {YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance.GetMostViewedDisplayItemsRSS(PageSize,Page,FeedTitle,FeedDescription,onSuccess,onFailed,userContext); }
YouMeNow.WebSite.WebServices.CommunityWebService.GetLatestEvents= function(PageSize,Page,RefreshCache,onSuccess,onFailed,userContext) {YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance.GetLatestEvents(PageSize,Page,RefreshCache,onSuccess,onFailed,userContext); }
YouMeNow.WebSite.WebServices.CommunityWebService.GetLatestEventsNewerThan= function(EventId,PageSize,Page,RefreshCache,onSuccess,onFailed,userContext) {YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance.GetLatestEventsNewerThan(EventId,PageSize,Page,RefreshCache,onSuccess,onFailed,userContext); }
YouMeNow.WebSite.WebServices.CommunityWebService.GetLatestEventsRSS= function(PageSize,Page,FeedTitle,FeedDescription,onSuccess,onFailed,userContext) {YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance.GetLatestEventsRSS(PageSize,Page,FeedTitle,FeedDescription,onSuccess,onFailed,userContext); }
YouMeNow.WebSite.WebServices.CommunityWebService.GetLatestContainerContent= function(PageSize,Page,ContainerId,IncludeDrm,onSuccess,onFailed,userContext) {YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance.GetLatestContainerContent(PageSize,Page,ContainerId,IncludeDrm,onSuccess,onFailed,userContext); }
YouMeNow.WebSite.WebServices.CommunityWebService.GetLatestContainerContentRSS= function(PageSize,Page,ContainerId,IncludeDrm,FeedTitle,FeedDescription,onSuccess,onFailed,userContext) {YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance.GetLatestContainerContentRSS(PageSize,Page,ContainerId,IncludeDrm,FeedTitle,FeedDescription,onSuccess,onFailed,userContext); }
YouMeNow.WebSite.WebServices.CommunityWebService.GetKeywordList= function(prefixText,count,onSuccess,onFailed,userContext) {YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance.GetKeywordList(prefixText,count,onSuccess,onFailed,userContext); }
YouMeNow.WebSite.WebServices.CommunityWebService.RecordDisplayItemView= function(ViewParameters,onSuccess,onFailed,userContext) {YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance.RecordDisplayItemView(ViewParameters,onSuccess,onFailed,userContext); }
YouMeNow.WebSite.WebServices.CommunityWebService.EnterPromotion= function(PromotionId,Keys,Values,ResultData,onSuccess,onFailed,userContext) {YouMeNow.WebSite.WebServices.CommunityWebService._staticInstance.EnterPromotion(PromotionId,Keys,Values,ResultData,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('AjaxControlToolkit');
if (typeof(AjaxControlToolkit.CascadingDropDownNameValue) === 'undefined') {
AjaxControlToolkit.CascadingDropDownNameValue=gtc("AjaxControlToolkit.CascadingDropDownNameValue");
AjaxControlToolkit.CascadingDropDownNameValue.registerClass('AjaxControlToolkit.CascadingDropDownNameValue');
}
if (typeof(YouMeNow.WebSite.WebServices.EventItem) === 'undefined') {
YouMeNow.WebSite.WebServices.EventItem=gtc("YouMeNow.WebSite.WebServices.EventItem");
YouMeNow.WebSite.WebServices.EventItem.registerClass('YouMeNow.WebSite.WebServices.EventItem');
}
Type.registerNamespace('YouMeNow.BaseSite.RSS');
if (typeof(YouMeNow.BaseSite.RSS.RssDocument) === 'undefined') {
YouMeNow.BaseSite.RSS.RssDocument=gtc("YouMeNow.BaseSite.RSS.RssDocument");
YouMeNow.BaseSite.RSS.RssDocument.registerClass('YouMeNow.BaseSite.RSS.RssDocument');
}
if (typeof(SliderItems) === 'undefined') {
var SliderItems=gtc("SliderItems");
SliderItems.registerClass('SliderItems');
}
Type.registerNamespace('MM.MSalesPlatform.WebService.Proxy.ContentService');
if (typeof(MM.MSalesPlatform.WebService.Proxy.ContentService.PromotionEntryResult) === 'undefined') {
MM.MSalesPlatform.WebService.Proxy.ContentService.PromotionEntryResult = function() { throw Error.invalidOperation(); }
MM.MSalesPlatform.WebService.Proxy.ContentService.PromotionEntryResult.prototype = {Success: 0,SuccessRedirectToUrl: 1,AlreadyEntered: 2,Expired: 3}
MM.MSalesPlatform.WebService.Proxy.ContentService.PromotionEntryResult.registerEnum('MM.MSalesPlatform.WebService.Proxy.ContentService.PromotionEntryResult', true);
}
