Type.registerNamespace('AX.FM.RecordsService');
AX.FM.RecordsService.GridXDataHandler=function() {
AX.FM.RecordsService.GridXDataHandler.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AX.FM.RecordsService.GridXDataHandler.prototype={
Reload:function(gridClientID,gridXmlString,succeededCallback, failedCallback, userContext) {
return this._invoke(AX.FM.RecordsService.GridXDataHandler.get_path(), 'Reload',false,{gridClientID:gridClientID,gridXmlString:gridXmlString},succeededCallback,failedCallback,userContext); },
Refresh:function(gridXmlString,succeededCallback, failedCallback, userContext) {
return this._invoke(AX.FM.RecordsService.GridXDataHandler.get_path(), 'Refresh',false,{gridXmlString:gridXmlString},succeededCallback,failedCallback,userContext); },
LoadSubGroupsOrRecords:function(gridXmlString,succeededCallback, failedCallback, userContext) {
return this._invoke(AX.FM.RecordsService.GridXDataHandler.get_path(), 'LoadSubGroupsOrRecords',false,{gridXmlString:gridXmlString},succeededCallback,failedCallback,userContext); },
LoadMasterDetail:function(parentTable,parentView,parentKeyValue,succeededCallback, failedCallback, userContext) {
return this._invoke(AX.FM.RecordsService.GridXDataHandler.get_path(), 'LoadMasterDetail',false,{parentTable:parentTable,parentView:parentView,parentKeyValue:parentKeyValue},succeededCallback,failedCallback,userContext); },
LoadRecordPreview:function(tableName,viewName,keyValue,succeededCallback, failedCallback, userContext) {
return this._invoke(AX.FM.RecordsService.GridXDataHandler.get_path(), 'LoadRecordPreview',false,{tableName:tableName,viewName:viewName,keyValue:keyValue},succeededCallback,failedCallback,userContext); },
ExecCommand:function(gridXmlString,command,recordIDs,succeededCallback, failedCallback, userContext) {
return this._invoke(AX.FM.RecordsService.GridXDataHandler.get_path(), 'ExecCommand',false,{gridXmlString:gridXmlString,command:command,recordIDs:recordIDs},succeededCallback,failedCallback,userContext); },
LoadGridContainer:function(profile,group,folder,qs,succeededCallback, failedCallback, userContext) {
return this._invoke(AX.FM.RecordsService.GridXDataHandler.get_path(), 'LoadGridContainer',false,{profile:profile,group:group,folder:folder,qs:qs},succeededCallback,failedCallback,userContext); },
CheckUser:function(succeededCallback, failedCallback, userContext) {
return this._invoke(AX.FM.RecordsService.GridXDataHandler.get_path(), 'CheckUser',false,{},succeededCallback,failedCallback,userContext); }}
AX.FM.RecordsService.GridXDataHandler.registerClass('AX.FM.RecordsService.GridXDataHandler',Sys.Net.WebServiceProxy);
AX.FM.RecordsService.GridXDataHandler._staticInstance = new AX.FM.RecordsService.GridXDataHandler();
AX.FM.RecordsService.GridXDataHandler.set_path = function(value) { AX.FM.RecordsService.GridXDataHandler._staticInstance._path = value; }
AX.FM.RecordsService.GridXDataHandler.get_path = function() { return AX.FM.RecordsService.GridXDataHandler._staticInstance._path; }
AX.FM.RecordsService.GridXDataHandler.set_timeout = function(value) { AX.FM.RecordsService.GridXDataHandler._staticInstance._timeout = value; }
AX.FM.RecordsService.GridXDataHandler.get_timeout = function() { return AX.FM.RecordsService.GridXDataHandler._staticInstance._timeout; }
AX.FM.RecordsService.GridXDataHandler.set_defaultUserContext = function(value) { AX.FM.RecordsService.GridXDataHandler._staticInstance._userContext = value; }
AX.FM.RecordsService.GridXDataHandler.get_defaultUserContext = function() { return AX.FM.RecordsService.GridXDataHandler._staticInstance._userContext; }
AX.FM.RecordsService.GridXDataHandler.set_defaultSucceededCallback = function(value) { AX.FM.RecordsService.GridXDataHandler._staticInstance._succeeded = value; }
AX.FM.RecordsService.GridXDataHandler.get_defaultSucceededCallback = function() { return AX.FM.RecordsService.GridXDataHandler._staticInstance._succeeded; }
AX.FM.RecordsService.GridXDataHandler.set_defaultFailedCallback = function(value) { AX.FM.RecordsService.GridXDataHandler._staticInstance._failed = value; }
AX.FM.RecordsService.GridXDataHandler.get_defaultFailedCallback = function() { return AX.FM.RecordsService.GridXDataHandler._staticInstance._failed; }
AX.FM.RecordsService.GridXDataHandler.set_path("/nrc/ASP.Net/Resources/FM/RecordsService/GridXDataHandler.asmx");
AX.FM.RecordsService.GridXDataHandler.Reload= function(gridClientID,gridXmlString,onSuccess,onFailed,userContext) {AX.FM.RecordsService.GridXDataHandler._staticInstance.Reload(gridClientID,gridXmlString,onSuccess,onFailed,userContext); }
AX.FM.RecordsService.GridXDataHandler.Refresh= function(gridXmlString,onSuccess,onFailed,userContext) {AX.FM.RecordsService.GridXDataHandler._staticInstance.Refresh(gridXmlString,onSuccess,onFailed,userContext); }
AX.FM.RecordsService.GridXDataHandler.LoadSubGroupsOrRecords= function(gridXmlString,onSuccess,onFailed,userContext) {AX.FM.RecordsService.GridXDataHandler._staticInstance.LoadSubGroupsOrRecords(gridXmlString,onSuccess,onFailed,userContext); }
AX.FM.RecordsService.GridXDataHandler.LoadMasterDetail= function(parentTable,parentView,parentKeyValue,onSuccess,onFailed,userContext) {AX.FM.RecordsService.GridXDataHandler._staticInstance.LoadMasterDetail(parentTable,parentView,parentKeyValue,onSuccess,onFailed,userContext); }
AX.FM.RecordsService.GridXDataHandler.LoadRecordPreview= function(tableName,viewName,keyValue,onSuccess,onFailed,userContext) {AX.FM.RecordsService.GridXDataHandler._staticInstance.LoadRecordPreview(tableName,viewName,keyValue,onSuccess,onFailed,userContext); }
AX.FM.RecordsService.GridXDataHandler.ExecCommand= function(gridXmlString,command,recordIDs,onSuccess,onFailed,userContext) {AX.FM.RecordsService.GridXDataHandler._staticInstance.ExecCommand(gridXmlString,command,recordIDs,onSuccess,onFailed,userContext); }
AX.FM.RecordsService.GridXDataHandler.LoadGridContainer= function(profile,group,folder,qs,onSuccess,onFailed,userContext) {AX.FM.RecordsService.GridXDataHandler._staticInstance.LoadGridContainer(profile,group,folder,qs,onSuccess,onFailed,userContext); }
AX.FM.RecordsService.GridXDataHandler.CheckUser= function(onSuccess,onFailed,userContext) {AX.FM.RecordsService.GridXDataHandler._staticInstance.CheckUser(onSuccess,onFailed,userContext); }
