Type.registerNamespace('MTBTV.WebServices');
MTBTV.WebServices.Internal=function() {
MTBTV.WebServices.Internal.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MTBTV.WebServices.Internal.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return MTBTV.WebServices.Internal._staticInstance.get_path();},
MediaAutoComplete:function(prefixText,succeededCallback, failedCallback, userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'MediaAutoComplete',false,{prefixText:prefixText},succeededCallback,failedCallback,userContext); },
MediaCommentRating:function(commentId,userId,succeededCallback, failedCallback, userContext) {
/// <param name="commentId" type="Number">System.Int32</param>
/// <param name="userId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'MediaCommentRating',false,{commentId:commentId,userId:userId},succeededCallback,failedCallback,userContext); },
BlogCommentRating:function(blogId,userId,succeededCallback, failedCallback, userContext) {
/// <param name="blogId" type="Number">System.Int32</param>
/// <param name="userId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'BlogCommentRating',false,{blogId:blogId,userId:userId},succeededCallback,failedCallback,userContext); },
UpdateUserComment:function(CommentId,commentUpdate,succeededCallback, failedCallback, userContext) {
/// <param name="CommentId" type="Number">System.Int32</param>
/// <param name="commentUpdate" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'UpdateUserComment',false,{CommentId:CommentId,commentUpdate:commentUpdate},succeededCallback,failedCallback,userContext); },
DeleteUserComment:function(commentId,succeededCallback, failedCallback, userContext) {
/// <param name="commentId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'DeleteUserComment',false,{commentId:commentId},succeededCallback,failedCallback,userContext); },
UpdateBlogComment:function(BlogId,commentUpdate,succeededCallback, failedCallback, userContext) {
/// <param name="BlogId" type="Number">System.Int32</param>
/// <param name="commentUpdate" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'UpdateBlogComment',false,{BlogId:BlogId,commentUpdate:commentUpdate},succeededCallback,failedCallback,userContext); },
DeleteBlogComment:function(commentId,succeededCallback, failedCallback, userContext) {
/// <param name="commentId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'DeleteBlogComment',false,{commentId:commentId},succeededCallback,failedCallback,userContext); },
UserBiographyView:function(contributorId,userId,succeededCallback, failedCallback, userContext) {
/// <param name="contributorId" type="Number">System.Int32</param>
/// <param name="userId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'UserBiographyView',false,{contributorId:contributorId,userId:userId},succeededCallback,failedCallback,userContext); },
UserTranscriptView:function(mediaId,userId,succeededCallback, failedCallback, userContext) {
/// <param name="mediaId" type="Number">System.Int32</param>
/// <param name="userId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'UserTranscriptView',false,{mediaId:mediaId,userId:userId},succeededCallback,failedCallback,userContext); },
trackAdvertWebClicks:function(advertId,userId,succeededCallback, failedCallback, userContext) {
/// <param name="advertId" type="Number">System.Int32</param>
/// <param name="userId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'trackAdvertWebClicks',false,{advertId:advertId,userId:userId},succeededCallback,failedCallback,userContext); },
trackAdvertWebViews:function(pageAdvertId,userId,succeededCallback, failedCallback, userContext) {
/// <param name="pageAdvertId" type="Number">System.Int32</param>
/// <param name="userId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'trackAdvertWebViews',false,{pageAdvertId:pageAdvertId,userId:userId},succeededCallback,failedCallback,userContext); },
trackUserInterface:function(controlTypeId,userId,userControlState,succeededCallback, failedCallback, userContext) {
/// <param name="controlTypeId" type="Number">System.Int32</param>
/// <param name="userId" type="Number">System.Int32</param>
/// <param name="userControlState" type="Boolean">System.Boolean</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'trackUserInterface',false,{controlTypeId:controlTypeId,userId:userId,userControlState:userControlState},succeededCallback,failedCallback,userContext); }}
MTBTV.WebServices.Internal.registerClass('MTBTV.WebServices.Internal',Sys.Net.WebServiceProxy);
MTBTV.WebServices.Internal._staticInstance = new MTBTV.WebServices.Internal();
MTBTV.WebServices.Internal.set_path = function(value) {
MTBTV.WebServices.Internal._staticInstance.set_path(value); }
MTBTV.WebServices.Internal.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return MTBTV.WebServices.Internal._staticInstance.get_path();}
MTBTV.WebServices.Internal.set_timeout = function(value) {
MTBTV.WebServices.Internal._staticInstance.set_timeout(value); }
MTBTV.WebServices.Internal.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return MTBTV.WebServices.Internal._staticInstance.get_timeout(); }
MTBTV.WebServices.Internal.set_defaultUserContext = function(value) { 
MTBTV.WebServices.Internal._staticInstance.set_defaultUserContext(value); }
MTBTV.WebServices.Internal.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return MTBTV.WebServices.Internal._staticInstance.get_defaultUserContext(); }
MTBTV.WebServices.Internal.set_defaultSucceededCallback = function(value) { 
 MTBTV.WebServices.Internal._staticInstance.set_defaultSucceededCallback(value); }
MTBTV.WebServices.Internal.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return MTBTV.WebServices.Internal._staticInstance.get_defaultSucceededCallback(); }
MTBTV.WebServices.Internal.set_defaultFailedCallback = function(value) { 
MTBTV.WebServices.Internal._staticInstance.set_defaultFailedCallback(value); }
MTBTV.WebServices.Internal.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return MTBTV.WebServices.Internal._staticInstance.get_defaultFailedCallback(); }
MTBTV.WebServices.Internal.set_path("/WebServices/Internal.asmx");
MTBTV.WebServices.Internal.MediaAutoComplete= function(prefixText,onSuccess,onFailed,userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
MTBTV.WebServices.Internal._staticInstance.MediaAutoComplete(prefixText,onSuccess,onFailed,userContext); }
MTBTV.WebServices.Internal.MediaCommentRating= function(commentId,userId,onSuccess,onFailed,userContext) {
/// <param name="commentId" type="Number">System.Int32</param>
/// <param name="userId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
MTBTV.WebServices.Internal._staticInstance.MediaCommentRating(commentId,userId,onSuccess,onFailed,userContext); }
MTBTV.WebServices.Internal.BlogCommentRating= function(blogId,userId,onSuccess,onFailed,userContext) {
/// <param name="blogId" type="Number">System.Int32</param>
/// <param name="userId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
MTBTV.WebServices.Internal._staticInstance.BlogCommentRating(blogId,userId,onSuccess,onFailed,userContext); }
MTBTV.WebServices.Internal.UpdateUserComment= function(CommentId,commentUpdate,onSuccess,onFailed,userContext) {
/// <param name="CommentId" type="Number">System.Int32</param>
/// <param name="commentUpdate" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
MTBTV.WebServices.Internal._staticInstance.UpdateUserComment(CommentId,commentUpdate,onSuccess,onFailed,userContext); }
MTBTV.WebServices.Internal.DeleteUserComment= function(commentId,onSuccess,onFailed,userContext) {
/// <param name="commentId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
MTBTV.WebServices.Internal._staticInstance.DeleteUserComment(commentId,onSuccess,onFailed,userContext); }
MTBTV.WebServices.Internal.UpdateBlogComment= function(BlogId,commentUpdate,onSuccess,onFailed,userContext) {
/// <param name="BlogId" type="Number">System.Int32</param>
/// <param name="commentUpdate" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
MTBTV.WebServices.Internal._staticInstance.UpdateBlogComment(BlogId,commentUpdate,onSuccess,onFailed,userContext); }
MTBTV.WebServices.Internal.DeleteBlogComment= function(commentId,onSuccess,onFailed,userContext) {
/// <param name="commentId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
MTBTV.WebServices.Internal._staticInstance.DeleteBlogComment(commentId,onSuccess,onFailed,userContext); }
MTBTV.WebServices.Internal.UserBiographyView= function(contributorId,userId,onSuccess,onFailed,userContext) {
/// <param name="contributorId" type="Number">System.Int32</param>
/// <param name="userId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
MTBTV.WebServices.Internal._staticInstance.UserBiographyView(contributorId,userId,onSuccess,onFailed,userContext); }
MTBTV.WebServices.Internal.UserTranscriptView= function(mediaId,userId,onSuccess,onFailed,userContext) {
/// <param name="mediaId" type="Number">System.Int32</param>
/// <param name="userId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
MTBTV.WebServices.Internal._staticInstance.UserTranscriptView(mediaId,userId,onSuccess,onFailed,userContext); }
MTBTV.WebServices.Internal.trackAdvertWebClicks= function(advertId,userId,onSuccess,onFailed,userContext) {
/// <param name="advertId" type="Number">System.Int32</param>
/// <param name="userId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
MTBTV.WebServices.Internal._staticInstance.trackAdvertWebClicks(advertId,userId,onSuccess,onFailed,userContext); }
MTBTV.WebServices.Internal.trackAdvertWebViews= function(pageAdvertId,userId,onSuccess,onFailed,userContext) {
/// <param name="pageAdvertId" type="Number">System.Int32</param>
/// <param name="userId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
MTBTV.WebServices.Internal._staticInstance.trackAdvertWebViews(pageAdvertId,userId,onSuccess,onFailed,userContext); }
MTBTV.WebServices.Internal.trackUserInterface= function(controlTypeId,userId,userControlState,onSuccess,onFailed,userContext) {
/// <param name="controlTypeId" type="Number">System.Int32</param>
/// <param name="userId" type="Number">System.Int32</param>
/// <param name="userControlState" type="Boolean">System.Boolean</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
MTBTV.WebServices.Internal._staticInstance.trackUserInterface(controlTypeId,userId,userControlState,onSuccess,onFailed,userContext); }
