Type.registerNamespace('AJAXInterface.modul.FrameworkService');
AJAXInterface.modul.FrameworkService.FrameworkService=function() {
AJAXInterface.modul.FrameworkService.FrameworkService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AJAXInterface.modul.FrameworkService.FrameworkService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return AJAXInterface.modul.FrameworkService.FrameworkService._staticInstance.get_path();},
LogClientError:function(errorMsg,stack,fileName,lineNumber,errorNumber,facilityNumber,userID,clientBrowserSignature,clientOSSignature,methodName,additionalData,events,succeededCallback, failedCallback, userContext) {
/// <param name="errorMsg" type="String">System.String</param>
/// <param name="stack" type="String">System.String</param>
/// <param name="fileName" type="String">System.String</param>
/// <param name="lineNumber" type="String">System.String</param>
/// <param name="errorNumber" type="String">System.String</param>
/// <param name="facilityNumber" type="String">System.String</param>
/// <param name="userID" type="Number">System.Int32</param>
/// <param name="clientBrowserSignature" type="String">System.String</param>
/// <param name="clientOSSignature" type="String">System.String</param>
/// <param name="methodName" type="String">System.String</param>
/// <param name="additionalData" type="String">System.String</param>
/// <param name="events">System.Object</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'LogClientError',false,{errorMsg:errorMsg,stack:stack,fileName:fileName,lineNumber:lineNumber,errorNumber:errorNumber,facilityNumber:facilityNumber,userID:userID,clientBrowserSignature:clientBrowserSignature,clientOSSignature:clientOSSignature,methodName:methodName,additionalData:additionalData,events:events},succeededCallback,failedCallback,userContext); },
SessionKeepAlive:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SessionKeepAlive',false,{},succeededCallback,failedCallback,userContext); },
GetSessionTimeout:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetSessionTimeout',false,{},succeededCallback,failedCallback,userContext); },
GetSessionID:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetSessionID',false,{},succeededCallback,failedCallback,userContext); },
saveClientEvents:function(processID,events,succeededCallback, failedCallback, userContext) {
/// <param name="processID" type="Number">System.Int32</param>
/// <param name="events">System.Object</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'saveClientEvents',false,{processID:processID,events:events},succeededCallback,failedCallback,userContext); },
getTroubleTicket:function(troubleTicketID,username,password,succeededCallback, failedCallback, userContext) {
/// <param name="troubleTicketID" type="Number">System.Int32</param>
/// <param name="username" type="String">System.String</param>
/// <param name="password" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'getTroubleTicket',false,{troubleTicketID:troubleTicketID,username:username,password:password},succeededCallback,failedCallback,userContext); },
getAllTroubleTickets:function(username,password,succeededCallback, failedCallback, userContext) {
/// <param name="username" type="String">System.String</param>
/// <param name="password" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'getAllTroubleTickets',false,{username:username,password:password},succeededCallback,failedCallback,userContext); },
prepareSession:function(sektionsID,clientOSSignature,clientBrowserSignature,clientBrowserSupported,cookiesEnabled,scriptVersion,succeededCallback, failedCallback, userContext) {
/// <param name="sektionsID" type="Number">System.Int32</param>
/// <param name="clientOSSignature" type="String">System.String</param>
/// <param name="clientBrowserSignature" type="String">System.String</param>
/// <param name="clientBrowserSupported" type="Boolean">System.Boolean</param>
/// <param name="cookiesEnabled" type="Boolean">System.Boolean</param>
/// <param name="scriptVersion" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'prepareSession',false,{sektionsID:sektionsID,clientOSSignature:clientOSSignature,clientBrowserSignature:clientBrowserSignature,clientBrowserSupported:clientBrowserSupported,cookiesEnabled:cookiesEnabled,scriptVersion:scriptVersion},succeededCallback,failedCallback,userContext); },
throwError:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'throwError',false,{},succeededCallback,failedCallback,userContext); }}
AJAXInterface.modul.FrameworkService.FrameworkService.registerClass('AJAXInterface.modul.FrameworkService.FrameworkService',Sys.Net.WebServiceProxy);
AJAXInterface.modul.FrameworkService.FrameworkService._staticInstance = new AJAXInterface.modul.FrameworkService.FrameworkService();
AJAXInterface.modul.FrameworkService.FrameworkService.set_path = function(value) {
AJAXInterface.modul.FrameworkService.FrameworkService._staticInstance.set_path(value); }
AJAXInterface.modul.FrameworkService.FrameworkService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return AJAXInterface.modul.FrameworkService.FrameworkService._staticInstance.get_path();}
AJAXInterface.modul.FrameworkService.FrameworkService.set_timeout = function(value) {
AJAXInterface.modul.FrameworkService.FrameworkService._staticInstance.set_timeout(value); }
AJAXInterface.modul.FrameworkService.FrameworkService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return AJAXInterface.modul.FrameworkService.FrameworkService._staticInstance.get_timeout(); }
AJAXInterface.modul.FrameworkService.FrameworkService.set_defaultUserContext = function(value) { 
AJAXInterface.modul.FrameworkService.FrameworkService._staticInstance.set_defaultUserContext(value); }
AJAXInterface.modul.FrameworkService.FrameworkService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return AJAXInterface.modul.FrameworkService.FrameworkService._staticInstance.get_defaultUserContext(); }
AJAXInterface.modul.FrameworkService.FrameworkService.set_defaultSucceededCallback = function(value) { 
 AJAXInterface.modul.FrameworkService.FrameworkService._staticInstance.set_defaultSucceededCallback(value); }
AJAXInterface.modul.FrameworkService.FrameworkService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return AJAXInterface.modul.FrameworkService.FrameworkService._staticInstance.get_defaultSucceededCallback(); }
AJAXInterface.modul.FrameworkService.FrameworkService.set_defaultFailedCallback = function(value) { 
AJAXInterface.modul.FrameworkService.FrameworkService._staticInstance.set_defaultFailedCallback(value); }
AJAXInterface.modul.FrameworkService.FrameworkService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return AJAXInterface.modul.FrameworkService.FrameworkService._staticInstance.get_defaultFailedCallback(); }
AJAXInterface.modul.FrameworkService.FrameworkService.set_path("/AJAXInterface/modul/Framework/FrameworkService.asmx");
AJAXInterface.modul.FrameworkService.FrameworkService.LogClientError= function(errorMsg,stack,fileName,lineNumber,errorNumber,facilityNumber,userID,clientBrowserSignature,clientOSSignature,methodName,additionalData,events,onSuccess,onFailed,userContext) {
/// <param name="errorMsg" type="String">System.String</param>
/// <param name="stack" type="String">System.String</param>
/// <param name="fileName" type="String">System.String</param>
/// <param name="lineNumber" type="String">System.String</param>
/// <param name="errorNumber" type="String">System.String</param>
/// <param name="facilityNumber" type="String">System.String</param>
/// <param name="userID" type="Number">System.Int32</param>
/// <param name="clientBrowserSignature" type="String">System.String</param>
/// <param name="clientOSSignature" type="String">System.String</param>
/// <param name="methodName" type="String">System.String</param>
/// <param name="additionalData" type="String">System.String</param>
/// <param name="events">System.Object</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
AJAXInterface.modul.FrameworkService.FrameworkService._staticInstance.LogClientError(errorMsg,stack,fileName,lineNumber,errorNumber,facilityNumber,userID,clientBrowserSignature,clientOSSignature,methodName,additionalData,events,onSuccess,onFailed,userContext); }
AJAXInterface.modul.FrameworkService.FrameworkService.SessionKeepAlive= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
AJAXInterface.modul.FrameworkService.FrameworkService._staticInstance.SessionKeepAlive(onSuccess,onFailed,userContext); }
AJAXInterface.modul.FrameworkService.FrameworkService.GetSessionTimeout= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
AJAXInterface.modul.FrameworkService.FrameworkService._staticInstance.GetSessionTimeout(onSuccess,onFailed,userContext); }
AJAXInterface.modul.FrameworkService.FrameworkService.GetSessionID= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
AJAXInterface.modul.FrameworkService.FrameworkService._staticInstance.GetSessionID(onSuccess,onFailed,userContext); }
AJAXInterface.modul.FrameworkService.FrameworkService.saveClientEvents= function(processID,events,onSuccess,onFailed,userContext) {
/// <param name="processID" type="Number">System.Int32</param>
/// <param name="events">System.Object</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
AJAXInterface.modul.FrameworkService.FrameworkService._staticInstance.saveClientEvents(processID,events,onSuccess,onFailed,userContext); }
AJAXInterface.modul.FrameworkService.FrameworkService.getTroubleTicket= function(troubleTicketID,username,password,onSuccess,onFailed,userContext) {
/// <param name="troubleTicketID" type="Number">System.Int32</param>
/// <param name="username" type="String">System.String</param>
/// <param name="password" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
AJAXInterface.modul.FrameworkService.FrameworkService._staticInstance.getTroubleTicket(troubleTicketID,username,password,onSuccess,onFailed,userContext); }
AJAXInterface.modul.FrameworkService.FrameworkService.getAllTroubleTickets= function(username,password,onSuccess,onFailed,userContext) {
/// <param name="username" type="String">System.String</param>
/// <param name="password" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
AJAXInterface.modul.FrameworkService.FrameworkService._staticInstance.getAllTroubleTickets(username,password,onSuccess,onFailed,userContext); }
AJAXInterface.modul.FrameworkService.FrameworkService.prepareSession= function(sektionsID,clientOSSignature,clientBrowserSignature,clientBrowserSupported,cookiesEnabled,scriptVersion,onSuccess,onFailed,userContext) {
/// <param name="sektionsID" type="Number">System.Int32</param>
/// <param name="clientOSSignature" type="String">System.String</param>
/// <param name="clientBrowserSignature" type="String">System.String</param>
/// <param name="clientBrowserSupported" type="Boolean">System.Boolean</param>
/// <param name="cookiesEnabled" type="Boolean">System.Boolean</param>
/// <param name="scriptVersion" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
AJAXInterface.modul.FrameworkService.FrameworkService._staticInstance.prepareSession(sektionsID,clientOSSignature,clientBrowserSignature,clientBrowserSupported,cookiesEnabled,scriptVersion,onSuccess,onFailed,userContext); }
AJAXInterface.modul.FrameworkService.FrameworkService.throwError= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
AJAXInterface.modul.FrameworkService.FrameworkService._staticInstance.throwError(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('ModanFramework.modul.WebServiceExtensions.model');
if (typeof(ModanFramework.modul.WebServiceExtensions.model.WebserviceResult) === 'undefined') {
ModanFramework.modul.WebServiceExtensions.model.WebserviceResult=gtc("ModanFramework.modul.WebServiceExtensions.model.WebserviceResult");
ModanFramework.modul.WebServiceExtensions.model.WebserviceResult.registerClass('ModanFramework.modul.WebServiceExtensions.model.WebserviceResult');
}
