var AmenetiesMapService=function() {
AmenetiesMapService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AmenetiesMapService.prototype={
GetCommunity:function(communityId,succeededCallback, failedCallback, userContext) {
return this._invoke(AmenetiesMapService.get_path(), 'GetCommunity',false,{communityId:communityId},succeededCallback,failedCallback,userContext); },
GetMapPointsForSubCategory:function(subCategory,lat,lon,milesAway,communityId,succeededCallback, failedCallback, userContext) {
return this._invoke(AmenetiesMapService.get_path(), 'GetMapPointsForSubCategory',false,{subCategory:subCategory,lat:lat,lon:lon,milesAway:milesAway,communityId:communityId},succeededCallback,failedCallback,userContext); }}
AmenetiesMapService.registerClass('AmenetiesMapService',Sys.Net.WebServiceProxy);
AmenetiesMapService._staticInstance = new AmenetiesMapService();
AmenetiesMapService.set_path = function(value) { AmenetiesMapService._staticInstance._path = value; }
AmenetiesMapService.get_path = function() { return AmenetiesMapService._staticInstance._path; }
AmenetiesMapService.set_timeout = function(value) { AmenetiesMapService._staticInstance._timeout = value; }
AmenetiesMapService.get_timeout = function() { return AmenetiesMapService._staticInstance._timeout; }
AmenetiesMapService.set_defaultUserContext = function(value) { AmenetiesMapService._staticInstance._userContext = value; }
AmenetiesMapService.get_defaultUserContext = function() { return AmenetiesMapService._staticInstance._userContext; }
AmenetiesMapService.set_defaultSucceededCallback = function(value) { AmenetiesMapService._staticInstance._succeeded = value; }
AmenetiesMapService.get_defaultSucceededCallback = function() { return AmenetiesMapService._staticInstance._succeeded; }
AmenetiesMapService.set_defaultFailedCallback = function(value) { AmenetiesMapService._staticInstance._failed = value; }
AmenetiesMapService.get_defaultFailedCallback = function() { return AmenetiesMapService._staticInstance._failed; }
AmenetiesMapService.set_path("/WebServices/AmenetiesMapService.asmx");
AmenetiesMapService.GetCommunity= function(communityId,onSuccess,onFailed,userContext) {AmenetiesMapService._staticInstance.GetCommunity(communityId,onSuccess,onFailed,userContext); }
AmenetiesMapService.GetMapPointsForSubCategory= function(subCategory,lat,lon,milesAway,communityId,onSuccess,onFailed,userContext) {AmenetiesMapService._staticInstance.GetMapPointsForSubCategory(subCategory,lat,lon,milesAway,communityId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Irvine.BusinessObjectLayer');
if (typeof(Irvine.BusinessObjectLayer.Community) === 'undefined') {
Irvine.BusinessObjectLayer.Community=gtc("Irvine.BusinessObjectLayer.Community");
Irvine.BusinessObjectLayer.Community.registerClass('Irvine.BusinessObjectLayer.Community');
}
