Type.registerNamespace('WebPlan.AJAX');
WebPlan.AJAX.PlanInfo=function() {
WebPlan.AJAX.PlanInfo.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebPlan.AJAX.PlanInfo.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WebPlan.AJAX.PlanInfo._staticInstance.get_path();},
GetPlanByMunicipality:function(knr,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPlanByMunicipality',true,{knr:knr},succeededCallback,failedCallback,userContext); },
GetSomePlansByMunicipality:function(knr,index,count,sortby,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSomePlansByMunicipality',true,{knr:knr,index:index,count:count,sortby:sortby},succeededCallback,failedCallback,userContext); },
SearchPlanByNameOrId:function(knr,tekst,index,count,newsearch,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SearchPlanByNameOrId',true,{knr:knr,tekst:tekst,index:index,count:count,newsearch:newsearch},succeededCallback,failedCallback,userContext); },
SortSearchResult:function(knr,tekst,count,sortby,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SortSearchResult',true,{knr:knr,tekst:tekst,count:count,sortby:sortby},succeededCallback,failedCallback,userContext); },
GetPlanInfo:function(knr,planid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPlanInfo',true,{knr:knr,planid:planid},succeededCallback,failedCallback,userContext); }}
WebPlan.AJAX.PlanInfo.registerClass('WebPlan.AJAX.PlanInfo',Sys.Net.WebServiceProxy);
WebPlan.AJAX.PlanInfo._staticInstance = new WebPlan.AJAX.PlanInfo();
WebPlan.AJAX.PlanInfo.set_path = function(value) { WebPlan.AJAX.PlanInfo._staticInstance.set_path(value); }
WebPlan.AJAX.PlanInfo.get_path = function() { return WebPlan.AJAX.PlanInfo._staticInstance.get_path(); }
WebPlan.AJAX.PlanInfo.set_timeout = function(value) { WebPlan.AJAX.PlanInfo._staticInstance.set_timeout(value); }
WebPlan.AJAX.PlanInfo.get_timeout = function() { return WebPlan.AJAX.PlanInfo._staticInstance.get_timeout(); }
WebPlan.AJAX.PlanInfo.set_defaultUserContext = function(value) { WebPlan.AJAX.PlanInfo._staticInstance.set_defaultUserContext(value); }
WebPlan.AJAX.PlanInfo.get_defaultUserContext = function() { return WebPlan.AJAX.PlanInfo._staticInstance.get_defaultUserContext(); }
WebPlan.AJAX.PlanInfo.set_defaultSucceededCallback = function(value) { WebPlan.AJAX.PlanInfo._staticInstance.set_defaultSucceededCallback(value); }
WebPlan.AJAX.PlanInfo.get_defaultSucceededCallback = function() { return WebPlan.AJAX.PlanInfo._staticInstance.get_defaultSucceededCallback(); }
WebPlan.AJAX.PlanInfo.set_defaultFailedCallback = function(value) { WebPlan.AJAX.PlanInfo._staticInstance.set_defaultFailedCallback(value); }
WebPlan.AJAX.PlanInfo.get_defaultFailedCallback = function() { return WebPlan.AJAX.PlanInfo._staticInstance.get_defaultFailedCallback(); }
WebPlan.AJAX.PlanInfo.set_path("/WebPlan0618/AJAX/PlanInfo.asmx");
WebPlan.AJAX.PlanInfo.GetPlanByMunicipality= function(knr,onSuccess,onFailed,userContext) {WebPlan.AJAX.PlanInfo._staticInstance.GetPlanByMunicipality(knr,onSuccess,onFailed,userContext); }
WebPlan.AJAX.PlanInfo.GetSomePlansByMunicipality= function(knr,index,count,sortby,onSuccess,onFailed,userContext) {WebPlan.AJAX.PlanInfo._staticInstance.GetSomePlansByMunicipality(knr,index,count,sortby,onSuccess,onFailed,userContext); }
WebPlan.AJAX.PlanInfo.SearchPlanByNameOrId= function(knr,tekst,index,count,newsearch,onSuccess,onFailed,userContext) {WebPlan.AJAX.PlanInfo._staticInstance.SearchPlanByNameOrId(knr,tekst,index,count,newsearch,onSuccess,onFailed,userContext); }
WebPlan.AJAX.PlanInfo.SortSearchResult= function(knr,tekst,count,sortby,onSuccess,onFailed,userContext) {WebPlan.AJAX.PlanInfo._staticInstance.SortSearchResult(knr,tekst,count,sortby,onSuccess,onFailed,userContext); }
WebPlan.AJAX.PlanInfo.GetPlanInfo= function(knr,planid,onSuccess,onFailed,userContext) {WebPlan.AJAX.PlanInfo._staticInstance.GetPlanInfo(knr,planid,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('WebPlan.planregister');
if (typeof(WebPlan.planregister.Arealplan) === 'undefined') {
WebPlan.planregister.Arealplan=gtc("WebPlan.planregister.Arealplan");
WebPlan.planregister.Arealplan.registerClass('WebPlan.planregister.Arealplan');
}

