Type.registerNamespace('SBR.TV.Website.WebServices');
SBR.TV.Website.WebServices.WebServiceProxy=function() {
SBR.TV.Website.WebServices.WebServiceProxy.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
SBR.TV.Website.WebServices.WebServiceProxy.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.get_path();},
MyContests:function(UserName,top,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'MyContests',false,{UserName:UserName,top:top},succeededCallback,failedCallback,userContext); },
MySBRForumPosts:function(UserName,forumUserId,onlyPosts,postsToDisplay,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'MySBRForumPosts',false,{UserName:UserName,forumUserId:forumUserId,onlyPosts:onlyPosts,postsToDisplay:postsToDisplay},succeededCallback,failedCallback,userContext); },
GetTotalPostsSearchResults:function(pTerm,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTotalPostsSearchResults',false,{pTerm:pTerm},succeededCallback,failedCallback,userContext); },
GetPostsSearchResults:function(pTerm,pPage,pPaging,pOrderBy,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPostsSearchResults',false,{pTerm:pTerm,pPage:pPage,pPaging:pPaging,pOrderBy:pOrderBy},succeededCallback,failedCallback,userContext); },
GetPostFileFormats:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPostFileFormats',false,{},succeededCallback,failedCallback,userContext); },
CancelOperation:function(pUploadProgressId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CancelOperation',false,{pUploadProgressId:pUploadProgressId},succeededCallback,failedCallback,userContext); },
StatusProcess:function(pUploadProgressId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'StatusProcess',false,{pUploadProgressId:pUploadProgressId},succeededCallback,failedCallback,userContext); },
ClearKey:function(pUploadProgressId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ClearKey',false,{pUploadProgressId:pUploadProgressId},succeededCallback,failedCallback,userContext); },
GetPost:function(pUploadProgressId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPost',false,{pUploadProgressId:pUploadProgressId},succeededCallback,failedCallback,userContext); },
SetSharePostId:function(pPostId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetSharePostId',false,{pPostId:pPostId},succeededCallback,failedCallback,userContext); },
GetSharePostId:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSharePostId',false,{},succeededCallback,failedCallback,userContext); },
GetPosts:function(pRequestType,pFilterId,pUserId,pPage,pPageQuatity,pOrderBy,pPaging,pTopFlag,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPosts',false,{pRequestType:pRequestType,pFilterId:pFilterId,pUserId:pUserId,pPage:pPage,pPageQuatity:pPageQuatity,pOrderBy:pOrderBy,pPaging:pPaging,pTopFlag:pTopFlag},succeededCallback,failedCallback,userContext); },
GetPostsListPosts:function(postsList,pPage,pPageQuatity,pOrderBy,pPaging,pTopFlag,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPostsListPosts',false,{postsList:postsList,pPage:pPage,pPageQuatity:pPageQuatity,pOrderBy:pOrderBy,pPaging:pPaging,pTopFlag:pTopFlag},succeededCallback,failedCallback,userContext); },
GetPostsListPostsXml:function(postsLists,pTop,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPostsListPostsXml',false,{postsLists:postsLists,pTop:pTop},succeededCallback,failedCallback,userContext); },
GetPlayListPosts:function(playListId,pPage,pPageQuatity,pOrderBy,pPaging,pTopFlag,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPlayListPosts',false,{playListId:playListId,pPage:pPage,pPageQuatity:pPageQuatity,pOrderBy:pOrderBy,pPaging:pPaging,pTopFlag:pTopFlag},succeededCallback,failedCallback,userContext); },
GetMostViewedPostsXml:function(pTop,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMostViewedPostsXml',false,{pTop:pTop},succeededCallback,failedCallback,userContext); },
GetMostRecentPostsXml:function(pTop,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMostRecentPostsXml',false,{pTop:pTop},succeededCallback,failedCallback,userContext); },
GetBeingWatchedPostsXml:function(pTop,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetBeingWatchedPostsXml',false,{pTop:pTop},succeededCallback,failedCallback,userContext); },
GetPopularPostsXML:function(pTop,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPopularPostsXML',false,{pTop:pTop},succeededCallback,failedCallback,userContext); },
GetLastPlayedPostsXML:function(pTop,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLastPlayedPostsXML',false,{pTop:pTop},succeededCallback,failedCallback,userContext); },
GetMostViewedTimeDecay:function(pTop,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMostViewedTimeDecay',false,{pTop:pTop},succeededCallback,failedCallback,userContext); },
GetRelatedPosts:function(pPostId,pPage,pPaging,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRelatedPosts',false,{pPostId:pPostId,pPage:pPage,pPaging:pPaging},succeededCallback,failedCallback,userContext); },
GetCategoriesByPost:function(pPostId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCategoriesByPost',false,{pPostId:pPostId},succeededCallback,failedCallback,userContext); },
GetPostCategories:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPostCategories',false,{},succeededCallback,failedCallback,userContext); },
GetCategoriesByType:function(categoryType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCategoriesByType',false,{categoryType:categoryType},succeededCallback,failedCallback,userContext); },
GetTotalPosts:function(pRequestType,pFilterId,pUserId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTotalPosts',false,{pRequestType:pRequestType,pFilterId:pFilterId,pUserId:pUserId},succeededCallback,failedCallback,userContext); },
GetTotalPlayListPosts:function(playListIdentity,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTotalPlayListPosts',false,{playListIdentity:playListIdentity},succeededCallback,failedCallback,userContext); },
NewPost:function(pPost,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'NewPost',false,{pPost:pPost},succeededCallback,failedCallback,userContext); },
InsertArticle:function(objArticle,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'InsertArticle',false,{objArticle:objArticle},succeededCallback,failedCallback,userContext); },
UpdateArticle:function(objArticle,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateArticle',false,{objArticle:objArticle},succeededCallback,failedCallback,userContext); },
GetArticle:function(pArticleId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetArticle',false,{pArticleId:pArticleId},succeededCallback,failedCallback,userContext); },
GetArticles:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetArticles',false,{},succeededCallback,failedCallback,userContext); },
GetUserById:function(pUserId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUserById',false,{pUserId:pUserId},succeededCallback,failedCallback,userContext); },
GetUserByName:function(pUserName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUserByName',false,{pUserName:pUserName},succeededCallback,failedCallback,userContext); },
GetUserByForumId:function(pForumId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUserByForumId',false,{pForumId:pForumId},succeededCallback,failedCallback,userContext); },
GetTopUsers:function(top,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTopUsers',false,{top:top},succeededCallback,failedCallback,userContext); },
GetComments:function(pReferId,pCommentType,pQuantity,pPageNumber,pUser,pVote,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetComments',false,{pReferId:pReferId,pCommentType:pCommentType,pQuantity:pQuantity,pPageNumber:pPageNumber,pUser:pUser,pVote:pVote},succeededCallback,failedCallback,userContext); },
InsertComment:function(pReferId,pContent,pCreatedBy,pCommentType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'InsertComment',false,{pReferId:pReferId,pContent:pContent,pCreatedBy:pCreatedBy,pCommentType:pCommentType},succeededCallback,failedCallback,userContext); },
DeleteComment:function(pCommentId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteComment',false,{pCommentId:pCommentId},succeededCallback,failedCallback,userContext); },
UpdatePostStatus:function(pPostId,pStatus,updateBy,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdatePostStatus',false,{pPostId:pPostId,pStatus:pStatus,updateBy:updateBy},succeededCallback,failedCallback,userContext); },
GetChannels:function(pChannelId,pUserId,pQuantity,pPageNumber,pCheckImage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetChannels',false,{pChannelId:pChannelId,pUserId:pUserId,pQuantity:pQuantity,pPageNumber:pPageNumber,pCheckImage:pCheckImage},succeededCallback,failedCallback,userContext); },
GetChannelsBySearch:function(pSearchTerm,pQuantity,pPageNumber,pCheckImage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetChannelsBySearch',false,{pSearchTerm:pSearchTerm,pQuantity:pQuantity,pPageNumber:pPageNumber,pCheckImage:pCheckImage},succeededCallback,failedCallback,userContext); },
GetXmlPost:function(pPostId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetXmlPost',false,{pPostId:pPostId},succeededCallback,failedCallback,userContext); },
UpdatePostViews:function(pPostId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdatePostViews',false,{pPostId:pPostId},succeededCallback,failedCallback,userContext); },
UpdatePostCompleteViews:function(pPostId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdatePostCompleteViews',false,{pPostId:pPostId},succeededCallback,failedCallback,userContext); },
InsertPostsRatings:function(pObjRating,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'InsertPostsRatings',false,{pObjRating:pObjRating},succeededCallback,failedCallback,userContext); },
GetPostsRatingsByPostId:function(pPostId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPostsRatingsByPostId',false,{pPostId:pPostId},succeededCallback,failedCallback,userContext); },
GetPostsRatingsByUserId:function(objRating,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPostsRatingsByUserId',false,{objRating:objRating},succeededCallback,failedCallback,userContext); },
UploadVideosWatched:function(pUserId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UploadVideosWatched',false,{pUserId:pUserId},succeededCallback,failedCallback,userContext); },
InsertVote:function(pVoteTypeId,pVote,pReferId,pCreateBy,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'InsertVote',false,{pVoteTypeId:pVoteTypeId,pVote:pVote,pReferId:pReferId,pCreateBy:pCreateBy},succeededCallback,failedCallback,userContext); },
InsertFavoritePost:function(postId,userIdentity,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'InsertFavoritePost',false,{postId:postId,userIdentity:userIdentity},succeededCallback,failedCallback,userContext); },
DeleteFavoritePost:function(favoritePost,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteFavoritePost',false,{favoritePost:favoritePost},succeededCallback,failedCallback,userContext); },
GetUserPlayLists:function(userId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUserPlayLists',false,{userId:userId},succeededCallback,failedCallback,userContext); },
InsertPostToPlayList:function(playListId,postId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'InsertPostToPlayList',false,{playListId:playListId,postId:postId},succeededCallback,failedCallback,userContext); },
InsertUserPlayList:function(name,userId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'InsertUserPlayList',false,{name:name,userId:userId},succeededCallback,failedCallback,userContext); },
GetPostsByType:function(pListType,pFilterId,pUserId,pPage,pPageQuatity,pOrderBy,pPaging,pTopFlag,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPostsByType',false,{pListType:pListType,pFilterId:pFilterId,pUserId:pUserId,pPage:pPage,pPageQuatity:pPageQuatity,pOrderBy:pOrderBy,pPaging:pPaging,pTopFlag:pTopFlag},succeededCallback,failedCallback,userContext); },
GetTotalPostsByType:function(pListType,pFilterId,pUserId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTotalPostsByType',false,{pListType:pListType,pFilterId:pFilterId,pUserId:pUserId},succeededCallback,failedCallback,userContext); },
GetAdsByPostId:function(postId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAdsByPostId',false,{postId:postId},succeededCallback,failedCallback,userContext); }}
SBR.TV.Website.WebServices.WebServiceProxy.registerClass('SBR.TV.Website.WebServices.WebServiceProxy',Sys.Net.WebServiceProxy);
SBR.TV.Website.WebServices.WebServiceProxy._staticInstance = new SBR.TV.Website.WebServices.WebServiceProxy();
SBR.TV.Website.WebServices.WebServiceProxy.set_path = function(value) { SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.set_path(value); }
SBR.TV.Website.WebServices.WebServiceProxy.get_path = function() { return SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.get_path(); }
SBR.TV.Website.WebServices.WebServiceProxy.set_timeout = function(value) { SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.set_timeout(value); }
SBR.TV.Website.WebServices.WebServiceProxy.get_timeout = function() { return SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.get_timeout(); }
SBR.TV.Website.WebServices.WebServiceProxy.set_defaultUserContext = function(value) { SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.set_defaultUserContext(value); }
SBR.TV.Website.WebServices.WebServiceProxy.get_defaultUserContext = function() { return SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.get_defaultUserContext(); }
SBR.TV.Website.WebServices.WebServiceProxy.set_defaultSucceededCallback = function(value) { SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.set_defaultSucceededCallback(value); }
SBR.TV.Website.WebServices.WebServiceProxy.get_defaultSucceededCallback = function() { return SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.get_defaultSucceededCallback(); }
SBR.TV.Website.WebServices.WebServiceProxy.set_defaultFailedCallback = function(value) { SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.set_defaultFailedCallback(value); }
SBR.TV.Website.WebServices.WebServiceProxy.get_defaultFailedCallback = function() { return SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.get_defaultFailedCallback(); }
SBR.TV.Website.WebServices.WebServiceProxy.set_path("/asmx/WebServiceProxy.asmx");
SBR.TV.Website.WebServices.WebServiceProxy.MyContests= function(UserName,top,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.MyContests(UserName,top,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.MySBRForumPosts= function(UserName,forumUserId,onlyPosts,postsToDisplay,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.MySBRForumPosts(UserName,forumUserId,onlyPosts,postsToDisplay,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetTotalPostsSearchResults= function(pTerm,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetTotalPostsSearchResults(pTerm,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetPostsSearchResults= function(pTerm,pPage,pPaging,pOrderBy,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetPostsSearchResults(pTerm,pPage,pPaging,pOrderBy,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetPostFileFormats= function(onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetPostFileFormats(onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.CancelOperation= function(pUploadProgressId,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.CancelOperation(pUploadProgressId,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.StatusProcess= function(pUploadProgressId,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.StatusProcess(pUploadProgressId,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.ClearKey= function(pUploadProgressId,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.ClearKey(pUploadProgressId,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetPost= function(pUploadProgressId,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetPost(pUploadProgressId,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.SetSharePostId= function(pPostId,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.SetSharePostId(pPostId,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetSharePostId= function(onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetSharePostId(onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetPosts= function(pRequestType,pFilterId,pUserId,pPage,pPageQuatity,pOrderBy,pPaging,pTopFlag,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetPosts(pRequestType,pFilterId,pUserId,pPage,pPageQuatity,pOrderBy,pPaging,pTopFlag,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetPostsListPosts= function(postsList,pPage,pPageQuatity,pOrderBy,pPaging,pTopFlag,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetPostsListPosts(postsList,pPage,pPageQuatity,pOrderBy,pPaging,pTopFlag,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetPostsListPostsXml= function(postsLists,pTop,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetPostsListPostsXml(postsLists,pTop,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetPlayListPosts= function(playListId,pPage,pPageQuatity,pOrderBy,pPaging,pTopFlag,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetPlayListPosts(playListId,pPage,pPageQuatity,pOrderBy,pPaging,pTopFlag,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetMostViewedPostsXml= function(pTop,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetMostViewedPostsXml(pTop,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetMostRecentPostsXml= function(pTop,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetMostRecentPostsXml(pTop,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetBeingWatchedPostsXml= function(pTop,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetBeingWatchedPostsXml(pTop,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetPopularPostsXML= function(pTop,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetPopularPostsXML(pTop,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetLastPlayedPostsXML= function(pTop,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetLastPlayedPostsXML(pTop,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetMostViewedTimeDecay= function(pTop,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetMostViewedTimeDecay(pTop,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetRelatedPosts= function(pPostId,pPage,pPaging,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetRelatedPosts(pPostId,pPage,pPaging,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetCategoriesByPost= function(pPostId,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetCategoriesByPost(pPostId,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetPostCategories= function(onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetPostCategories(onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetCategoriesByType= function(categoryType,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetCategoriesByType(categoryType,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetTotalPosts= function(pRequestType,pFilterId,pUserId,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetTotalPosts(pRequestType,pFilterId,pUserId,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetTotalPlayListPosts= function(playListIdentity,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetTotalPlayListPosts(playListIdentity,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.NewPost= function(pPost,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.NewPost(pPost,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.InsertArticle= function(objArticle,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.InsertArticle(objArticle,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.UpdateArticle= function(objArticle,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.UpdateArticle(objArticle,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetArticle= function(pArticleId,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetArticle(pArticleId,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetArticles= function(onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetArticles(onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetUserById= function(pUserId,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetUserById(pUserId,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetUserByName= function(pUserName,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetUserByName(pUserName,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetUserByForumId= function(pForumId,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetUserByForumId(pForumId,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetTopUsers= function(top,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetTopUsers(top,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetComments= function(pReferId,pCommentType,pQuantity,pPageNumber,pUser,pVote,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetComments(pReferId,pCommentType,pQuantity,pPageNumber,pUser,pVote,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.InsertComment= function(pReferId,pContent,pCreatedBy,pCommentType,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.InsertComment(pReferId,pContent,pCreatedBy,pCommentType,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.DeleteComment= function(pCommentId,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.DeleteComment(pCommentId,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.UpdatePostStatus= function(pPostId,pStatus,updateBy,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.UpdatePostStatus(pPostId,pStatus,updateBy,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetChannels= function(pChannelId,pUserId,pQuantity,pPageNumber,pCheckImage,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetChannels(pChannelId,pUserId,pQuantity,pPageNumber,pCheckImage,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetChannelsBySearch= function(pSearchTerm,pQuantity,pPageNumber,pCheckImage,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetChannelsBySearch(pSearchTerm,pQuantity,pPageNumber,pCheckImage,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetXmlPost= function(pPostId,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetXmlPost(pPostId,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.UpdatePostViews= function(pPostId,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.UpdatePostViews(pPostId,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.UpdatePostCompleteViews= function(pPostId,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.UpdatePostCompleteViews(pPostId,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.InsertPostsRatings= function(pObjRating,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.InsertPostsRatings(pObjRating,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetPostsRatingsByPostId= function(pPostId,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetPostsRatingsByPostId(pPostId,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetPostsRatingsByUserId= function(objRating,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetPostsRatingsByUserId(objRating,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.UploadVideosWatched= function(pUserId,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.UploadVideosWatched(pUserId,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.InsertVote= function(pVoteTypeId,pVote,pReferId,pCreateBy,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.InsertVote(pVoteTypeId,pVote,pReferId,pCreateBy,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.InsertFavoritePost= function(postId,userIdentity,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.InsertFavoritePost(postId,userIdentity,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.DeleteFavoritePost= function(favoritePost,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.DeleteFavoritePost(favoritePost,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetUserPlayLists= function(userId,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetUserPlayLists(userId,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.InsertPostToPlayList= function(playListId,postId,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.InsertPostToPlayList(playListId,postId,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.InsertUserPlayList= function(name,userId,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.InsertUserPlayList(name,userId,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetPostsByType= function(pListType,pFilterId,pUserId,pPage,pPageQuatity,pOrderBy,pPaging,pTopFlag,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetPostsByType(pListType,pFilterId,pUserId,pPage,pPageQuatity,pOrderBy,pPaging,pTopFlag,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetTotalPostsByType= function(pListType,pFilterId,pUserId,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetTotalPostsByType(pListType,pFilterId,pUserId,onSuccess,onFailed,userContext); }
SBR.TV.Website.WebServices.WebServiceProxy.GetAdsByPostId= function(postId,onSuccess,onFailed,userContext) {SBR.TV.Website.WebServices.WebServiceProxy._staticInstance.GetAdsByPostId(postId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('SBR.TV.Communication.Objects');
if (typeof(SBR.TV.Communication.Objects.File) === 'undefined') {
SBR.TV.Communication.Objects.File=gtc("SBR.TV.Communication.Objects.File");
SBR.TV.Communication.Objects.File.registerClass('SBR.TV.Communication.Objects.File');
}
if (typeof(SBR.TV.Communication.Objects.Article) === 'undefined') {
SBR.TV.Communication.Objects.Article=gtc("SBR.TV.Communication.Objects.Article");
SBR.TV.Communication.Objects.Article.registerClass('SBR.TV.Communication.Objects.Article');
}
if (typeof(SBR.TV.Communication.Objects.User) === 'undefined') {
SBR.TV.Communication.Objects.User=gtc("SBR.TV.Communication.Objects.User");
SBR.TV.Communication.Objects.User.registerClass('SBR.TV.Communication.Objects.User');
}
if (typeof(SBR.TV.Communication.Objects.Comment) === 'undefined') {
SBR.TV.Communication.Objects.Comment=gtc("SBR.TV.Communication.Objects.Comment");
SBR.TV.Communication.Objects.Comment.registerClass('SBR.TV.Communication.Objects.Comment');
}
if (typeof(SBR.TV.Communication.Objects.Channel) === 'undefined') {
SBR.TV.Communication.Objects.Channel=gtc("SBR.TV.Communication.Objects.Channel");
SBR.TV.Communication.Objects.Channel.registerClass('SBR.TV.Communication.Objects.Channel');
}
if (typeof(SBR.TV.Communication.Objects.Rating) === 'undefined') {
SBR.TV.Communication.Objects.Rating=gtc("SBR.TV.Communication.Objects.Rating");
SBR.TV.Communication.Objects.Rating.registerClass('SBR.TV.Communication.Objects.Rating');
}
if (typeof(SBR.TV.Communication.Objects.PlayList) === 'undefined') {
SBR.TV.Communication.Objects.PlayList=gtc("SBR.TV.Communication.Objects.PlayList");
SBR.TV.Communication.Objects.PlayList.registerClass('SBR.TV.Communication.Objects.PlayList');
}
if (typeof(SBR.TV.Communication.Objects.EncodingProfile) === 'undefined') {
SBR.TV.Communication.Objects.EncodingProfile=gtc("SBR.TV.Communication.Objects.EncodingProfile");
SBR.TV.Communication.Objects.EncodingProfile.registerClass('SBR.TV.Communication.Objects.EncodingProfile');
}
if (typeof(SBR.TV.Communication.Objects.Post) === 'undefined') {
SBR.TV.Communication.Objects.Post=gtc("SBR.TV.Communication.Objects.Post");
SBR.TV.Communication.Objects.Post.registerClass('SBR.TV.Communication.Objects.Post');
}
if (typeof(SBR.TV.Communication.Objects.Ad) === 'undefined') {
SBR.TV.Communication.Objects.Ad=gtc("SBR.TV.Communication.Objects.Ad");
SBR.TV.Communication.Objects.Ad.registerClass('SBR.TV.Communication.Objects.Ad');
}
if (typeof(SBR.TV.Communication.Objects.Category) === 'undefined') {
SBR.TV.Communication.Objects.Category=gtc("SBR.TV.Communication.Objects.Category");
SBR.TV.Communication.Objects.Category.registerClass('SBR.TV.Communication.Objects.Category');
}
Type.registerNamespace('SBR.TV.Proxy.JSProxy');
if (typeof(SBR.TV.Proxy.JSProxy.ContestCO) === 'undefined') {
SBR.TV.Proxy.JSProxy.ContestCO=gtc("SBR.TV.Proxy.JSProxy.ContestCO");
SBR.TV.Proxy.JSProxy.ContestCO.registerClass('SBR.TV.Proxy.JSProxy.ContestCO');
}
if (typeof(SBR.TV.Communication.Objects.UploadInformation) === 'undefined') {
SBR.TV.Communication.Objects.UploadInformation=gtc("SBR.TV.Communication.Objects.UploadInformation");
SBR.TV.Communication.Objects.UploadInformation.registerClass('SBR.TV.Communication.Objects.UploadInformation');
}
if (typeof(SBR.TV.Communication.Objects.RequestType) === 'undefined') {
SBR.TV.Communication.Objects.RequestType = function() { throw Error.invalidOperation(); }
SBR.TV.Communication.Objects.RequestType.prototype = {NONE: 0,VIDEOBYCHANNEL: 1,CATEGORY: 2,USER: 3,POST: 4,SEARCH: 5,RELATED_POSTS: 6,SUBMITED_POSTS: 7,PENDING_APPROVAL_POSTS: 8,NOT_VISIBLE_POSTS: 9,CHANNELS: 10,IN_PROGRESS: 11,FAVORITE_POSTS: 12,PLAY_LIST: 13,POSTS_LIST: 14,RECENT_POSTS: 15,VIEWED_POSTS: 16,TYPE_POST: 17,BEING_WATCHED: 18,MOST_POPULAR: 19,LAST_PLAYED: 20,VIEWED_WITH_TIME_DECAY: 21}
SBR.TV.Communication.Objects.RequestType.registerEnum('SBR.TV.Communication.Objects.RequestType', true);
}
if (typeof(SBR.TV.Communication.Objects.PostStatusType) === 'undefined') {
SBR.TV.Communication.Objects.PostStatusType = function() { throw Error.invalidOperation(); }
SBR.TV.Communication.Objects.PostStatusType.prototype = {NOT_VISIBLE: 0,APPROVED: 1,PENDING_APPROVAL: 2,UPLOADING_PROCESS: 3}
SBR.TV.Communication.Objects.PostStatusType.registerEnum('SBR.TV.Communication.Objects.PostStatusType', true);
}
if (typeof(SBR.TV.Communication.Objects.AlertType) === 'undefined') {
SBR.TV.Communication.Objects.AlertType = function() { throw Error.invalidOperation(); }
SBR.TV.Communication.Objects.AlertType.prototype = {DONE: 0,CONFIRM: 1,DELETE: 2}
SBR.TV.Communication.Objects.AlertType.registerEnum('SBR.TV.Communication.Objects.AlertType', true);
}
if (typeof(SBR.TV.Communication.Objects.UploadStatus) === 'undefined') {
SBR.TV.Communication.Objects.UploadStatus = function() { throw Error.invalidOperation(); }
SBR.TV.Communication.Objects.UploadStatus.prototype = {UPLOAD: 0,FINISH: 1,CANCEL: 2,INVALIDSIZE: 3,ENCODE: 4,ERRORVIDEOENCODE: 5}
SBR.TV.Communication.Objects.UploadStatus.registerEnum('SBR.TV.Communication.Objects.UploadStatus', true);
}
