Type.registerNamespace('AJAXInterface.modul.AuthenticationService');
AJAXInterface.modul.AuthenticationService.AuthenticationService=function() {
AJAXInterface.modul.AuthenticationService.AuthenticationService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AJAXInterface.modul.AuthenticationService.AuthenticationService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return AJAXInterface.modul.AuthenticationService.AuthenticationService._staticInstance.get_path();},
login:function(username,password,processID,events,succeededCallback, failedCallback, userContext) {
/// <param name="username" type="String">System.String</param>
/// <param name="password" type="String">System.String</param>
/// <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(), 'login',false,{username:username,password:password,processID:processID,events:events},succeededCallback,failedCallback,userContext); },
logout:function(userID,processID,events,succeededCallback, failedCallback, userContext) {
/// <param name="userID" type="Number">System.Int32</param>
/// <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(), 'logout',false,{userID:userID,processID:processID,events:events},succeededCallback,failedCallback,userContext); },
getPermissionsList: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(), 'getPermissionsList',false,{processID:processID,events:events},succeededCallback,failedCallback,userContext); },
sendPassword:function(username,processID,events,succeededCallback, failedCallback, userContext) {
/// <param name="username" type="String">System.String</param>
/// <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(), 'sendPassword',false,{username:username,processID:processID,events:events},succeededCallback,failedCallback,userContext); },
changePassword:function(password,processID,events,succeededCallback, failedCallback, userContext) {
/// <param name="password" type="String">System.String</param>
/// <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(), 'changePassword',false,{password:password,processID:processID,events:events},succeededCallback,failedCallback,userContext); }}
AJAXInterface.modul.AuthenticationService.AuthenticationService.registerClass('AJAXInterface.modul.AuthenticationService.AuthenticationService',Sys.Net.WebServiceProxy);
AJAXInterface.modul.AuthenticationService.AuthenticationService._staticInstance = new AJAXInterface.modul.AuthenticationService.AuthenticationService();
AJAXInterface.modul.AuthenticationService.AuthenticationService.set_path = function(value) {
AJAXInterface.modul.AuthenticationService.AuthenticationService._staticInstance.set_path(value); }
AJAXInterface.modul.AuthenticationService.AuthenticationService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return AJAXInterface.modul.AuthenticationService.AuthenticationService._staticInstance.get_path();}
AJAXInterface.modul.AuthenticationService.AuthenticationService.set_timeout = function(value) {
AJAXInterface.modul.AuthenticationService.AuthenticationService._staticInstance.set_timeout(value); }
AJAXInterface.modul.AuthenticationService.AuthenticationService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return AJAXInterface.modul.AuthenticationService.AuthenticationService._staticInstance.get_timeout(); }
AJAXInterface.modul.AuthenticationService.AuthenticationService.set_defaultUserContext = function(value) { 
AJAXInterface.modul.AuthenticationService.AuthenticationService._staticInstance.set_defaultUserContext(value); }
AJAXInterface.modul.AuthenticationService.AuthenticationService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return AJAXInterface.modul.AuthenticationService.AuthenticationService._staticInstance.get_defaultUserContext(); }
AJAXInterface.modul.AuthenticationService.AuthenticationService.set_defaultSucceededCallback = function(value) { 
 AJAXInterface.modul.AuthenticationService.AuthenticationService._staticInstance.set_defaultSucceededCallback(value); }
AJAXInterface.modul.AuthenticationService.AuthenticationService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return AJAXInterface.modul.AuthenticationService.AuthenticationService._staticInstance.get_defaultSucceededCallback(); }
AJAXInterface.modul.AuthenticationService.AuthenticationService.set_defaultFailedCallback = function(value) { 
AJAXInterface.modul.AuthenticationService.AuthenticationService._staticInstance.set_defaultFailedCallback(value); }
AJAXInterface.modul.AuthenticationService.AuthenticationService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return AJAXInterface.modul.AuthenticationService.AuthenticationService._staticInstance.get_defaultFailedCallback(); }
AJAXInterface.modul.AuthenticationService.AuthenticationService.set_path("/AJAXInterface/modul/Authentication/AuthenticationService.asmx");
AJAXInterface.modul.AuthenticationService.AuthenticationService.login= function(username,password,processID,events,onSuccess,onFailed,userContext) {
/// <param name="username" type="String">System.String</param>
/// <param name="password" type="String">System.String</param>
/// <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.AuthenticationService.AuthenticationService._staticInstance.login(username,password,processID,events,onSuccess,onFailed,userContext); }
AJAXInterface.modul.AuthenticationService.AuthenticationService.logout= function(userID,processID,events,onSuccess,onFailed,userContext) {
/// <param name="userID" type="Number">System.Int32</param>
/// <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.AuthenticationService.AuthenticationService._staticInstance.logout(userID,processID,events,onSuccess,onFailed,userContext); }
AJAXInterface.modul.AuthenticationService.AuthenticationService.getPermissionsList= 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.AuthenticationService.AuthenticationService._staticInstance.getPermissionsList(processID,events,onSuccess,onFailed,userContext); }
AJAXInterface.modul.AuthenticationService.AuthenticationService.sendPassword= function(username,processID,events,onSuccess,onFailed,userContext) {
/// <param name="username" type="String">System.String</param>
/// <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.AuthenticationService.AuthenticationService._staticInstance.sendPassword(username,processID,events,onSuccess,onFailed,userContext); }
AJAXInterface.modul.AuthenticationService.AuthenticationService.changePassword= function(password,processID,events,onSuccess,onFailed,userContext) {
/// <param name="password" type="String">System.String</param>
/// <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.AuthenticationService.AuthenticationService._staticInstance.changePassword(password,processID,events,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');
}
