Type.registerNamespace('Spotfire.Dxp.Web.Forms');
Spotfire.Dxp.Web.Forms.AjaxService=function() {
Spotfire.Dxp.Web.Forms.AjaxService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Spotfire.Dxp.Web.Forms.AjaxService.prototype={
InitiateOpen:function(filePath,openParameters,customizationParameters,waId,succeededCallback, failedCallback, userContext) {
return this._invoke(Spotfire.Dxp.Web.Forms.AjaxService.get_path(), 'InitiateOpen',false,{filePath:filePath,openParameters:openParameters,customizationParameters:customizationParameters,waId:waId},succeededCallback,failedCallback,userContext); },
Close:function(waId,succeededCallback, failedCallback, userContext) {
return this._invoke(Spotfire.Dxp.Web.Forms.AjaxService.get_path(), 'Close',false,{waId:waId},succeededCallback,failedCallback,userContext); },
CancelOperation:function(waId,succeededCallback, failedCallback, userContext) {
return this._invoke(Spotfire.Dxp.Web.Forms.AjaxService.get_path(), 'CancelOperation',false,{waId:waId},succeededCallback,failedCallback,userContext); },
Request:function(waId,nodeId,callback,args,succeededCallback, failedCallback, userContext) {
return this._invoke(Spotfire.Dxp.Web.Forms.AjaxService.get_path(), 'Request',false,{waId:waId,nodeId:nodeId,callback:callback,args:args},succeededCallback,failedCallback,userContext); },
QueryForChanges:function(waId,succeededCallback, failedCallback, userContext) {
return this._invoke(Spotfire.Dxp.Web.Forms.AjaxService.get_path(), 'QueryForChanges',false,{waId:waId},succeededCallback,failedCallback,userContext); },
NeedsRefresh:function(waId,succeededCallback, failedCallback, userContext) {
return this._invoke(Spotfire.Dxp.Web.Forms.AjaxService.get_path(), 'NeedsRefresh',false,{waId:waId},succeededCallback,failedCallback,userContext); },
Logout:function(waId,succeededCallback, failedCallback, userContext) {
return this._invoke(Spotfire.Dxp.Web.Forms.AjaxService.get_path(), 'Logout',false,{waId:waId},succeededCallback,failedCallback,userContext); },
ConfirmPrompt:function(waid,serializedPromptModel,succeededCallback, failedCallback, userContext) {
return this._invoke(Spotfire.Dxp.Web.Forms.AjaxService.get_path(), 'ConfirmPrompt',false,{waid:waid,serializedPromptModel:serializedPromptModel},succeededCallback,failedCallback,userContext); },
ValidatePrompt:function(waid,serializedPromptModel,succeededCallback, failedCallback, userContext) {
return this._invoke(Spotfire.Dxp.Web.Forms.AjaxService.get_path(), 'ValidatePrompt',false,{waid:waid,serializedPromptModel:serializedPromptModel},succeededCallback,failedCallback,userContext); },
NextWizardPage:function(waid,serializedPromptModel,succeededCallback, failedCallback, userContext) {
return this._invoke(Spotfire.Dxp.Web.Forms.AjaxService.get_path(), 'NextWizardPage',false,{waid:waid,serializedPromptModel:serializedPromptModel},succeededCallback,failedCallback,userContext); },
PreviousWizardPage:function(waid,serializedPromptModel,succeededCallback, failedCallback, userContext) {
return this._invoke(Spotfire.Dxp.Web.Forms.AjaxService.get_path(), 'PreviousWizardPage',false,{waid:waid,serializedPromptModel:serializedPromptModel},succeededCallback,failedCallback,userContext); }}
Spotfire.Dxp.Web.Forms.AjaxService.registerClass('Spotfire.Dxp.Web.Forms.AjaxService',Sys.Net.WebServiceProxy);
Spotfire.Dxp.Web.Forms.AjaxService._staticInstance = new Spotfire.Dxp.Web.Forms.AjaxService();
Spotfire.Dxp.Web.Forms.AjaxService.set_path = function(value) { Spotfire.Dxp.Web.Forms.AjaxService._staticInstance._path = value; }
Spotfire.Dxp.Web.Forms.AjaxService.get_path = function() { return Spotfire.Dxp.Web.Forms.AjaxService._staticInstance._path; }
Spotfire.Dxp.Web.Forms.AjaxService.set_timeout = function(value) { Spotfire.Dxp.Web.Forms.AjaxService._staticInstance._timeout = value; }
Spotfire.Dxp.Web.Forms.AjaxService.get_timeout = function() { return Spotfire.Dxp.Web.Forms.AjaxService._staticInstance._timeout; }
Spotfire.Dxp.Web.Forms.AjaxService.set_defaultUserContext = function(value) { Spotfire.Dxp.Web.Forms.AjaxService._staticInstance._userContext = value; }
Spotfire.Dxp.Web.Forms.AjaxService.get_defaultUserContext = function() { return Spotfire.Dxp.Web.Forms.AjaxService._staticInstance._userContext; }
Spotfire.Dxp.Web.Forms.AjaxService.set_defaultSucceededCallback = function(value) { Spotfire.Dxp.Web.Forms.AjaxService._staticInstance._succeeded = value; }
Spotfire.Dxp.Web.Forms.AjaxService.get_defaultSucceededCallback = function() { return Spotfire.Dxp.Web.Forms.AjaxService._staticInstance._succeeded; }
Spotfire.Dxp.Web.Forms.AjaxService.set_defaultFailedCallback = function(value) { Spotfire.Dxp.Web.Forms.AjaxService._staticInstance._failed = value; }
Spotfire.Dxp.Web.Forms.AjaxService.get_defaultFailedCallback = function() { return Spotfire.Dxp.Web.Forms.AjaxService._staticInstance._failed; }
Spotfire.Dxp.Web.Forms.AjaxService.set_path("/Public/AjaxService.asmx");
Spotfire.Dxp.Web.Forms.AjaxService.InitiateOpen= function(filePath,openParameters,customizationParameters,waId,onSuccess,onFailed,userContext) {Spotfire.Dxp.Web.Forms.AjaxService._staticInstance.InitiateOpen(filePath,openParameters,customizationParameters,waId,onSuccess,onFailed,userContext); }
Spotfire.Dxp.Web.Forms.AjaxService.Close= function(waId,onSuccess,onFailed,userContext) {Spotfire.Dxp.Web.Forms.AjaxService._staticInstance.Close(waId,onSuccess,onFailed,userContext); }
Spotfire.Dxp.Web.Forms.AjaxService.CancelOperation= function(waId,onSuccess,onFailed,userContext) {Spotfire.Dxp.Web.Forms.AjaxService._staticInstance.CancelOperation(waId,onSuccess,onFailed,userContext); }
Spotfire.Dxp.Web.Forms.AjaxService.Request= function(waId,nodeId,callback,args,onSuccess,onFailed,userContext) {Spotfire.Dxp.Web.Forms.AjaxService._staticInstance.Request(waId,nodeId,callback,args,onSuccess,onFailed,userContext); }
Spotfire.Dxp.Web.Forms.AjaxService.QueryForChanges= function(waId,onSuccess,onFailed,userContext) {Spotfire.Dxp.Web.Forms.AjaxService._staticInstance.QueryForChanges(waId,onSuccess,onFailed,userContext); }
Spotfire.Dxp.Web.Forms.AjaxService.NeedsRefresh= function(waId,onSuccess,onFailed,userContext) {Spotfire.Dxp.Web.Forms.AjaxService._staticInstance.NeedsRefresh(waId,onSuccess,onFailed,userContext); }
Spotfire.Dxp.Web.Forms.AjaxService.Logout= function(waId,onSuccess,onFailed,userContext) {Spotfire.Dxp.Web.Forms.AjaxService._staticInstance.Logout(waId,onSuccess,onFailed,userContext); }
Spotfire.Dxp.Web.Forms.AjaxService.ConfirmPrompt= function(waid,serializedPromptModel,onSuccess,onFailed,userContext) {Spotfire.Dxp.Web.Forms.AjaxService._staticInstance.ConfirmPrompt(waid,serializedPromptModel,onSuccess,onFailed,userContext); }
Spotfire.Dxp.Web.Forms.AjaxService.ValidatePrompt= function(waid,serializedPromptModel,onSuccess,onFailed,userContext) {Spotfire.Dxp.Web.Forms.AjaxService._staticInstance.ValidatePrompt(waid,serializedPromptModel,onSuccess,onFailed,userContext); }
Spotfire.Dxp.Web.Forms.AjaxService.NextWizardPage= function(waid,serializedPromptModel,onSuccess,onFailed,userContext) {Spotfire.Dxp.Web.Forms.AjaxService._staticInstance.NextWizardPage(waid,serializedPromptModel,onSuccess,onFailed,userContext); }
Spotfire.Dxp.Web.Forms.AjaxService.PreviousWizardPage= function(waid,serializedPromptModel,onSuccess,onFailed,userContext) {Spotfire.Dxp.Web.Forms.AjaxService._staticInstance.PreviousWizardPage(waid,serializedPromptModel,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Spotfire.Dxp.Web');
if (typeof(Spotfire.Dxp.Web.Response) === 'undefined') {
Spotfire.Dxp.Web.Response=gtc("Spotfire.Dxp.Web.Response");
Spotfire.Dxp.Web.Response.registerClass('Spotfire.Dxp.Web.Response');
}
