Type.registerNamespace('Earthware.EarthwareProperty.FrontEnd');
Earthware.EarthwareProperty.FrontEnd.DataProvider=function() {
Earthware.EarthwareProperty.FrontEnd.DataProvider.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Earthware.EarthwareProperty.FrontEnd.DataProvider.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Earthware.EarthwareProperty.FrontEnd.DataProvider._staticInstance.get_path();},
GetCommercialSearchResults:function(topLeftLatitude,topLeftLongitude,bottomRightLongitude,bottomRightLatitude,sizeFromMetres,sizeToMetres,propertyTypeIds,saleTypeIds,saleStatusId,supplierId,branchref,agentref,zoomLevel,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCommercialSearchResults',true,{topLeftLatitude:topLeftLatitude,topLeftLongitude:topLeftLongitude,bottomRightLongitude:bottomRightLongitude,bottomRightLatitude:bottomRightLatitude,sizeFromMetres:sizeFromMetres,sizeToMetres:sizeToMetres,propertyTypeIds:propertyTypeIds,saleTypeIds:saleTypeIds,saleStatusId:saleStatusId,supplierId:supplierId,branchref:branchref,agentref:agentref,zoomLevel:zoomLevel},succeededCallback,failedCallback,userContext); },
GetCommercialPropertyByReference:function(propertyref,supplierid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCommercialPropertyByReference',true,{propertyref:propertyref,supplierid:supplierid},succeededCallback,failedCallback,userContext); },
GetCommercialProperty:function(propertyid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCommercialProperty',true,{propertyid:propertyid},succeededCallback,failedCallback,userContext); },
GetResidentialSearchResults:function(topLeftLatitude,topLeftLongitude,bottomRightLongitude,bottomRightLatitude,propertyTypeIds,newHomes,minPrice,maxPrice,lettingTypeId,furnishedStateId,supplierId,branchId,minBedrooms,includeSoldStates,zoomLevel,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetResidentialSearchResults',true,{topLeftLatitude:topLeftLatitude,topLeftLongitude:topLeftLongitude,bottomRightLongitude:bottomRightLongitude,bottomRightLatitude:bottomRightLatitude,propertyTypeIds:propertyTypeIds,newHomes:newHomes,minPrice:minPrice,maxPrice:maxPrice,lettingTypeId:lettingTypeId,furnishedStateId:furnishedStateId,supplierId:supplierId,branchId:branchId,minBedrooms:minBedrooms,includeSoldStates:includeSoldStates,zoomLevel:zoomLevel},succeededCallback,failedCallback,userContext); },
GetResidentialPropertyByReference:function(propertyref,supplierid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetResidentialPropertyByReference',true,{propertyref:propertyref,supplierid:supplierid},succeededCallback,failedCallback,userContext); },
GetResidentialProperty:function(propertyid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetResidentialProperty',true,{propertyid:propertyid},succeededCallback,failedCallback,userContext); },
GetPois:function(topLeftLatitude,topLeftLongitude,bottomRightLongitude,bottomRightLatitude,poiSubTypeIds,zoomLevel,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPois',true,{topLeftLatitude:topLeftLatitude,topLeftLongitude:topLeftLongitude,bottomRightLongitude:bottomRightLongitude,bottomRightLatitude:bottomRightLatitude,poiSubTypeIds:poiSubTypeIds,zoomLevel:zoomLevel},succeededCallback,failedCallback,userContext); },
GetPoi:function(poiid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPoi',true,{poiid:poiid},succeededCallback,failedCallback,userContext); }}
Earthware.EarthwareProperty.FrontEnd.DataProvider.registerClass('Earthware.EarthwareProperty.FrontEnd.DataProvider',Sys.Net.WebServiceProxy);
Earthware.EarthwareProperty.FrontEnd.DataProvider._staticInstance = new Earthware.EarthwareProperty.FrontEnd.DataProvider();
Earthware.EarthwareProperty.FrontEnd.DataProvider.set_path = function(value) { Earthware.EarthwareProperty.FrontEnd.DataProvider._staticInstance.set_path(value); }
Earthware.EarthwareProperty.FrontEnd.DataProvider.get_path = function() { return Earthware.EarthwareProperty.FrontEnd.DataProvider._staticInstance.get_path(); }
Earthware.EarthwareProperty.FrontEnd.DataProvider.set_timeout = function(value) { Earthware.EarthwareProperty.FrontEnd.DataProvider._staticInstance.set_timeout(value); }
Earthware.EarthwareProperty.FrontEnd.DataProvider.get_timeout = function() { return Earthware.EarthwareProperty.FrontEnd.DataProvider._staticInstance.get_timeout(); }
Earthware.EarthwareProperty.FrontEnd.DataProvider.set_defaultUserContext = function(value) { Earthware.EarthwareProperty.FrontEnd.DataProvider._staticInstance.set_defaultUserContext(value); }
Earthware.EarthwareProperty.FrontEnd.DataProvider.get_defaultUserContext = function() { return Earthware.EarthwareProperty.FrontEnd.DataProvider._staticInstance.get_defaultUserContext(); }
Earthware.EarthwareProperty.FrontEnd.DataProvider.set_defaultSucceededCallback = function(value) { Earthware.EarthwareProperty.FrontEnd.DataProvider._staticInstance.set_defaultSucceededCallback(value); }
Earthware.EarthwareProperty.FrontEnd.DataProvider.get_defaultSucceededCallback = function() { return Earthware.EarthwareProperty.FrontEnd.DataProvider._staticInstance.get_defaultSucceededCallback(); }
Earthware.EarthwareProperty.FrontEnd.DataProvider.set_defaultFailedCallback = function(value) { Earthware.EarthwareProperty.FrontEnd.DataProvider._staticInstance.set_defaultFailedCallback(value); }
Earthware.EarthwareProperty.FrontEnd.DataProvider.get_defaultFailedCallback = function() { return Earthware.EarthwareProperty.FrontEnd.DataProvider._staticInstance.get_defaultFailedCallback(); }
Earthware.EarthwareProperty.FrontEnd.DataProvider.set_enableJsonp = function(value) { Earthware.EarthwareProperty.FrontEnd.DataProvider._staticInstance.set_enableJsonp(value); }
Earthware.EarthwareProperty.FrontEnd.DataProvider.get_enableJsonp = function() { return Earthware.EarthwareProperty.FrontEnd.DataProvider._staticInstance.get_enableJsonp(); }
Earthware.EarthwareProperty.FrontEnd.DataProvider.set_jsonpCallbackParameter = function(value) { Earthware.EarthwareProperty.FrontEnd.DataProvider._staticInstance.set_jsonpCallbackParameter(value); }
Earthware.EarthwareProperty.FrontEnd.DataProvider.get_jsonpCallbackParameter = function() { return Earthware.EarthwareProperty.FrontEnd.DataProvider._staticInstance.get_jsonpCallbackParameter(); }
Earthware.EarthwareProperty.FrontEnd.DataProvider.set_path("/DataProvider.asmx");
Earthware.EarthwareProperty.FrontEnd.DataProvider.GetCommercialSearchResults= function(topLeftLatitude,topLeftLongitude,bottomRightLongitude,bottomRightLatitude,sizeFromMetres,sizeToMetres,propertyTypeIds,saleTypeIds,saleStatusId,supplierId,branchref,agentref,zoomLevel,onSuccess,onFailed,userContext) {Earthware.EarthwareProperty.FrontEnd.DataProvider._staticInstance.GetCommercialSearchResults(topLeftLatitude,topLeftLongitude,bottomRightLongitude,bottomRightLatitude,sizeFromMetres,sizeToMetres,propertyTypeIds,saleTypeIds,saleStatusId,supplierId,branchref,agentref,zoomLevel,onSuccess,onFailed,userContext); }
Earthware.EarthwareProperty.FrontEnd.DataProvider.GetCommercialPropertyByReference= function(propertyref,supplierid,onSuccess,onFailed,userContext) {Earthware.EarthwareProperty.FrontEnd.DataProvider._staticInstance.GetCommercialPropertyByReference(propertyref,supplierid,onSuccess,onFailed,userContext); }
Earthware.EarthwareProperty.FrontEnd.DataProvider.GetCommercialProperty= function(propertyid,onSuccess,onFailed,userContext) {Earthware.EarthwareProperty.FrontEnd.DataProvider._staticInstance.GetCommercialProperty(propertyid,onSuccess,onFailed,userContext); }
Earthware.EarthwareProperty.FrontEnd.DataProvider.GetResidentialSearchResults= function(topLeftLatitude,topLeftLongitude,bottomRightLongitude,bottomRightLatitude,propertyTypeIds,newHomes,minPrice,maxPrice,lettingTypeId,furnishedStateId,supplierId,branchId,minBedrooms,includeSoldStates,zoomLevel,onSuccess,onFailed,userContext) {Earthware.EarthwareProperty.FrontEnd.DataProvider._staticInstance.GetResidentialSearchResults(topLeftLatitude,topLeftLongitude,bottomRightLongitude,bottomRightLatitude,propertyTypeIds,newHomes,minPrice,maxPrice,lettingTypeId,furnishedStateId,supplierId,branchId,minBedrooms,includeSoldStates,zoomLevel,onSuccess,onFailed,userContext); }
Earthware.EarthwareProperty.FrontEnd.DataProvider.GetResidentialPropertyByReference= function(propertyref,supplierid,onSuccess,onFailed,userContext) {Earthware.EarthwareProperty.FrontEnd.DataProvider._staticInstance.GetResidentialPropertyByReference(propertyref,supplierid,onSuccess,onFailed,userContext); }
Earthware.EarthwareProperty.FrontEnd.DataProvider.GetResidentialProperty= function(propertyid,onSuccess,onFailed,userContext) {Earthware.EarthwareProperty.FrontEnd.DataProvider._staticInstance.GetResidentialProperty(propertyid,onSuccess,onFailed,userContext); }
Earthware.EarthwareProperty.FrontEnd.DataProvider.GetPois= function(topLeftLatitude,topLeftLongitude,bottomRightLongitude,bottomRightLatitude,poiSubTypeIds,zoomLevel,onSuccess,onFailed,userContext) {Earthware.EarthwareProperty.FrontEnd.DataProvider._staticInstance.GetPois(topLeftLatitude,topLeftLongitude,bottomRightLongitude,bottomRightLatitude,poiSubTypeIds,zoomLevel,onSuccess,onFailed,userContext); }
Earthware.EarthwareProperty.FrontEnd.DataProvider.GetPoi= function(poiid,onSuccess,onFailed,userContext) {Earthware.EarthwareProperty.FrontEnd.DataProvider._staticInstance.GetPoi(poiid,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Earthware.EarthwareProperty.Dal');
if (typeof(Earthware.EarthwareProperty.Dal.SearchResult) === 'undefined') {
Earthware.EarthwareProperty.Dal.SearchResult=gtc("Earthware.EarthwareProperty.Dal.SearchResult");
Earthware.EarthwareProperty.Dal.SearchResult.registerClass('Earthware.EarthwareProperty.Dal.SearchResult');
}
Type.registerNamespace('Earthware.POI.Dal');
if (typeof(Earthware.POI.Dal.SearchResult) === 'undefined') {
Earthware.POI.Dal.SearchResult=gtc("Earthware.POI.Dal.SearchResult");
Earthware.POI.Dal.SearchResult.registerClass('Earthware.POI.Dal.SearchResult');
}
if (typeof(Earthware.POI.Dal.Poi) === 'undefined') {
Earthware.POI.Dal.Poi=gtc("Earthware.POI.Dal.Poi");
Earthware.POI.Dal.Poi.registerClass('Earthware.POI.Dal.Poi');
}

