Type.registerNamespace('PlanetEye.WebSite.WebService');
PlanetEye.WebSite.WebService.AjaxService=function() {
PlanetEye.WebSite.WebService.AjaxService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PlanetEye.WebSite.WebService.AjaxService.prototype={
GetCountryListByOwner:function(OwnerID,succeededCallback, failedCallback, userContext) {
return this._invoke(PlanetEye.WebSite.WebService.AjaxService.get_path(), 'GetCountryListByOwner',false,{OwnerID:OwnerID},succeededCallback,failedCallback,userContext); },
MediaCityCount_GetCityListForCountry:function(OwnerID,CountryID,succeededCallback, failedCallback, userContext) {
return this._invoke(PlanetEye.WebSite.WebService.AjaxService.get_path(), 'MediaCityCount_GetCityListForCountry',false,{OwnerID:OwnerID,CountryID:CountryID},succeededCallback,failedCallback,userContext); },
GetShortURL:function(longURL,succeededCallback, failedCallback, userContext) {
return this._invoke(PlanetEye.WebSite.WebService.AjaxService.get_path(), 'GetShortURL',false,{longURL:longURL},succeededCallback,failedCallback,userContext); },
GetEmbeddedMapParameters:function(longUrl,succeededCallback, failedCallback, userContext) {
return this._invoke(PlanetEye.WebSite.WebService.AjaxService.get_path(), 'GetEmbeddedMapParameters',false,{longUrl:longUrl},succeededCallback,failedCallback,userContext); },
DisableNewProfileTips:function(succeededCallback, failedCallback, userContext) {
return this._invoke(PlanetEye.WebSite.WebService.AjaxService.get_path(), 'DisableNewProfileTips',false,{},succeededCallback,failedCallback,userContext); }}
PlanetEye.WebSite.WebService.AjaxService.registerClass('PlanetEye.WebSite.WebService.AjaxService',Sys.Net.WebServiceProxy);
PlanetEye.WebSite.WebService.AjaxService._staticInstance = new PlanetEye.WebSite.WebService.AjaxService();
PlanetEye.WebSite.WebService.AjaxService.set_path = function(value) { PlanetEye.WebSite.WebService.AjaxService._staticInstance._path = value; }
PlanetEye.WebSite.WebService.AjaxService.get_path = function() { return PlanetEye.WebSite.WebService.AjaxService._staticInstance._path; }
PlanetEye.WebSite.WebService.AjaxService.set_timeout = function(value) { PlanetEye.WebSite.WebService.AjaxService._staticInstance._timeout = value; }
PlanetEye.WebSite.WebService.AjaxService.get_timeout = function() { return PlanetEye.WebSite.WebService.AjaxService._staticInstance._timeout; }
PlanetEye.WebSite.WebService.AjaxService.set_defaultUserContext = function(value) { PlanetEye.WebSite.WebService.AjaxService._staticInstance._userContext = value; }
PlanetEye.WebSite.WebService.AjaxService.get_defaultUserContext = function() { return PlanetEye.WebSite.WebService.AjaxService._staticInstance._userContext; }
PlanetEye.WebSite.WebService.AjaxService.set_defaultSucceededCallback = function(value) { PlanetEye.WebSite.WebService.AjaxService._staticInstance._succeeded = value; }
PlanetEye.WebSite.WebService.AjaxService.get_defaultSucceededCallback = function() { return PlanetEye.WebSite.WebService.AjaxService._staticInstance._succeeded; }
PlanetEye.WebSite.WebService.AjaxService.set_defaultFailedCallback = function(value) { PlanetEye.WebSite.WebService.AjaxService._staticInstance._failed = value; }
PlanetEye.WebSite.WebService.AjaxService.get_defaultFailedCallback = function() { return PlanetEye.WebSite.WebService.AjaxService._staticInstance._failed; }
PlanetEye.WebSite.WebService.AjaxService.set_path("/WebService/AjaxService.asmx");
PlanetEye.WebSite.WebService.AjaxService.GetCountryListByOwner= function(OwnerID,onSuccess,onFailed,userContext) {PlanetEye.WebSite.WebService.AjaxService._staticInstance.GetCountryListByOwner(OwnerID,onSuccess,onFailed,userContext); }
PlanetEye.WebSite.WebService.AjaxService.MediaCityCount_GetCityListForCountry= function(OwnerID,CountryID,onSuccess,onFailed,userContext) {PlanetEye.WebSite.WebService.AjaxService._staticInstance.MediaCityCount_GetCityListForCountry(OwnerID,CountryID,onSuccess,onFailed,userContext); }
PlanetEye.WebSite.WebService.AjaxService.GetShortURL= function(longURL,onSuccess,onFailed,userContext) {PlanetEye.WebSite.WebService.AjaxService._staticInstance.GetShortURL(longURL,onSuccess,onFailed,userContext); }
PlanetEye.WebSite.WebService.AjaxService.GetEmbeddedMapParameters= function(longUrl,onSuccess,onFailed,userContext) {PlanetEye.WebSite.WebService.AjaxService._staticInstance.GetEmbeddedMapParameters(longUrl,onSuccess,onFailed,userContext); }
PlanetEye.WebSite.WebService.AjaxService.DisableNewProfileTips= function(onSuccess,onFailed,userContext) {PlanetEye.WebSite.WebService.AjaxService._staticInstance.DisableNewProfileTips(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('PlanetEye.Data');
if (typeof(PlanetEye.Data.MediaCityCountCountries) === 'undefined') {
PlanetEye.Data.MediaCityCountCountries=gtc("PlanetEye.Data.MediaCityCountCountries");
PlanetEye.Data.MediaCityCountCountries.registerClass('PlanetEye.Data.MediaCityCountCountries');
}
if (typeof(PlanetEye.WebSite.WebService.EmbeddedMapParameters) === 'undefined') {
PlanetEye.WebSite.WebService.EmbeddedMapParameters=gtc("PlanetEye.WebSite.WebService.EmbeddedMapParameters");
PlanetEye.WebSite.WebService.EmbeddedMapParameters.registerClass('PlanetEye.WebSite.WebService.EmbeddedMapParameters');
}
