Type.registerNamespace('LdnEilpService');
LdnEilpService.LondonService=function() {
LdnEilpService.LondonService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
LdnEilpService.LondonService.prototype={
GetLearnerDetails:function(userguid,succeededCallback, failedCallback, userContext) {
return this._invoke(LdnEilpService.LondonService.get_path(), 'GetLearnerDetails',false,{userguid:userguid},succeededCallback,failedCallback,userContext); },
GetLearnerDetailsByUsername:function(username,succeededCallback, failedCallback, userContext) {
return this._invoke(LdnEilpService.LondonService.get_path(), 'GetLearnerDetailsByUsername',false,{username:username},succeededCallback,failedCallback,userContext); },
GetLearnerProducts:function(userguid,areaId,succeededCallback, failedCallback, userContext) {
return this._invoke(LdnEilpService.LondonService.get_path(), 'GetLearnerProducts',false,{userguid:userguid,areaId:areaId},succeededCallback,failedCallback,userContext); },
GetProductByName:function(areaID,name,succeededCallback, failedCallback, userContext) {
return this._invoke(LdnEilpService.LondonService.get_path(), 'GetProductByName',false,{areaID:areaID,name:name},succeededCallback,failedCallback,userContext); },
GetAllProducts:function(areaID,succeededCallback, failedCallback, userContext) {
return this._invoke(LdnEilpService.LondonService.get_path(), 'GetAllProducts',false,{areaID:areaID},succeededCallback,failedCallback,userContext); },
GetCurrentArea:function(host,succeededCallback, failedCallback, userContext) {
return this._invoke(LdnEilpService.LondonService.get_path(), 'GetCurrentArea',false,{host:host},succeededCallback,failedCallback,userContext); },
AssignLearnerToProduct:function(userGuid,name,succeededCallback, failedCallback, userContext) {
return this._invoke(LdnEilpService.LondonService.get_path(), 'AssignLearnerToProduct',false,{userGuid:userGuid,name:name},succeededCallback,failedCallback,userContext); },
SavePageContentsForReadSpeaker:function(htmlContent,succeededCallback, failedCallback, userContext) {
return this._invoke(LdnEilpService.LondonService.get_path(), 'SavePageContentsForReadSpeaker',false,{htmlContent:htmlContent},succeededCallback,failedCallback,userContext); },
LoadPageContentsForReadSpeaker:function(g,succeededCallback, failedCallback, userContext) {
return this._invoke(LdnEilpService.LondonService.get_path(), 'LoadPageContentsForReadSpeaker',false,{g:g},succeededCallback,failedCallback,userContext); }}
LdnEilpService.LondonService.registerClass('LdnEilpService.LondonService',Sys.Net.WebServiceProxy);
LdnEilpService.LondonService._staticInstance = new LdnEilpService.LondonService();
LdnEilpService.LondonService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; LdnEilpService.LondonService._staticInstance._path = value; }
LdnEilpService.LondonService.get_path = function() { return LdnEilpService.LondonService._staticInstance._path; }
LdnEilpService.LondonService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
LdnEilpService.LondonService._staticInstance._timeout = value; }
LdnEilpService.LondonService.get_timeout = function() { 
return LdnEilpService.LondonService._staticInstance._timeout; }
LdnEilpService.LondonService.set_defaultUserContext = function(value) { 
LdnEilpService.LondonService._staticInstance._userContext = value; }
LdnEilpService.LondonService.get_defaultUserContext = function() { 
return LdnEilpService.LondonService._staticInstance._userContext; }
LdnEilpService.LondonService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; LdnEilpService.LondonService._staticInstance._succeeded = value; }
LdnEilpService.LondonService.get_defaultSucceededCallback = function() { 
return LdnEilpService.LondonService._staticInstance._succeeded; }
LdnEilpService.LondonService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; LdnEilpService.LondonService._staticInstance._failed = value; }
LdnEilpService.LondonService.get_defaultFailedCallback = function() { 
return LdnEilpService.LondonService._staticInstance._failed; }
LdnEilpService.LondonService.set_path("/ldnEilpService/londonservice.asmx");
LdnEilpService.LondonService.GetLearnerDetails= function(userguid,onSuccess,onFailed,userContext) {LdnEilpService.LondonService._staticInstance.GetLearnerDetails(userguid,onSuccess,onFailed,userContext); }
LdnEilpService.LondonService.GetLearnerDetailsByUsername= function(username,onSuccess,onFailed,userContext) {LdnEilpService.LondonService._staticInstance.GetLearnerDetailsByUsername(username,onSuccess,onFailed,userContext); }
LdnEilpService.LondonService.GetLearnerProducts= function(userguid,areaId,onSuccess,onFailed,userContext) {LdnEilpService.LondonService._staticInstance.GetLearnerProducts(userguid,areaId,onSuccess,onFailed,userContext); }
LdnEilpService.LondonService.GetProductByName= function(areaID,name,onSuccess,onFailed,userContext) {LdnEilpService.LondonService._staticInstance.GetProductByName(areaID,name,onSuccess,onFailed,userContext); }
LdnEilpService.LondonService.GetAllProducts= function(areaID,onSuccess,onFailed,userContext) {LdnEilpService.LondonService._staticInstance.GetAllProducts(areaID,onSuccess,onFailed,userContext); }
LdnEilpService.LondonService.GetCurrentArea= function(host,onSuccess,onFailed,userContext) {LdnEilpService.LondonService._staticInstance.GetCurrentArea(host,onSuccess,onFailed,userContext); }
LdnEilpService.LondonService.AssignLearnerToProduct= function(userGuid,name,onSuccess,onFailed,userContext) {LdnEilpService.LondonService._staticInstance.AssignLearnerToProduct(userGuid,name,onSuccess,onFailed,userContext); }
LdnEilpService.LondonService.SavePageContentsForReadSpeaker= function(htmlContent,onSuccess,onFailed,userContext) {LdnEilpService.LondonService._staticInstance.SavePageContentsForReadSpeaker(htmlContent,onSuccess,onFailed,userContext); }
LdnEilpService.LondonService.LoadPageContentsForReadSpeaker= function(g,onSuccess,onFailed,userContext) {LdnEilpService.LondonService._staticInstance.LoadPageContentsForReadSpeaker(g,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('LdnEilpCoreLibrary.Entities');
if (typeof(LdnEilpCoreLibrary.Entities.Learner) === 'undefined') {
LdnEilpCoreLibrary.Entities.Learner=gtc("LdnEilpCoreLibrary.Entities.Learner");
LdnEilpCoreLibrary.Entities.Learner.registerClass('LdnEilpCoreLibrary.Entities.Learner');
}
if (typeof(LdnEilpCoreLibrary.Entities.AreaProduct) === 'undefined') {
LdnEilpCoreLibrary.Entities.AreaProduct=gtc("LdnEilpCoreLibrary.Entities.AreaProduct");
LdnEilpCoreLibrary.Entities.AreaProduct.registerClass('LdnEilpCoreLibrary.Entities.AreaProduct');
}
if (typeof(LdnEilpCoreLibrary.Entities.Area) === 'undefined') {
LdnEilpCoreLibrary.Entities.Area=gtc("LdnEilpCoreLibrary.Entities.Area");
LdnEilpCoreLibrary.Entities.Area.registerClass('LdnEilpCoreLibrary.Entities.Area');
}
Type.registerNamespace('LdnEilpCoreLibrary.Enums');
if (typeof(LdnEilpCoreLibrary.Enums.ProductsEnum) === 'undefined') {
LdnEilpCoreLibrary.Enums.ProductsEnum = function() { throw Error.invalidOperation(); }
LdnEilpCoreLibrary.Enums.ProductsEnum.prototype = {CVbuilder: 0,ActionPlan: 1,LondonEilp: 2,Awp: 3,Pathways: 4,Careers: 5,Quiz: 6}
LdnEilpCoreLibrary.Enums.ProductsEnum.registerEnum('LdnEilpCoreLibrary.Enums.ProductsEnum', true);
}
