Type.registerNamespace('Capgemini.Adecco.Nordics.UI');
Capgemini.Adecco.Nordics.UI.ServiceInterface=function() {
Capgemini.Adecco.Nordics.UI.ServiceInterface.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Capgemini.Adecco.Nordics.UI.ServiceInterface.prototype={
LoginCandidate:function(candidateBasicInfo,succeededCallback, failedCallback, userContext) {
return this._invoke(Capgemini.Adecco.Nordics.UI.ServiceInterface.get_path(), 'LoginCandidate',false,{candidateBasicInfo:candidateBasicInfo},succeededCallback,failedCallback,userContext); },
SendPasswordToCandidate:function(candidateBasicInfo,succeededCallback, failedCallback, userContext) {
return this._invoke(Capgemini.Adecco.Nordics.UI.ServiceInterface.get_path(), 'SendPasswordToCandidate',false,{candidateBasicInfo:candidateBasicInfo},succeededCallback,failedCallback,userContext); },
InsertCandidate:function(basicInfo,cvFileInfo,additionalInfo,educationInfo,profCategories,workExperiences,succeededCallback, failedCallback, userContext) {
return this._invoke(Capgemini.Adecco.Nordics.UI.ServiceInterface.get_path(), 'InsertCandidate',false,{basicInfo:basicInfo,cvFileInfo:cvFileInfo,additionalInfo:additionalInfo,educationInfo:educationInfo,profCategories:profCategories,workExperiences:workExperiences},succeededCallback,failedCallback,userContext); },
LoginCandidateAndApply:function(candidateBasicInfo,sShift,succeededCallback, failedCallback, userContext) {
return this._invoke(Capgemini.Adecco.Nordics.UI.ServiceInterface.get_path(), 'LoginCandidateAndApply',false,{candidateBasicInfo:candidateBasicInfo,sShift:sShift},succeededCallback,failedCallback,userContext); },
ApplyVacancy:function(applyInfo,cvFileInfo,succeededCallback, failedCallback, userContext) {
return this._invoke(Capgemini.Adecco.Nordics.UI.ServiceInterface.get_path(), 'ApplyVacancy',false,{applyInfo:applyInfo,cvFileInfo:cvFileInfo},succeededCallback,failedCallback,userContext); },
GetCityByZipCode:function(zipCode,succeededCallback, failedCallback, userContext) {
return this._invoke(Capgemini.Adecco.Nordics.UI.ServiceInterface.get_path(), 'GetCityByZipCode',false,{zipCode:zipCode},succeededCallback,failedCallback,userContext); },
GetCostCenters:function(preferredWorkLocation,succeededCallback, failedCallback, userContext) {
return this._invoke(Capgemini.Adecco.Nordics.UI.ServiceInterface.get_path(), 'GetCostCenters',false,{preferredWorkLocation:preferredWorkLocation},succeededCallback,failedCallback,userContext); },
GetEducationSubLevels:function(educationLevel,succeededCallback, failedCallback, userContext) {
return this._invoke(Capgemini.Adecco.Nordics.UI.ServiceInterface.get_path(), 'GetEducationSubLevels',false,{educationLevel:educationLevel},succeededCallback,failedCallback,userContext); },
GetProvinces:function(region,succeededCallback, failedCallback, userContext) {
return this._invoke(Capgemini.Adecco.Nordics.UI.ServiceInterface.get_path(), 'GetProvinces',false,{region:region},succeededCallback,failedCallback,userContext); },
ActivateCandidate:function(candidateBasicInfo,succeededCallback, failedCallback, userContext) {
return this._invoke(Capgemini.Adecco.Nordics.UI.ServiceInterface.get_path(), 'ActivateCandidate',false,{candidateBasicInfo:candidateBasicInfo},succeededCallback,failedCallback,userContext); }}
Capgemini.Adecco.Nordics.UI.ServiceInterface.registerClass('Capgemini.Adecco.Nordics.UI.ServiceInterface',Sys.Net.WebServiceProxy);
Capgemini.Adecco.Nordics.UI.ServiceInterface._staticInstance = new Capgemini.Adecco.Nordics.UI.ServiceInterface();
Capgemini.Adecco.Nordics.UI.ServiceInterface.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; Capgemini.Adecco.Nordics.UI.ServiceInterface._staticInstance._path = value; }
Capgemini.Adecco.Nordics.UI.ServiceInterface.get_path = function() { return Capgemini.Adecco.Nordics.UI.ServiceInterface._staticInstance._path; }
Capgemini.Adecco.Nordics.UI.ServiceInterface.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); }
Capgemini.Adecco.Nordics.UI.ServiceInterface._staticInstance._timeout = value; }
Capgemini.Adecco.Nordics.UI.ServiceInterface.get_timeout = function() { 
return Capgemini.Adecco.Nordics.UI.ServiceInterface._staticInstance._timeout; }
Capgemini.Adecco.Nordics.UI.ServiceInterface.set_defaultUserContext = function(value) { 
Capgemini.Adecco.Nordics.UI.ServiceInterface._staticInstance._userContext = value; }
Capgemini.Adecco.Nordics.UI.ServiceInterface.get_defaultUserContext = function() { 
return Capgemini.Adecco.Nordics.UI.ServiceInterface._staticInstance._userContext; }
Capgemini.Adecco.Nordics.UI.ServiceInterface.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; Capgemini.Adecco.Nordics.UI.ServiceInterface._staticInstance._succeeded = value; }
Capgemini.Adecco.Nordics.UI.ServiceInterface.get_defaultSucceededCallback = function() { 
return Capgemini.Adecco.Nordics.UI.ServiceInterface._staticInstance._succeeded; }
Capgemini.Adecco.Nordics.UI.ServiceInterface.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; Capgemini.Adecco.Nordics.UI.ServiceInterface._staticInstance._failed = value; }
Capgemini.Adecco.Nordics.UI.ServiceInterface.get_defaultFailedCallback = function() { 
return Capgemini.Adecco.Nordics.UI.ServiceInterface._staticInstance._failed; }
Capgemini.Adecco.Nordics.UI.ServiceInterface.set_path("/Adecco.Nordics/Services/ServiceInterface.asmx");
Capgemini.Adecco.Nordics.UI.ServiceInterface.LoginCandidate= function(candidateBasicInfo,onSuccess,onFailed,userContext) {Capgemini.Adecco.Nordics.UI.ServiceInterface._staticInstance.LoginCandidate(candidateBasicInfo,onSuccess,onFailed,userContext); }
Capgemini.Adecco.Nordics.UI.ServiceInterface.SendPasswordToCandidate= function(candidateBasicInfo,onSuccess,onFailed,userContext) {Capgemini.Adecco.Nordics.UI.ServiceInterface._staticInstance.SendPasswordToCandidate(candidateBasicInfo,onSuccess,onFailed,userContext); }
Capgemini.Adecco.Nordics.UI.ServiceInterface.InsertCandidate= function(basicInfo,cvFileInfo,additionalInfo,educationInfo,profCategories,workExperiences,onSuccess,onFailed,userContext) {Capgemini.Adecco.Nordics.UI.ServiceInterface._staticInstance.InsertCandidate(basicInfo,cvFileInfo,additionalInfo,educationInfo,profCategories,workExperiences,onSuccess,onFailed,userContext); }
Capgemini.Adecco.Nordics.UI.ServiceInterface.LoginCandidateAndApply= function(candidateBasicInfo,sShift,onSuccess,onFailed,userContext) {Capgemini.Adecco.Nordics.UI.ServiceInterface._staticInstance.LoginCandidateAndApply(candidateBasicInfo,sShift,onSuccess,onFailed,userContext); }
Capgemini.Adecco.Nordics.UI.ServiceInterface.ApplyVacancy= function(applyInfo,cvFileInfo,onSuccess,onFailed,userContext) {Capgemini.Adecco.Nordics.UI.ServiceInterface._staticInstance.ApplyVacancy(applyInfo,cvFileInfo,onSuccess,onFailed,userContext); }
Capgemini.Adecco.Nordics.UI.ServiceInterface.GetCityByZipCode= function(zipCode,onSuccess,onFailed,userContext) {Capgemini.Adecco.Nordics.UI.ServiceInterface._staticInstance.GetCityByZipCode(zipCode,onSuccess,onFailed,userContext); }
Capgemini.Adecco.Nordics.UI.ServiceInterface.GetCostCenters= function(preferredWorkLocation,onSuccess,onFailed,userContext) {Capgemini.Adecco.Nordics.UI.ServiceInterface._staticInstance.GetCostCenters(preferredWorkLocation,onSuccess,onFailed,userContext); }
Capgemini.Adecco.Nordics.UI.ServiceInterface.GetEducationSubLevels= function(educationLevel,onSuccess,onFailed,userContext) {Capgemini.Adecco.Nordics.UI.ServiceInterface._staticInstance.GetEducationSubLevels(educationLevel,onSuccess,onFailed,userContext); }
Capgemini.Adecco.Nordics.UI.ServiceInterface.GetProvinces= function(region,onSuccess,onFailed,userContext) {Capgemini.Adecco.Nordics.UI.ServiceInterface._staticInstance.GetProvinces(region,onSuccess,onFailed,userContext); }
Capgemini.Adecco.Nordics.UI.ServiceInterface.ActivateCandidate= function(candidateBasicInfo,onSuccess,onFailed,userContext) {Capgemini.Adecco.Nordics.UI.ServiceInterface._staticInstance.ActivateCandidate(candidateBasicInfo,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Capgemini.Adecco.Nordics.SL.Model');
if (typeof(Capgemini.Adecco.Nordics.SL.Model.BasicInfo) === 'undefined') {
Capgemini.Adecco.Nordics.SL.Model.BasicInfo=gtc("Capgemini.Adecco.Nordics.SL.Model.BasicInfo");
Capgemini.Adecco.Nordics.SL.Model.BasicInfo.registerClass('Capgemini.Adecco.Nordics.SL.Model.BasicInfo');
}
Type.registerNamespace('Capgemini.Adecco.Nordics.SL');
if (typeof(Capgemini.Adecco.Nordics.SL.ServiceRespose) === 'undefined') {
Capgemini.Adecco.Nordics.SL.ServiceRespose=gtc("Capgemini.Adecco.Nordics.SL.ServiceRespose");
Capgemini.Adecco.Nordics.SL.ServiceRespose.registerClass('Capgemini.Adecco.Nordics.SL.ServiceRespose');
}
if (typeof(Capgemini.Adecco.Nordics.SL.Model.CVFileInfo) === 'undefined') {
Capgemini.Adecco.Nordics.SL.Model.CVFileInfo=gtc("Capgemini.Adecco.Nordics.SL.Model.CVFileInfo");
Capgemini.Adecco.Nordics.SL.Model.CVFileInfo.registerClass('Capgemini.Adecco.Nordics.SL.Model.CVFileInfo');
}
if (typeof(Capgemini.Adecco.Nordics.SL.Model.AdditionalInfo) === 'undefined') {
Capgemini.Adecco.Nordics.SL.Model.AdditionalInfo=gtc("Capgemini.Adecco.Nordics.SL.Model.AdditionalInfo");
Capgemini.Adecco.Nordics.SL.Model.AdditionalInfo.registerClass('Capgemini.Adecco.Nordics.SL.Model.AdditionalInfo');
}
if (typeof(Capgemini.Adecco.Nordics.SL.Model.EducationInfo) === 'undefined') {
Capgemini.Adecco.Nordics.SL.Model.EducationInfo=gtc("Capgemini.Adecco.Nordics.SL.Model.EducationInfo");
Capgemini.Adecco.Nordics.SL.Model.EducationInfo.registerClass('Capgemini.Adecco.Nordics.SL.Model.EducationInfo');
}
if (typeof(Capgemini.Adecco.Nordics.SL.Model.ProfCategoryInfo) === 'undefined') {
Capgemini.Adecco.Nordics.SL.Model.ProfCategoryInfo=gtc("Capgemini.Adecco.Nordics.SL.Model.ProfCategoryInfo");
Capgemini.Adecco.Nordics.SL.Model.ProfCategoryInfo.registerClass('Capgemini.Adecco.Nordics.SL.Model.ProfCategoryInfo');
}
if (typeof(Capgemini.Adecco.Nordics.SL.Model.WorkExperienceInfo) === 'undefined') {
Capgemini.Adecco.Nordics.SL.Model.WorkExperienceInfo=gtc("Capgemini.Adecco.Nordics.SL.Model.WorkExperienceInfo");
Capgemini.Adecco.Nordics.SL.Model.WorkExperienceInfo.registerClass('Capgemini.Adecco.Nordics.SL.Model.WorkExperienceInfo');
}
if (typeof(Capgemini.Adecco.Nordics.SL.Model.ApplyVacancyInfo) === 'undefined') {
Capgemini.Adecco.Nordics.SL.Model.ApplyVacancyInfo=gtc("Capgemini.Adecco.Nordics.SL.Model.ApplyVacancyInfo");
Capgemini.Adecco.Nordics.SL.Model.ApplyVacancyInfo.registerClass('Capgemini.Adecco.Nordics.SL.Model.ApplyVacancyInfo');
}

