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