Type.registerNamespace('Pulte08.AjaxWebServices');
Pulte08.AjaxWebServices.MapService=function() {
Pulte08.AjaxWebServices.MapService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Pulte08.AjaxWebServices.MapService.prototype={
FilterByGeo:function(pBrandId,northEastLat,northEastLng,southWestLat,southWestLng,succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'FilterByGeo',false,{pBrandId:pBrandId,northEastLat:northEastLat,northEastLng:northEastLng,southWestLat:southWestLat,southWestLng:southWestLng},succeededCallback,failedCallback,userContext); },
FilterByGeoCenter:function(pBrandId,northEastLat,northEastLng,southWestLat,southWestLng,centerLat,centerLng,succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'FilterByGeoCenter',false,{pBrandId:pBrandId,northEastLat:northEastLat,northEastLng:northEastLng,southWestLat:southWestLat,southWestLng:southWestLng,centerLat:centerLat,centerLng:centerLng},succeededCallback,failedCallback,userContext); },
FindByGeo:function(pBrandId,northEastLat,northEastLng,southWestLat,southWestLng,succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'FindByGeo',false,{pBrandId:pBrandId,northEastLat:northEastLat,northEastLng:northEastLng,southWestLat:southWestLat,southWestLng:southWestLng},succeededCallback,failedCallback,userContext); },
FilterByQueryString:function(searchParams,succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'FilterByQueryString',false,{searchParams:searchParams},succeededCallback,failedCallback,userContext); },
FilterByBrand:function(pBrandIds,succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'FilterByBrand',false,{pBrandIds:pBrandIds},succeededCallback,failedCallback,userContext); },
GetSearchURL:function(succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'GetSearchURL',false,{},succeededCallback,failedCallback,userContext); },
FilterCommunitiesByState:function(pStateIdOrCode,succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'FilterCommunitiesByState',false,{pStateIdOrCode:pStateIdOrCode},succeededCallback,failedCallback,userContext); },
FilterCommunitiesByRegion:function(pRegionId,succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'FilterCommunitiesByRegion',false,{pRegionId:pRegionId},succeededCallback,failedCallback,userContext); },
FilterCommunitiesByMetro:function(pMetroId,succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'FilterCommunitiesByMetro',false,{pMetroId:pMetroId},succeededCallback,failedCallback,userContext); },
FilterByBedrooms:function(pBrandId,pSelectedBedrooms,succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'FilterByBedrooms',false,{pBrandId:pBrandId,pSelectedBedrooms:pSelectedBedrooms},succeededCallback,failedCallback,userContext); },
FilterByBathrooms:function(pBrandId,pSelectedBathrooms,succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'FilterByBathrooms',false,{pBrandId:pBrandId,pSelectedBathrooms:pSelectedBathrooms},succeededCallback,failedCallback,userContext); },
FilterByGarage:function(pBrandId,pSelectedGarage,succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'FilterByGarage',false,{pBrandId:pBrandId,pSelectedGarage:pSelectedGarage},succeededCallback,failedCallback,userContext); },
FilterByPrice:function(pBrandId,pPriceList,succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'FilterByPrice',false,{pBrandId:pBrandId,pPriceList:pPriceList},succeededCallback,failedCallback,userContext); },
FilterBySquareFootage:function(pBrandId,pSelectedSqFt,succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'FilterBySquareFootage',false,{pBrandId:pBrandId,pSelectedSqFt:pSelectedSqFt},succeededCallback,failedCallback,userContext); },
FilterByStories:function(pBrandId,pSelectedStories,succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'FilterByStories',false,{pBrandId:pBrandId,pSelectedStories:pSelectedStories},succeededCallback,failedCallback,userContext); },
FilterByHomeType:function(pBrandId,pSelectedHomeType,succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'FilterByHomeType',false,{pBrandId:pBrandId,pSelectedHomeType:pSelectedHomeType},succeededCallback,failedCallback,userContext); },
FilterByCommunityType:function(pBrandId,pSelectedCommunityType,succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'FilterByCommunityType',false,{pBrandId:pBrandId,pSelectedCommunityType:pSelectedCommunityType},succeededCallback,failedCallback,userContext); },
FilterBySubBrand:function(pBrandId,pSelectedSubBrand,succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'FilterBySubBrand',false,{pBrandId:pBrandId,pSelectedSubBrand:pSelectedSubBrand},succeededCallback,failedCallback,userContext); },
FilterByPOI:function(pBrandId,pSelectedPOI,succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'FilterByPOI',false,{pBrandId:pBrandId,pSelectedPOI:pSelectedPOI},succeededCallback,failedCallback,userContext); },
FilterByActiveAdult:function(pBrandId,pActiveAdult,succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'FilterByActiveAdult',false,{pBrandId:pBrandId,pActiveAdult:pActiveAdult},succeededCallback,failedCallback,userContext); },
SetParameterHomesAvailableNow:function(pBrandId,pHomesAvailableNow,succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'SetParameterHomesAvailableNow',false,{pBrandId:pBrandId,pHomesAvailableNow:pHomesAvailableNow},succeededCallback,failedCallback,userContext); },
FilterByHomesAvailableNow:function(pBrandId,pHomesAvailableNow,succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'FilterByHomesAvailableNow',false,{pBrandId:pBrandId,pHomesAvailableNow:pHomesAvailableNow},succeededCallback,failedCallback,userContext); },
ResetAllSearchParametersSetBrand:function(brandID,succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'ResetAllSearchParametersSetBrand',false,{brandID:brandID},succeededCallback,failedCallback,userContext); },
ResetAllSearchParameters:function(succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'ResetAllSearchParameters',false,{},succeededCallback,failedCallback,userContext); },
ResetBedroomsAndBathrooms:function(succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'ResetBedroomsAndBathrooms',false,{},succeededCallback,failedCallback,userContext); },
OrderBy:function(columnName,succeededCallback, failedCallback, userContext) {
return this._invoke(Pulte08.AjaxWebServices.MapService.get_path(), 'OrderBy',false,{columnName:columnName},succeededCallback,failedCallback,userContext); }}
Pulte08.AjaxWebServices.MapService.registerClass('Pulte08.AjaxWebServices.MapService',Sys.Net.WebServiceProxy);
Pulte08.AjaxWebServices.MapService._staticInstance = new Pulte08.AjaxWebServices.MapService();
Pulte08.AjaxWebServices.MapService.set_path = function(value) { Pulte08.AjaxWebServices.MapService._staticInstance._path = value; }
Pulte08.AjaxWebServices.MapService.get_path = function() { return Pulte08.AjaxWebServices.MapService._staticInstance._path; }
Pulte08.AjaxWebServices.MapService.set_timeout = function(value) { Pulte08.AjaxWebServices.MapService._staticInstance._timeout = value; }
Pulte08.AjaxWebServices.MapService.get_timeout = function() { return Pulte08.AjaxWebServices.MapService._staticInstance._timeout; }
Pulte08.AjaxWebServices.MapService.set_defaultUserContext = function(value) { Pulte08.AjaxWebServices.MapService._staticInstance._userContext = value; }
Pulte08.AjaxWebServices.MapService.get_defaultUserContext = function() { return Pulte08.AjaxWebServices.MapService._staticInstance._userContext; }
Pulte08.AjaxWebServices.MapService.set_defaultSucceededCallback = function(value) { Pulte08.AjaxWebServices.MapService._staticInstance._succeeded = value; }
Pulte08.AjaxWebServices.MapService.get_defaultSucceededCallback = function() { return Pulte08.AjaxWebServices.MapService._staticInstance._succeeded; }
Pulte08.AjaxWebServices.MapService.set_defaultFailedCallback = function(value) { Pulte08.AjaxWebServices.MapService._staticInstance._failed = value; }
Pulte08.AjaxWebServices.MapService.get_defaultFailedCallback = function() { return Pulte08.AjaxWebServices.MapService._staticInstance._failed; }
Pulte08.AjaxWebServices.MapService.set_path("/AjaxWebServices/MapService.asmx");
Pulte08.AjaxWebServices.MapService.FilterByGeo= function(pBrandId,northEastLat,northEastLng,southWestLat,southWestLng,onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.FilterByGeo(pBrandId,northEastLat,northEastLng,southWestLat,southWestLng,onSuccess,onFailed,userContext); }
Pulte08.AjaxWebServices.MapService.FilterByGeoCenter= function(pBrandId,northEastLat,northEastLng,southWestLat,southWestLng,centerLat,centerLng,onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.FilterByGeoCenter(pBrandId,northEastLat,northEastLng,southWestLat,southWestLng,centerLat,centerLng,onSuccess,onFailed,userContext); }
Pulte08.AjaxWebServices.MapService.FindByGeo= function(pBrandId,northEastLat,northEastLng,southWestLat,southWestLng,onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.FindByGeo(pBrandId,northEastLat,northEastLng,southWestLat,southWestLng,onSuccess,onFailed,userContext); }
Pulte08.AjaxWebServices.MapService.FilterByQueryString= function(searchParams,onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.FilterByQueryString(searchParams,onSuccess,onFailed,userContext); }
Pulte08.AjaxWebServices.MapService.FilterByBrand= function(pBrandIds,onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.FilterByBrand(pBrandIds,onSuccess,onFailed,userContext); }
Pulte08.AjaxWebServices.MapService.GetSearchURL= function(onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.GetSearchURL(onSuccess,onFailed,userContext); }
Pulte08.AjaxWebServices.MapService.FilterCommunitiesByState= function(pStateIdOrCode,onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.FilterCommunitiesByState(pStateIdOrCode,onSuccess,onFailed,userContext); }
Pulte08.AjaxWebServices.MapService.FilterCommunitiesByRegion= function(pRegionId,onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.FilterCommunitiesByRegion(pRegionId,onSuccess,onFailed,userContext); }
Pulte08.AjaxWebServices.MapService.FilterCommunitiesByMetro= function(pMetroId,onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.FilterCommunitiesByMetro(pMetroId,onSuccess,onFailed,userContext); }
Pulte08.AjaxWebServices.MapService.FilterByBedrooms= function(pBrandId,pSelectedBedrooms,onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.FilterByBedrooms(pBrandId,pSelectedBedrooms,onSuccess,onFailed,userContext); }
Pulte08.AjaxWebServices.MapService.FilterByBathrooms= function(pBrandId,pSelectedBathrooms,onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.FilterByBathrooms(pBrandId,pSelectedBathrooms,onSuccess,onFailed,userContext); }
Pulte08.AjaxWebServices.MapService.FilterByGarage= function(pBrandId,pSelectedGarage,onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.FilterByGarage(pBrandId,pSelectedGarage,onSuccess,onFailed,userContext); }
Pulte08.AjaxWebServices.MapService.FilterByPrice= function(pBrandId,pPriceList,onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.FilterByPrice(pBrandId,pPriceList,onSuccess,onFailed,userContext); }
Pulte08.AjaxWebServices.MapService.FilterBySquareFootage= function(pBrandId,pSelectedSqFt,onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.FilterBySquareFootage(pBrandId,pSelectedSqFt,onSuccess,onFailed,userContext); }
Pulte08.AjaxWebServices.MapService.FilterByStories= function(pBrandId,pSelectedStories,onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.FilterByStories(pBrandId,pSelectedStories,onSuccess,onFailed,userContext); }
Pulte08.AjaxWebServices.MapService.FilterByHomeType= function(pBrandId,pSelectedHomeType,onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.FilterByHomeType(pBrandId,pSelectedHomeType,onSuccess,onFailed,userContext); }
Pulte08.AjaxWebServices.MapService.FilterByCommunityType= function(pBrandId,pSelectedCommunityType,onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.FilterByCommunityType(pBrandId,pSelectedCommunityType,onSuccess,onFailed,userContext); }
Pulte08.AjaxWebServices.MapService.FilterBySubBrand= function(pBrandId,pSelectedSubBrand,onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.FilterBySubBrand(pBrandId,pSelectedSubBrand,onSuccess,onFailed,userContext); }
Pulte08.AjaxWebServices.MapService.FilterByPOI= function(pBrandId,pSelectedPOI,onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.FilterByPOI(pBrandId,pSelectedPOI,onSuccess,onFailed,userContext); }
Pulte08.AjaxWebServices.MapService.FilterByActiveAdult= function(pBrandId,pActiveAdult,onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.FilterByActiveAdult(pBrandId,pActiveAdult,onSuccess,onFailed,userContext); }
Pulte08.AjaxWebServices.MapService.SetParameterHomesAvailableNow= function(pBrandId,pHomesAvailableNow,onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.SetParameterHomesAvailableNow(pBrandId,pHomesAvailableNow,onSuccess,onFailed,userContext); }
Pulte08.AjaxWebServices.MapService.FilterByHomesAvailableNow= function(pBrandId,pHomesAvailableNow,onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.FilterByHomesAvailableNow(pBrandId,pHomesAvailableNow,onSuccess,onFailed,userContext); }
Pulte08.AjaxWebServices.MapService.ResetAllSearchParametersSetBrand= function(brandID,onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.ResetAllSearchParametersSetBrand(brandID,onSuccess,onFailed,userContext); }
Pulte08.AjaxWebServices.MapService.ResetAllSearchParameters= function(onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.ResetAllSearchParameters(onSuccess,onFailed,userContext); }
Pulte08.AjaxWebServices.MapService.ResetBedroomsAndBathrooms= function(onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.ResetBedroomsAndBathrooms(onSuccess,onFailed,userContext); }
Pulte08.AjaxWebServices.MapService.OrderBy= function(columnName,onSuccess,onFailed,userContext) {Pulte08.AjaxWebServices.MapService._staticInstance.OrderBy(columnName,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Pulte08.BusinessServices');
if (typeof(Pulte08.BusinessServices.SearchResult) === 'undefined') {
Pulte08.BusinessServices.SearchResult=gtc("Pulte08.BusinessServices.SearchResult");
Pulte08.BusinessServices.SearchResult.registerClass('Pulte08.BusinessServices.SearchResult');
}
if (typeof(Pulte08.BusinessServices.SearchParams) === 'undefined') {
Pulte08.BusinessServices.SearchParams=gtc("Pulte08.BusinessServices.SearchParams");
Pulte08.BusinessServices.SearchParams.registerClass('Pulte08.BusinessServices.SearchParams');
}
