var PropertyService=function() {
PropertyService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PropertyService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return PropertyService._staticInstance.get_path();},
Search:function(departmentIds,latitude,longitude,searchRadius,minimumPrice,maximumPrice,minimumBedrooms,propertyTypes,excludeSold,daysUpdatedWithin,sortField,sortAscending,pageNum,pageSize,alertemail_days,furnished_status,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Search',false,{departmentIds:departmentIds,latitude:latitude,longitude:longitude,searchRadius:searchRadius,minimumPrice:minimumPrice,maximumPrice:maximumPrice,minimumBedrooms:minimumBedrooms,propertyTypes:propertyTypes,excludeSold:excludeSold,daysUpdatedWithin:daysUpdatedWithin,sortField:sortField,sortAscending:sortAscending,pageNum:pageNum,pageSize:pageSize,alertemail_days:alertemail_days,furnished_status:furnished_status},succeededCallback,failedCallback,userContext); },
InvestmentSearch:function(departmentIds,latitude,longitude,searchRadius,minimumPrice,maximumPrice,minimumBedrooms,propertyTypes,excludeSold,daysUpdatedWithin,sortField,sortAscending,pageNum,pageSize,alertemail_days,furnished_status,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'InvestmentSearch',false,{departmentIds:departmentIds,latitude:latitude,longitude:longitude,searchRadius:searchRadius,minimumPrice:minimumPrice,maximumPrice:maximumPrice,minimumBedrooms:minimumBedrooms,propertyTypes:propertyTypes,excludeSold:excludeSold,daysUpdatedWithin:daysUpdatedWithin,sortField:sortField,sortAscending:sortAscending,pageNum:pageNum,pageSize:pageSize,alertemail_days:alertemail_days,furnished_status:furnished_status},succeededCallback,failedCallback,userContext); },
GetProperty:function(propertyId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProperty',false,{propertyId:propertyId},succeededCallback,failedCallback,userContext); },
GetDevelopmentID:function(propertyId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDevelopmentID',false,{propertyId:propertyId},succeededCallback,failedCallback,userContext); },
GetPropertyReference:function(searchTerm,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPropertyReference',false,{searchTerm:searchTerm},succeededCallback,failedCallback,userContext); },
GetDevelopmentProperties:function(DevelopmentId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDevelopmentProperties',false,{DevelopmentId:DevelopmentId},succeededCallback,failedCallback,userContext); },
GetRecentlySoldLetProperties:function(type,soldWithin,minPrice,maxPrice,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRecentlySoldLetProperties',false,{type:type,soldWithin:soldWithin,minPrice:minPrice,maxPrice:maxPrice},succeededCallback,failedCallback,userContext); },
InsertWatch:function(Obj,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'InsertWatch',false,{Obj:Obj},succeededCallback,failedCallback,userContext); },
GetLocationLatLng:function(searchTerm,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLocationLatLng',false,{searchTerm:searchTerm},succeededCallback,failedCallback,userContext); },
GetLocationRadius:function(searchTerm,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLocationRadius',false,{searchTerm:searchTerm},succeededCallback,failedCallback,userContext); },
GetLettingRooms:function(propertyId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLettingRooms',false,{propertyId:propertyId},succeededCallback,failedCallback,userContext); },
IsLocationCustom:function(latlng,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'IsLocationCustom',false,{latlng:latlng},succeededCallback,failedCallback,userContext); },
LoadCustomSearchProperties:function(boundsCSV,pathCSV,departmentIds,minimumPrice,maximumPrice,minimumBedrooms,propertyTypes,excludeSold,daysUpdatedWithin,sortField,sortAscending,alertemail_days,furnished_status,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadCustomSearchProperties',false,{boundsCSV:boundsCSV,pathCSV:pathCSV,departmentIds:departmentIds,minimumPrice:minimumPrice,maximumPrice:maximumPrice,minimumBedrooms:minimumBedrooms,propertyTypes:propertyTypes,excludeSold:excludeSold,daysUpdatedWithin:daysUpdatedWithin,sortField:sortField,sortAscending:sortAscending,alertemail_days:alertemail_days,furnished_status:furnished_status},succeededCallback,failedCallback,userContext); },
GetSalesDepartmentIds:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSalesDepartmentIds',false,{},succeededCallback,failedCallback,userContext); },
GetStatusIdsExSold:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetStatusIdsExSold',false,{},succeededCallback,failedCallback,userContext); },
GetStatusIdsIncSold:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetStatusIdsIncSold',false,{},succeededCallback,failedCallback,userContext); },
GetHousePropertyTypes:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetHousePropertyTypes',false,{},succeededCallback,failedCallback,userContext); },
GetFlatPropertyTypes:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetFlatPropertyTypes',false,{},succeededCallback,failedCallback,userContext); },
GetBungalowPropertyTypes:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetBungalowPropertyTypes',false,{},succeededCallback,failedCallback,userContext); },
GetAutoCompleteLocation:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAutoCompleteLocation',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetPremiumMainImages:function(property,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPremiumMainImages',false,{property:property},succeededCallback,failedCallback,userContext); },
GetPremiumImages:function(property,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPremiumImages',false,{property:property},succeededCallback,failedCallback,userContext); },
GetBulletPoints:function(bulletPoints,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetBulletPoints',false,{bulletPoints:bulletPoints},succeededCallback,failedCallback,userContext); },
GetPriceType:function(priceType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPriceType',false,{priceType:priceType},succeededCallback,failedCallback,userContext); },
ShowPrice:function(price,priceType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ShowPrice',false,{price:price,priceType:priceType},succeededCallback,failedCallback,userContext); }}
PropertyService.registerClass('PropertyService',Sys.Net.WebServiceProxy);
PropertyService._staticInstance = new PropertyService();
PropertyService.set_path = function(value) { PropertyService._staticInstance.set_path(value); }
PropertyService.get_path = function() { return PropertyService._staticInstance.get_path(); }
PropertyService.set_timeout = function(value) { PropertyService._staticInstance.set_timeout(value); }
PropertyService.get_timeout = function() { return PropertyService._staticInstance.get_timeout(); }
PropertyService.set_defaultUserContext = function(value) { PropertyService._staticInstance.set_defaultUserContext(value); }
PropertyService.get_defaultUserContext = function() { return PropertyService._staticInstance.get_defaultUserContext(); }
PropertyService.set_defaultSucceededCallback = function(value) { PropertyService._staticInstance.set_defaultSucceededCallback(value); }
PropertyService.get_defaultSucceededCallback = function() { return PropertyService._staticInstance.get_defaultSucceededCallback(); }
PropertyService.set_defaultFailedCallback = function(value) { PropertyService._staticInstance.set_defaultFailedCallback(value); }
PropertyService.get_defaultFailedCallback = function() { return PropertyService._staticInstance.get_defaultFailedCallback(); }
PropertyService.set_enableJsonp = function(value) { PropertyService._staticInstance.set_enableJsonp(value); }
PropertyService.get_enableJsonp = function() { return PropertyService._staticInstance.get_enableJsonp(); }
PropertyService.set_jsonpCallbackParameter = function(value) { PropertyService._staticInstance.set_jsonpCallbackParameter(value); }
PropertyService.get_jsonpCallbackParameter = function() { return PropertyService._staticInstance.get_jsonpCallbackParameter(); }
PropertyService.set_path("/Services/PropertyService.asmx");
PropertyService.Search= function(departmentIds,latitude,longitude,searchRadius,minimumPrice,maximumPrice,minimumBedrooms,propertyTypes,excludeSold,daysUpdatedWithin,sortField,sortAscending,pageNum,pageSize,alertemail_days,furnished_status,onSuccess,onFailed,userContext) {PropertyService._staticInstance.Search(departmentIds,latitude,longitude,searchRadius,minimumPrice,maximumPrice,minimumBedrooms,propertyTypes,excludeSold,daysUpdatedWithin,sortField,sortAscending,pageNum,pageSize,alertemail_days,furnished_status,onSuccess,onFailed,userContext); }
PropertyService.InvestmentSearch= function(departmentIds,latitude,longitude,searchRadius,minimumPrice,maximumPrice,minimumBedrooms,propertyTypes,excludeSold,daysUpdatedWithin,sortField,sortAscending,pageNum,pageSize,alertemail_days,furnished_status,onSuccess,onFailed,userContext) {PropertyService._staticInstance.InvestmentSearch(departmentIds,latitude,longitude,searchRadius,minimumPrice,maximumPrice,minimumBedrooms,propertyTypes,excludeSold,daysUpdatedWithin,sortField,sortAscending,pageNum,pageSize,alertemail_days,furnished_status,onSuccess,onFailed,userContext); }
PropertyService.GetProperty= function(propertyId,onSuccess,onFailed,userContext) {PropertyService._staticInstance.GetProperty(propertyId,onSuccess,onFailed,userContext); }
PropertyService.GetDevelopmentID= function(propertyId,onSuccess,onFailed,userContext) {PropertyService._staticInstance.GetDevelopmentID(propertyId,onSuccess,onFailed,userContext); }
PropertyService.GetPropertyReference= function(searchTerm,onSuccess,onFailed,userContext) {PropertyService._staticInstance.GetPropertyReference(searchTerm,onSuccess,onFailed,userContext); }
PropertyService.GetDevelopmentProperties= function(DevelopmentId,onSuccess,onFailed,userContext) {PropertyService._staticInstance.GetDevelopmentProperties(DevelopmentId,onSuccess,onFailed,userContext); }
PropertyService.GetRecentlySoldLetProperties= function(type,soldWithin,minPrice,maxPrice,onSuccess,onFailed,userContext) {PropertyService._staticInstance.GetRecentlySoldLetProperties(type,soldWithin,minPrice,maxPrice,onSuccess,onFailed,userContext); }
PropertyService.InsertWatch= function(Obj,onSuccess,onFailed,userContext) {PropertyService._staticInstance.InsertWatch(Obj,onSuccess,onFailed,userContext); }
PropertyService.GetLocationLatLng= function(searchTerm,onSuccess,onFailed,userContext) {PropertyService._staticInstance.GetLocationLatLng(searchTerm,onSuccess,onFailed,userContext); }
PropertyService.GetLocationRadius= function(searchTerm,onSuccess,onFailed,userContext) {PropertyService._staticInstance.GetLocationRadius(searchTerm,onSuccess,onFailed,userContext); }
PropertyService.GetLettingRooms= function(propertyId,onSuccess,onFailed,userContext) {PropertyService._staticInstance.GetLettingRooms(propertyId,onSuccess,onFailed,userContext); }
PropertyService.IsLocationCustom= function(latlng,onSuccess,onFailed,userContext) {PropertyService._staticInstance.IsLocationCustom(latlng,onSuccess,onFailed,userContext); }
PropertyService.LoadCustomSearchProperties= function(boundsCSV,pathCSV,departmentIds,minimumPrice,maximumPrice,minimumBedrooms,propertyTypes,excludeSold,daysUpdatedWithin,sortField,sortAscending,alertemail_days,furnished_status,onSuccess,onFailed,userContext) {PropertyService._staticInstance.LoadCustomSearchProperties(boundsCSV,pathCSV,departmentIds,minimumPrice,maximumPrice,minimumBedrooms,propertyTypes,excludeSold,daysUpdatedWithin,sortField,sortAscending,alertemail_days,furnished_status,onSuccess,onFailed,userContext); }
PropertyService.GetSalesDepartmentIds= function(onSuccess,onFailed,userContext) {PropertyService._staticInstance.GetSalesDepartmentIds(onSuccess,onFailed,userContext); }
PropertyService.GetStatusIdsExSold= function(onSuccess,onFailed,userContext) {PropertyService._staticInstance.GetStatusIdsExSold(onSuccess,onFailed,userContext); }
PropertyService.GetStatusIdsIncSold= function(onSuccess,onFailed,userContext) {PropertyService._staticInstance.GetStatusIdsIncSold(onSuccess,onFailed,userContext); }
PropertyService.GetHousePropertyTypes= function(onSuccess,onFailed,userContext) {PropertyService._staticInstance.GetHousePropertyTypes(onSuccess,onFailed,userContext); }
PropertyService.GetFlatPropertyTypes= function(onSuccess,onFailed,userContext) {PropertyService._staticInstance.GetFlatPropertyTypes(onSuccess,onFailed,userContext); }
PropertyService.GetBungalowPropertyTypes= function(onSuccess,onFailed,userContext) {PropertyService._staticInstance.GetBungalowPropertyTypes(onSuccess,onFailed,userContext); }
PropertyService.GetAutoCompleteLocation= function(prefixText,count,onSuccess,onFailed,userContext) {PropertyService._staticInstance.GetAutoCompleteLocation(prefixText,count,onSuccess,onFailed,userContext); }
PropertyService.GetPremiumMainImages= function(property,onSuccess,onFailed,userContext) {PropertyService._staticInstance.GetPremiumMainImages(property,onSuccess,onFailed,userContext); }
PropertyService.GetPremiumImages= function(property,onSuccess,onFailed,userContext) {PropertyService._staticInstance.GetPremiumImages(property,onSuccess,onFailed,userContext); }
PropertyService.GetBulletPoints= function(bulletPoints,onSuccess,onFailed,userContext) {PropertyService._staticInstance.GetBulletPoints(bulletPoints,onSuccess,onFailed,userContext); }
PropertyService.GetPriceType= function(priceType,onSuccess,onFailed,userContext) {PropertyService._staticInstance.GetPriceType(priceType,onSuccess,onFailed,userContext); }
PropertyService.ShowPrice= function(price,priceType,onSuccess,onFailed,userContext) {PropertyService._staticInstance.ShowPrice(price,priceType,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Property) === 'undefined') {
var Property=gtc("Property");
Property.registerClass('Property');
}
if (typeof(LatLng) === 'undefined') {
var LatLng=gtc("LatLng");
LatLng.registerClass('LatLng');
}
if (typeof(Room) === 'undefined') {
var Room=gtc("Room");
Room.registerClass('Room');
}

