Type.registerNamespace('DSInfo.Client.Web');
DSInfo.Client.Web.Services=function() {
DSInfo.Client.Web.Services.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
DSInfo.Client.Web.Services.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return DSInfo.Client.Web.Services._staticInstance.get_path();},
GenerateQL:function(lnk,desc,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GenerateQL',false,{lnk:lnk,desc:desc},succeededCallback,failedCallback,userContext); },
RemoveGuestPhoto:function(Name,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RemoveGuestPhoto',false,{Name:Name},succeededCallback,failedCallback,userContext); },
RenameGuestPhoto:function(oldName,newName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RenameGuestPhoto',false,{oldName:oldName,newName:newName},succeededCallback,failedCallback,userContext); },
GetGuestPhotoList:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetGuestPhotoList',false,{},succeededCallback,failedCallback,userContext); },
GetAllGuestPhotos:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAllGuestPhotos',false,{},succeededCallback,failedCallback,userContext); },
GetSimilarDancers:function(name,pageNo,pageSize,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSimilarDancers',false,{name:name,pageNo:pageNo,pageSize:pageSize},succeededCallback,failedCallback,userContext); },
GetSimilarCouples:function(name,pageNo,pageSize,photos,countryID,lang,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSimilarCouples',false,{name:name,pageNo:pageNo,pageSize:pageSize,photos:photos,countryID:countryID,lang:lang},succeededCallback,failedCallback,userContext); },
GetMenuContent:function(lang,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMenuContent',false,{lang:lang},succeededCallback,failedCallback,userContext); },
GetCompetitionList:function(countryID,town,started,name,lang,pageNo,pageSize,photosAvailable,videosAvailable,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCompetitionList',false,{countryID:countryID,town:town,started:started,name:name,lang:lang,pageNo:pageNo,pageSize:pageSize,photosAvailable:photosAvailable,videosAvailable:videosAvailable},succeededCallback,failedCallback,userContext); }}
DSInfo.Client.Web.Services.registerClass('DSInfo.Client.Web.Services',Sys.Net.WebServiceProxy);
DSInfo.Client.Web.Services._staticInstance = new DSInfo.Client.Web.Services();
DSInfo.Client.Web.Services.set_path = function(value) { DSInfo.Client.Web.Services._staticInstance.set_path(value); }
DSInfo.Client.Web.Services.get_path = function() { return DSInfo.Client.Web.Services._staticInstance.get_path(); }
DSInfo.Client.Web.Services.set_timeout = function(value) { DSInfo.Client.Web.Services._staticInstance.set_timeout(value); }
DSInfo.Client.Web.Services.get_timeout = function() { return DSInfo.Client.Web.Services._staticInstance.get_timeout(); }
DSInfo.Client.Web.Services.set_defaultUserContext = function(value) { DSInfo.Client.Web.Services._staticInstance.set_defaultUserContext(value); }
DSInfo.Client.Web.Services.get_defaultUserContext = function() { return DSInfo.Client.Web.Services._staticInstance.get_defaultUserContext(); }
DSInfo.Client.Web.Services.set_defaultSucceededCallback = function(value) { DSInfo.Client.Web.Services._staticInstance.set_defaultSucceededCallback(value); }
DSInfo.Client.Web.Services.get_defaultSucceededCallback = function() { return DSInfo.Client.Web.Services._staticInstance.get_defaultSucceededCallback(); }
DSInfo.Client.Web.Services.set_defaultFailedCallback = function(value) { DSInfo.Client.Web.Services._staticInstance.set_defaultFailedCallback(value); }
DSInfo.Client.Web.Services.get_defaultFailedCallback = function() { return DSInfo.Client.Web.Services._staticInstance.get_defaultFailedCallback(); }
DSInfo.Client.Web.Services.set_path("/Services.asmx");
DSInfo.Client.Web.Services.GenerateQL= function(lnk,desc,onSuccess,onFailed,userContext) {DSInfo.Client.Web.Services._staticInstance.GenerateQL(lnk,desc,onSuccess,onFailed,userContext); }
DSInfo.Client.Web.Services.RemoveGuestPhoto= function(Name,onSuccess,onFailed,userContext) {DSInfo.Client.Web.Services._staticInstance.RemoveGuestPhoto(Name,onSuccess,onFailed,userContext); }
DSInfo.Client.Web.Services.RenameGuestPhoto= function(oldName,newName,onSuccess,onFailed,userContext) {DSInfo.Client.Web.Services._staticInstance.RenameGuestPhoto(oldName,newName,onSuccess,onFailed,userContext); }
DSInfo.Client.Web.Services.GetGuestPhotoList= function(onSuccess,onFailed,userContext) {DSInfo.Client.Web.Services._staticInstance.GetGuestPhotoList(onSuccess,onFailed,userContext); }
DSInfo.Client.Web.Services.GetAllGuestPhotos= function(onSuccess,onFailed,userContext) {DSInfo.Client.Web.Services._staticInstance.GetAllGuestPhotos(onSuccess,onFailed,userContext); }
DSInfo.Client.Web.Services.GetSimilarDancers= function(name,pageNo,pageSize,onSuccess,onFailed,userContext) {DSInfo.Client.Web.Services._staticInstance.GetSimilarDancers(name,pageNo,pageSize,onSuccess,onFailed,userContext); }
DSInfo.Client.Web.Services.GetSimilarCouples= function(name,pageNo,pageSize,photos,countryID,lang,onSuccess,onFailed,userContext) {DSInfo.Client.Web.Services._staticInstance.GetSimilarCouples(name,pageNo,pageSize,photos,countryID,lang,onSuccess,onFailed,userContext); }
DSInfo.Client.Web.Services.GetMenuContent= function(lang,onSuccess,onFailed,userContext) {DSInfo.Client.Web.Services._staticInstance.GetMenuContent(lang,onSuccess,onFailed,userContext); }
DSInfo.Client.Web.Services.GetCompetitionList= function(countryID,town,started,name,lang,pageNo,pageSize,photosAvailable,videosAvailable,onSuccess,onFailed,userContext) {DSInfo.Client.Web.Services._staticInstance.GetCompetitionList(countryID,town,started,name,lang,pageNo,pageSize,photosAvailable,videosAvailable,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(DSInfo.Client.Web.FileInformation) === 'undefined') {
DSInfo.Client.Web.FileInformation=gtc("DSInfo.Client.Web.FileInformation");
DSInfo.Client.Web.FileInformation.registerClass('DSInfo.Client.Web.FileInformation');
}
if (typeof(DSInfo.Client.Web.SearchPersonRow) === 'undefined') {
DSInfo.Client.Web.SearchPersonRow=gtc("DSInfo.Client.Web.SearchPersonRow");
DSInfo.Client.Web.SearchPersonRow.registerClass('DSInfo.Client.Web.SearchPersonRow');
}
if (typeof(DSInfo.Client.Web.SearchCoupleResult) === 'undefined') {
DSInfo.Client.Web.SearchCoupleResult=gtc("DSInfo.Client.Web.SearchCoupleResult");
DSInfo.Client.Web.SearchCoupleResult.registerClass('DSInfo.Client.Web.SearchCoupleResult');
}
if (typeof(DSInfo.Client.Web.SearchCompResult) === 'undefined') {
DSInfo.Client.Web.SearchCompResult=gtc("DSInfo.Client.Web.SearchCompResult");
DSInfo.Client.Web.SearchCompResult.registerClass('DSInfo.Client.Web.SearchCompResult');
}
