Type.registerNamespace('PriceLister.Avalon.Web.ScriptService');
PriceLister.Avalon.Web.ScriptService.StateSupport=function() {
PriceLister.Avalon.Web.ScriptService.StateSupport.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PriceLister.Avalon.Web.ScriptService.StateSupport.prototype={
SetState:function(variable,value,type,succeededCallback, failedCallback, userContext) {
return this._invoke(PriceLister.Avalon.Web.ScriptService.StateSupport.get_path(), 'SetState',false,{variable:variable,value:value,type:type},succeededCallback,failedCallback,userContext); }}
PriceLister.Avalon.Web.ScriptService.StateSupport.registerClass('PriceLister.Avalon.Web.ScriptService.StateSupport',Sys.Net.WebServiceProxy);
PriceLister.Avalon.Web.ScriptService.StateSupport._staticInstance = new PriceLister.Avalon.Web.ScriptService.StateSupport();
PriceLister.Avalon.Web.ScriptService.StateSupport.set_path = function(value) { PriceLister.Avalon.Web.ScriptService.StateSupport._staticInstance._path = value; }
PriceLister.Avalon.Web.ScriptService.StateSupport.get_path = function() { return PriceLister.Avalon.Web.ScriptService.StateSupport._staticInstance._path; }
PriceLister.Avalon.Web.ScriptService.StateSupport.set_timeout = function(value) { PriceLister.Avalon.Web.ScriptService.StateSupport._staticInstance._timeout = value; }
PriceLister.Avalon.Web.ScriptService.StateSupport.get_timeout = function() { return PriceLister.Avalon.Web.ScriptService.StateSupport._staticInstance._timeout; }
PriceLister.Avalon.Web.ScriptService.StateSupport.set_defaultUserContext = function(value) { PriceLister.Avalon.Web.ScriptService.StateSupport._staticInstance._userContext = value; }
PriceLister.Avalon.Web.ScriptService.StateSupport.get_defaultUserContext = function() { return PriceLister.Avalon.Web.ScriptService.StateSupport._staticInstance._userContext; }
PriceLister.Avalon.Web.ScriptService.StateSupport.set_defaultSucceededCallback = function(value) { PriceLister.Avalon.Web.ScriptService.StateSupport._staticInstance._succeeded = value; }
PriceLister.Avalon.Web.ScriptService.StateSupport.get_defaultSucceededCallback = function() { return PriceLister.Avalon.Web.ScriptService.StateSupport._staticInstance._succeeded; }
PriceLister.Avalon.Web.ScriptService.StateSupport.set_defaultFailedCallback = function(value) { PriceLister.Avalon.Web.ScriptService.StateSupport._staticInstance._failed = value; }
PriceLister.Avalon.Web.ScriptService.StateSupport.get_defaultFailedCallback = function() { return PriceLister.Avalon.Web.ScriptService.StateSupport._staticInstance._failed; }
PriceLister.Avalon.Web.ScriptService.StateSupport.set_path("/ScriptServices/StateSupport.asmx");
PriceLister.Avalon.Web.ScriptService.StateSupport.SetState= function(variable,value,type,onSuccess,onFailed,userContext) {PriceLister.Avalon.Web.ScriptService.StateSupport._staticInstance.SetState(variable,value,type,onSuccess,onFailed,userContext); }
