Type.registerNamespace('theWebservice');
theWebservice.videoLesson=function() {
theWebservice.videoLesson.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
theWebservice.videoLesson.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return theWebservice.videoLesson._staticInstance.get_path();},
getStartVideoLists:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'getStartVideoLists',false,{},succeededCallback,failedCallback,userContext); },
getTopVideoInfo:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'getTopVideoInfo',false,{},succeededCallback,failedCallback,userContext); },
getSelectedVideoTitleDesc:function(theVideoDataId,succeededCallback, failedCallback, userContext) {
/// <param name="theVideoDataId" 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(), 'getSelectedVideoTitleDesc',false,{theVideoDataId:theVideoDataId},succeededCallback,failedCallback,userContext); },
getSelectedVideoViews:function(theVideoDataId,succeededCallback, failedCallback, userContext) {
/// <param name="theVideoDataId" 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(), 'getSelectedVideoViews',false,{theVideoDataId:theVideoDataId},succeededCallback,failedCallback,userContext); },
getNewVideoList:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'getNewVideoList',false,{},succeededCallback,failedCallback,userContext); },
getMostWatchedVideoList:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'getMostWatchedVideoList',false,{},succeededCallback,failedCallback,userContext); },
getCategoryLessons:function(theCategoryId,succeededCallback, failedCallback, userContext) {
/// <param name="theCategoryId" 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(), 'getCategoryLessons',false,{theCategoryId:theCategoryId},succeededCallback,failedCallback,userContext); },
getMainCategoryMenu:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'getMainCategoryMenu',false,{},succeededCallback,failedCallback,userContext); },
getMainCategoryList:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'getMainCategoryList',false,{},succeededCallback,failedCallback,userContext); },
getSubCategoryList:function(categoryId,succeededCallback, failedCallback, userContext) {
/// <param name="categoryId" 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(), 'getSubCategoryList',false,{categoryId:categoryId},succeededCallback,failedCallback,userContext); },
getMostWatchedLessons:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'getMostWatchedLessons',false,{},succeededCallback,failedCallback,userContext); },
getNewest8Lessons:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'getNewest8Lessons',false,{},succeededCallback,failedCallback,userContext); },
setTheBanners:function(theVideoId,succeededCallback, failedCallback, userContext) {
/// <param name="theVideoId" 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(), 'setTheBanners',false,{theVideoId:theVideoId},succeededCallback,failedCallback,userContext); },
setTheCart:function(theCartValues,succeededCallback, failedCallback, userContext) {
/// <param name="theCartValues" 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(), 'setTheCart',false,{theCartValues:theCartValues},succeededCallback,failedCallback,userContext); },
setTheDVDList:function(theName,theDVDURL,succeededCallback, failedCallback, userContext) {
/// <param name="theName" type="String">System.String</param>
/// <param name="theDVDURL" 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(), 'setTheDVDList',false,{theName:theName,theDVDURL:theDVDURL},succeededCallback,failedCallback,userContext); },
getProductDemosLists:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'getProductDemosLists',false,{},succeededCallback,failedCallback,userContext); },
setTheDemoImage:function(theImage,theTitle,theURL,succeededCallback, failedCallback, userContext) {
/// <param name="theImage" type="String">System.String</param>
/// <param name="theTitle" type="String">System.String</param>
/// <param name="theURL" 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(), 'setTheDemoImage',false,{theImage:theImage,theTitle:theTitle,theURL:theURL},succeededCallback,failedCallback,userContext); },
getSelectedDemoTitleDesc:function(theVideoDataId,succeededCallback, failedCallback, userContext) {
/// <param name="theVideoDataId" 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(), 'getSelectedDemoTitleDesc',false,{theVideoDataId:theVideoDataId},succeededCallback,failedCallback,userContext); },
searchPageJavaScript:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'searchPageJavaScript',false,{},succeededCallback,failedCallback,userContext); },
searchPageResults:function(theSearchString,succeededCallback, failedCallback, userContext) {
/// <param name="theSearchString" 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(), 'searchPageResults',false,{theSearchString:theSearchString},succeededCallback,failedCallback,userContext); },
setThePlayer:function(source,succeededCallback, failedCallback, userContext) {
/// <param name="source" 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(), 'setThePlayer',false,{source:source},succeededCallback,failedCallback,userContext); }}
theWebservice.videoLesson.registerClass('theWebservice.videoLesson',Sys.Net.WebServiceProxy);
theWebservice.videoLesson._staticInstance = new theWebservice.videoLesson();
theWebservice.videoLesson.set_path = function(value) {
theWebservice.videoLesson._staticInstance.set_path(value); }
theWebservice.videoLesson.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return theWebservice.videoLesson._staticInstance.get_path();}
theWebservice.videoLesson.set_timeout = function(value) {
theWebservice.videoLesson._staticInstance.set_timeout(value); }
theWebservice.videoLesson.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return theWebservice.videoLesson._staticInstance.get_timeout(); }
theWebservice.videoLesson.set_defaultUserContext = function(value) { 
theWebservice.videoLesson._staticInstance.set_defaultUserContext(value); }
theWebservice.videoLesson.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return theWebservice.videoLesson._staticInstance.get_defaultUserContext(); }
theWebservice.videoLesson.set_defaultSucceededCallback = function(value) { 
 theWebservice.videoLesson._staticInstance.set_defaultSucceededCallback(value); }
theWebservice.videoLesson.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return theWebservice.videoLesson._staticInstance.get_defaultSucceededCallback(); }
theWebservice.videoLesson.set_defaultFailedCallback = function(value) { 
theWebservice.videoLesson._staticInstance.set_defaultFailedCallback(value); }
theWebservice.videoLesson.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return theWebservice.videoLesson._staticInstance.get_defaultFailedCallback(); }
theWebservice.videoLesson.set_path("/freeartlessons/getData/videoLesson.asmx");
theWebservice.videoLesson.getStartVideoLists= function(onSuccess,onFailed,userContext) {
/// <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>
theWebservice.videoLesson._staticInstance.getStartVideoLists(onSuccess,onFailed,userContext); }
theWebservice.videoLesson.getTopVideoInfo= function(onSuccess,onFailed,userContext) {
/// <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>
theWebservice.videoLesson._staticInstance.getTopVideoInfo(onSuccess,onFailed,userContext); }
theWebservice.videoLesson.getSelectedVideoTitleDesc= function(theVideoDataId,onSuccess,onFailed,userContext) {
/// <param name="theVideoDataId" 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>
theWebservice.videoLesson._staticInstance.getSelectedVideoTitleDesc(theVideoDataId,onSuccess,onFailed,userContext); }
theWebservice.videoLesson.getSelectedVideoViews= function(theVideoDataId,onSuccess,onFailed,userContext) {
/// <param name="theVideoDataId" 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>
theWebservice.videoLesson._staticInstance.getSelectedVideoViews(theVideoDataId,onSuccess,onFailed,userContext); }
theWebservice.videoLesson.getNewVideoList= function(onSuccess,onFailed,userContext) {
/// <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>
theWebservice.videoLesson._staticInstance.getNewVideoList(onSuccess,onFailed,userContext); }
theWebservice.videoLesson.getMostWatchedVideoList= function(onSuccess,onFailed,userContext) {
/// <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>
theWebservice.videoLesson._staticInstance.getMostWatchedVideoList(onSuccess,onFailed,userContext); }
theWebservice.videoLesson.getCategoryLessons= function(theCategoryId,onSuccess,onFailed,userContext) {
/// <param name="theCategoryId" 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>
theWebservice.videoLesson._staticInstance.getCategoryLessons(theCategoryId,onSuccess,onFailed,userContext); }
theWebservice.videoLesson.getMainCategoryMenu= function(onSuccess,onFailed,userContext) {
/// <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>
theWebservice.videoLesson._staticInstance.getMainCategoryMenu(onSuccess,onFailed,userContext); }
theWebservice.videoLesson.getMainCategoryList= function(onSuccess,onFailed,userContext) {
/// <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>
theWebservice.videoLesson._staticInstance.getMainCategoryList(onSuccess,onFailed,userContext); }
theWebservice.videoLesson.getSubCategoryList= function(categoryId,onSuccess,onFailed,userContext) {
/// <param name="categoryId" 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>
theWebservice.videoLesson._staticInstance.getSubCategoryList(categoryId,onSuccess,onFailed,userContext); }
theWebservice.videoLesson.getMostWatchedLessons= function(onSuccess,onFailed,userContext) {
/// <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>
theWebservice.videoLesson._staticInstance.getMostWatchedLessons(onSuccess,onFailed,userContext); }
theWebservice.videoLesson.getNewest8Lessons= function(onSuccess,onFailed,userContext) {
/// <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>
theWebservice.videoLesson._staticInstance.getNewest8Lessons(onSuccess,onFailed,userContext); }
theWebservice.videoLesson.setTheBanners= function(theVideoId,onSuccess,onFailed,userContext) {
/// <param name="theVideoId" 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>
theWebservice.videoLesson._staticInstance.setTheBanners(theVideoId,onSuccess,onFailed,userContext); }
theWebservice.videoLesson.setTheCart= function(theCartValues,onSuccess,onFailed,userContext) {
/// <param name="theCartValues" 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>
theWebservice.videoLesson._staticInstance.setTheCart(theCartValues,onSuccess,onFailed,userContext); }
theWebservice.videoLesson.setTheDVDList= function(theName,theDVDURL,onSuccess,onFailed,userContext) {
/// <param name="theName" type="String">System.String</param>
/// <param name="theDVDURL" 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>
theWebservice.videoLesson._staticInstance.setTheDVDList(theName,theDVDURL,onSuccess,onFailed,userContext); }
theWebservice.videoLesson.getProductDemosLists= function(onSuccess,onFailed,userContext) {
/// <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>
theWebservice.videoLesson._staticInstance.getProductDemosLists(onSuccess,onFailed,userContext); }
theWebservice.videoLesson.setTheDemoImage= function(theImage,theTitle,theURL,onSuccess,onFailed,userContext) {
/// <param name="theImage" type="String">System.String</param>
/// <param name="theTitle" type="String">System.String</param>
/// <param name="theURL" 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>
theWebservice.videoLesson._staticInstance.setTheDemoImage(theImage,theTitle,theURL,onSuccess,onFailed,userContext); }
theWebservice.videoLesson.getSelectedDemoTitleDesc= function(theVideoDataId,onSuccess,onFailed,userContext) {
/// <param name="theVideoDataId" 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>
theWebservice.videoLesson._staticInstance.getSelectedDemoTitleDesc(theVideoDataId,onSuccess,onFailed,userContext); }
theWebservice.videoLesson.searchPageJavaScript= function(onSuccess,onFailed,userContext) {
/// <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>
theWebservice.videoLesson._staticInstance.searchPageJavaScript(onSuccess,onFailed,userContext); }
theWebservice.videoLesson.searchPageResults= function(theSearchString,onSuccess,onFailed,userContext) {
/// <param name="theSearchString" 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>
theWebservice.videoLesson._staticInstance.searchPageResults(theSearchString,onSuccess,onFailed,userContext); }
theWebservice.videoLesson.setThePlayer= function(source,onSuccess,onFailed,userContext) {
/// <param name="source" 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>
theWebservice.videoLesson._staticInstance.setThePlayer(source,onSuccess,onFailed,userContext); }

