Type.registerNamespace('Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search');
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy=function() {
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy._staticInstance.get_path();},
Search:function(customerId,themeId,queryTerm,municipalityNumber,searchTypes,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Search',true,{customerId:customerId,themeId:themeId,queryTerm:queryTerm,municipalityNumber:municipalityNumber,searchTypes:searchTypes},succeededCallback,failedCallback,userContext); },
GetExactProperty:function(customerId,municipalitynumber,gnr,bnr,fnr,tnr,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetExactProperty',true,{customerId:customerId,municipalitynumber:municipalitynumber,gnr:gnr,bnr:bnr,fnr:fnr,tnr:tnr},succeededCallback,failedCallback,userContext); },
GetPropertyPage:function(customerId,index,noHits,queryProperty,municipalityNumber,newSearch,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPropertyPage',true,{customerId:customerId,index:index,noHits:noHits,queryProperty:queryProperty,municipalityNumber:municipalityNumber,newSearch:newSearch},succeededCallback,failedCallback,userContext); },
GetExactAddress:function(municipalitynumber,streetname,houseNumber,houseLetter,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetExactAddress',true,{municipalitynumber:municipalitynumber,streetname:streetname,houseNumber:houseNumber,houseLetter:houseLetter},succeededCallback,failedCallback,userContext); },
GetAddressPage:function(index,noHits,queryAddress,municipalityNumber,newSearch,themeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAddressPage',true,{index:index,noHits:noHits,queryAddress:queryAddress,municipalityNumber:municipalityNumber,newSearch:newSearch,themeId:themeId},succeededCallback,failedCallback,userContext); },
GetPlaceNamePage:function(index,noHits,queryPlaceName,municipalityNumber,newSearch,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPlaceNamePage',true,{index:index,noHits:noHits,queryPlaceName:queryPlaceName,municipalityNumber:municipalityNumber,newSearch:newSearch},succeededCallback,failedCallback,userContext); },
GetPoiPage:function(index,noHits,queryPoi,municipalityNumber,newSearch,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPoiPage',true,{index:index,noHits:noHits,queryPoi:queryPoi,municipalityNumber:municipalityNumber,newSearch:newSearch},succeededCallback,failedCallback,userContext); },
GetRefmarkPage:function(customerId,index,noHits,queryRefmark,municipalityNumber,newSearch,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRefmarkPage',true,{customerId:customerId,index:index,noHits:noHits,queryRefmark:queryRefmark,municipalityNumber:municipalityNumber,newSearch:newSearch},succeededCallback,failedCallback,userContext); },
GetTrackPage:function(customerId,index,noHits,queryTrack,municipalityNumber,newSearch,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTrackPage',true,{customerId:customerId,index:index,noHits:noHits,queryTrack:queryTrack,municipalityNumber:municipalityNumber,newSearch:newSearch},succeededCallback,failedCallback,userContext); },
GetPlanPage:function(customerId,index,noHits,queryPlan,municipalityNumber,newSearch,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPlanPage',true,{customerId:customerId,index:index,noHits:noHits,queryPlan:queryPlan,municipalityNumber:municipalityNumber,newSearch:newSearch},succeededCallback,failedCallback,userContext); }}
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy.registerClass('Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy',Sys.Net.WebServiceProxy);
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy._staticInstance = new Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy();
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy.set_path = function(value) { Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy._staticInstance.set_path(value); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy.get_path = function() { return Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy._staticInstance.get_path(); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy.set_timeout = function(value) { Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy._staticInstance.set_timeout(value); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy.get_timeout = function() { return Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy._staticInstance.get_timeout(); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy.set_defaultUserContext = function(value) { Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy._staticInstance.set_defaultUserContext(value); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy.get_defaultUserContext = function() { return Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy._staticInstance.get_defaultUserContext(); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy.set_defaultSucceededCallback = function(value) { Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy._staticInstance.set_defaultSucceededCallback(value); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy.get_defaultSucceededCallback = function() { return Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy._staticInstance.get_defaultSucceededCallback(); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy.set_defaultFailedCallback = function(value) { Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy._staticInstance.set_defaultFailedCallback(value); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy.get_defaultFailedCallback = function() { return Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy._staticInstance.get_defaultFailedCallback(); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy.set_path("/AJAX/WebServices/Search/SearchModelProxy.asmx");
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy.Search= function(customerId,themeId,queryTerm,municipalityNumber,searchTypes,onSuccess,onFailed,userContext) {Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy._staticInstance.Search(customerId,themeId,queryTerm,municipalityNumber,searchTypes,onSuccess,onFailed,userContext); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy.GetExactProperty= function(customerId,municipalitynumber,gnr,bnr,fnr,tnr,onSuccess,onFailed,userContext) {Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy._staticInstance.GetExactProperty(customerId,municipalitynumber,gnr,bnr,fnr,tnr,onSuccess,onFailed,userContext); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy.GetPropertyPage= function(customerId,index,noHits,queryProperty,municipalityNumber,newSearch,onSuccess,onFailed,userContext) {Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy._staticInstance.GetPropertyPage(customerId,index,noHits,queryProperty,municipalityNumber,newSearch,onSuccess,onFailed,userContext); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy.GetExactAddress= function(municipalitynumber,streetname,houseNumber,houseLetter,onSuccess,onFailed,userContext) {Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy._staticInstance.GetExactAddress(municipalitynumber,streetname,houseNumber,houseLetter,onSuccess,onFailed,userContext); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy.GetAddressPage= function(index,noHits,queryAddress,municipalityNumber,newSearch,themeId,onSuccess,onFailed,userContext) {Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy._staticInstance.GetAddressPage(index,noHits,queryAddress,municipalityNumber,newSearch,themeId,onSuccess,onFailed,userContext); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy.GetPlaceNamePage= function(index,noHits,queryPlaceName,municipalityNumber,newSearch,onSuccess,onFailed,userContext) {Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy._staticInstance.GetPlaceNamePage(index,noHits,queryPlaceName,municipalityNumber,newSearch,onSuccess,onFailed,userContext); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy.GetPoiPage= function(index,noHits,queryPoi,municipalityNumber,newSearch,onSuccess,onFailed,userContext) {Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy._staticInstance.GetPoiPage(index,noHits,queryPoi,municipalityNumber,newSearch,onSuccess,onFailed,userContext); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy.GetRefmarkPage= function(customerId,index,noHits,queryRefmark,municipalityNumber,newSearch,onSuccess,onFailed,userContext) {Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy._staticInstance.GetRefmarkPage(customerId,index,noHits,queryRefmark,municipalityNumber,newSearch,onSuccess,onFailed,userContext); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy.GetTrackPage= function(customerId,index,noHits,queryTrack,municipalityNumber,newSearch,onSuccess,onFailed,userContext) {Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy._staticInstance.GetTrackPage(customerId,index,noHits,queryTrack,municipalityNumber,newSearch,onSuccess,onFailed,userContext); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy.GetPlanPage= function(customerId,index,noHits,queryPlan,municipalityNumber,newSearch,onSuccess,onFailed,userContext) {Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.SearchModelProxy._staticInstance.GetPlanPage(customerId,index,noHits,queryPlan,municipalityNumber,newSearch,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Norkart.Web.Fag.Applications.MapPortal.Domain.Search');
if (typeof(Norkart.Web.Fag.Applications.MapPortal.Domain.Search.Property) === 'undefined') {
Norkart.Web.Fag.Applications.MapPortal.Domain.Search.Property=gtc("Norkart.Web.Fag.Applications.MapPortal.Domain.Search.Property");
Norkart.Web.Fag.Applications.MapPortal.Domain.Search.Property.registerClass('Norkart.Web.Fag.Applications.MapPortal.Domain.Search.Property');
}
if (typeof(Norkart.Web.Fag.Applications.MapPortal.Domain.Search.Address) === 'undefined') {
Norkart.Web.Fag.Applications.MapPortal.Domain.Search.Address=gtc("Norkart.Web.Fag.Applications.MapPortal.Domain.Search.Address");
Norkart.Web.Fag.Applications.MapPortal.Domain.Search.Address.registerClass('Norkart.Web.Fag.Applications.MapPortal.Domain.Search.Address');
}
if (typeof(Norkart.Web.Fag.Applications.MapPortal.Domain.Search.SearchType) === 'undefined') {
Norkart.Web.Fag.Applications.MapPortal.Domain.Search.SearchType = function() { throw Error.invalidOperation(); }
Norkart.Web.Fag.Applications.MapPortal.Domain.Search.SearchType.prototype = {Address: 1,Placename: 2,Property: 4,POI: 8,Track: 16,Referencemark: 32,Plan: 64,All: 127}
Norkart.Web.Fag.Applications.MapPortal.Domain.Search.SearchType.registerEnum('Norkart.Web.Fag.Applications.MapPortal.Domain.Search.SearchType', true);
}
