Type.registerNamespace('DownUnderJobs.Web');
DownUnderJobs.Web.AjaxWebMethods=function() {
DownUnderJobs.Web.AjaxWebMethods.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
DownUnderJobs.Web.AjaxWebMethods.prototype={
SaveCVRegistrationDetails:function(professionID,name,contactNumber,email,succeededCallback, failedCallback, userContext) {
return this._invoke(DownUnderJobs.Web.AjaxWebMethods.get_path(), 'SaveCVRegistrationDetails',false,{professionID:professionID,name:name,contactNumber:contactNumber,email:email},succeededCallback,failedCallback,userContext); },
SaveCVRegistrationAdditionalInfo:function(cvRegistrationID,appliedForVisa,flyInFlyOut,IdealRole,countryOfOrigin,ausLocationOfInterest,dedicatedConsultant,hearAboutUs,succeededCallback, failedCallback, userContext) {
return this._invoke(DownUnderJobs.Web.AjaxWebMethods.get_path(), 'SaveCVRegistrationAdditionalInfo',false,{cvRegistrationID:cvRegistrationID,appliedForVisa:appliedForVisa,flyInFlyOut:flyInFlyOut,IdealRole:IdealRole,countryOfOrigin:countryOfOrigin,ausLocationOfInterest:ausLocationOfInterest,dedicatedConsultant:dedicatedConsultant,hearAboutUs:hearAboutUs},succeededCallback,failedCallback,userContext); },
GetJobs:function(state,queryString,numOfJobs,succeededCallback, failedCallback, userContext) {
return this._invoke(DownUnderJobs.Web.AjaxWebMethods.get_path(), 'GetJobs',false,{state:state,queryString:queryString,numOfJobs:numOfJobs},succeededCallback,failedCallback,userContext); },
SaveNomination:function(nomineeFirstName,nomineeSurname,nomineeEmail,nomineePhone,nomineeAreaOfExpertiseID,firstName,surname,email,phone,professionDescription,succeededCallback, failedCallback, userContext) {
return this._invoke(DownUnderJobs.Web.AjaxWebMethods.get_path(), 'SaveNomination',false,{nomineeFirstName:nomineeFirstName,nomineeSurname:nomineeSurname,nomineeEmail:nomineeEmail,nomineePhone:nomineePhone,nomineeAreaOfExpertiseID:nomineeAreaOfExpertiseID,firstName:firstName,surname:surname,email:email,phone:phone,professionDescription:professionDescription},succeededCallback,failedCallback,userContext); },
GetCVRegistration:function(cvRegistrationID,succeededCallback, failedCallback, userContext) {
return this._invoke(DownUnderJobs.Web.AjaxWebMethods.get_path(), 'GetCVRegistration',false,{cvRegistrationID:cvRegistrationID},succeededCallback,failedCallback,userContext); },
GetNomination:function(nominationID,succeededCallback, failedCallback, userContext) {
return this._invoke(DownUnderJobs.Web.AjaxWebMethods.get_path(), 'GetNomination',false,{nominationID:nominationID},succeededCallback,failedCallback,userContext); },
GetAustralianCity:function(australianCityID,succeededCallback, failedCallback, userContext) {
return this._invoke(DownUnderJobs.Web.AjaxWebMethods.get_path(), 'GetAustralianCity',false,{australianCityID:australianCityID},succeededCallback,failedCallback,userContext); },
GetJobApplication:function(jobApplicationID,succeededCallback, failedCallback, userContext) {
return this._invoke(DownUnderJobs.Web.AjaxWebMethods.get_path(), 'GetJobApplication',false,{jobApplicationID:jobApplicationID},succeededCallback,failedCallback,userContext); },
GetCvRegistrations:function(succeededCallback, failedCallback, userContext) {
return this._invoke(DownUnderJobs.Web.AjaxWebMethods.get_path(), 'GetCvRegistrations',false,{},succeededCallback,failedCallback,userContext); },
ToggleCvRegistration:function(cvRegistrationID,isActive,succeededCallback, failedCallback, userContext) {
return this._invoke(DownUnderJobs.Web.AjaxWebMethods.get_path(), 'ToggleCvRegistration',false,{cvRegistrationID:cvRegistrationID,isActive:isActive},succeededCallback,failedCallback,userContext); },
GetCVResume:function(cvRegistrationID,succeededCallback, failedCallback, userContext) {
return this._invoke(DownUnderJobs.Web.AjaxWebMethods.get_path(), 'GetCVResume',false,{cvRegistrationID:cvRegistrationID},succeededCallback,failedCallback,userContext); }}
DownUnderJobs.Web.AjaxWebMethods.registerClass('DownUnderJobs.Web.AjaxWebMethods',Sys.Net.WebServiceProxy);
DownUnderJobs.Web.AjaxWebMethods._staticInstance = new DownUnderJobs.Web.AjaxWebMethods();
DownUnderJobs.Web.AjaxWebMethods.set_path = function(value) { DownUnderJobs.Web.AjaxWebMethods._staticInstance._path = value; }
DownUnderJobs.Web.AjaxWebMethods.get_path = function() { return DownUnderJobs.Web.AjaxWebMethods._staticInstance._path; }
DownUnderJobs.Web.AjaxWebMethods.set_timeout = function(value) { DownUnderJobs.Web.AjaxWebMethods._staticInstance._timeout = value; }
DownUnderJobs.Web.AjaxWebMethods.get_timeout = function() { return DownUnderJobs.Web.AjaxWebMethods._staticInstance._timeout; }
DownUnderJobs.Web.AjaxWebMethods.set_defaultUserContext = function(value) { DownUnderJobs.Web.AjaxWebMethods._staticInstance._userContext = value; }
DownUnderJobs.Web.AjaxWebMethods.get_defaultUserContext = function() { return DownUnderJobs.Web.AjaxWebMethods._staticInstance._userContext; }
DownUnderJobs.Web.AjaxWebMethods.set_defaultSucceededCallback = function(value) { DownUnderJobs.Web.AjaxWebMethods._staticInstance._succeeded = value; }
DownUnderJobs.Web.AjaxWebMethods.get_defaultSucceededCallback = function() { return DownUnderJobs.Web.AjaxWebMethods._staticInstance._succeeded; }
DownUnderJobs.Web.AjaxWebMethods.set_defaultFailedCallback = function(value) { DownUnderJobs.Web.AjaxWebMethods._staticInstance._failed = value; }
DownUnderJobs.Web.AjaxWebMethods.get_defaultFailedCallback = function() { return DownUnderJobs.Web.AjaxWebMethods._staticInstance._failed; }
DownUnderJobs.Web.AjaxWebMethods.set_path("/WebServices/AjaxWebMethods.asmx");
DownUnderJobs.Web.AjaxWebMethods.SaveCVRegistrationDetails= function(professionID,name,contactNumber,email,onSuccess,onFailed,userContext) {DownUnderJobs.Web.AjaxWebMethods._staticInstance.SaveCVRegistrationDetails(professionID,name,contactNumber,email,onSuccess,onFailed,userContext); }
DownUnderJobs.Web.AjaxWebMethods.SaveCVRegistrationAdditionalInfo= function(cvRegistrationID,appliedForVisa,flyInFlyOut,IdealRole,countryOfOrigin,ausLocationOfInterest,dedicatedConsultant,hearAboutUs,onSuccess,onFailed,userContext) {DownUnderJobs.Web.AjaxWebMethods._staticInstance.SaveCVRegistrationAdditionalInfo(cvRegistrationID,appliedForVisa,flyInFlyOut,IdealRole,countryOfOrigin,ausLocationOfInterest,dedicatedConsultant,hearAboutUs,onSuccess,onFailed,userContext); }
DownUnderJobs.Web.AjaxWebMethods.GetJobs= function(state,queryString,numOfJobs,onSuccess,onFailed,userContext) {DownUnderJobs.Web.AjaxWebMethods._staticInstance.GetJobs(state,queryString,numOfJobs,onSuccess,onFailed,userContext); }
DownUnderJobs.Web.AjaxWebMethods.SaveNomination= function(nomineeFirstName,nomineeSurname,nomineeEmail,nomineePhone,nomineeAreaOfExpertiseID,firstName,surname,email,phone,professionDescription,onSuccess,onFailed,userContext) {DownUnderJobs.Web.AjaxWebMethods._staticInstance.SaveNomination(nomineeFirstName,nomineeSurname,nomineeEmail,nomineePhone,nomineeAreaOfExpertiseID,firstName,surname,email,phone,professionDescription,onSuccess,onFailed,userContext); }
DownUnderJobs.Web.AjaxWebMethods.GetCVRegistration= function(cvRegistrationID,onSuccess,onFailed,userContext) {DownUnderJobs.Web.AjaxWebMethods._staticInstance.GetCVRegistration(cvRegistrationID,onSuccess,onFailed,userContext); }
DownUnderJobs.Web.AjaxWebMethods.GetNomination= function(nominationID,onSuccess,onFailed,userContext) {DownUnderJobs.Web.AjaxWebMethods._staticInstance.GetNomination(nominationID,onSuccess,onFailed,userContext); }
DownUnderJobs.Web.AjaxWebMethods.GetAustralianCity= function(australianCityID,onSuccess,onFailed,userContext) {DownUnderJobs.Web.AjaxWebMethods._staticInstance.GetAustralianCity(australianCityID,onSuccess,onFailed,userContext); }
DownUnderJobs.Web.AjaxWebMethods.GetJobApplication= function(jobApplicationID,onSuccess,onFailed,userContext) {DownUnderJobs.Web.AjaxWebMethods._staticInstance.GetJobApplication(jobApplicationID,onSuccess,onFailed,userContext); }
DownUnderJobs.Web.AjaxWebMethods.GetCvRegistrations= function(onSuccess,onFailed,userContext) {DownUnderJobs.Web.AjaxWebMethods._staticInstance.GetCvRegistrations(onSuccess,onFailed,userContext); }
DownUnderJobs.Web.AjaxWebMethods.ToggleCvRegistration= function(cvRegistrationID,isActive,onSuccess,onFailed,userContext) {DownUnderJobs.Web.AjaxWebMethods._staticInstance.ToggleCvRegistration(cvRegistrationID,isActive,onSuccess,onFailed,userContext); }
DownUnderJobs.Web.AjaxWebMethods.GetCVResume= function(cvRegistrationID,onSuccess,onFailed,userContext) {DownUnderJobs.Web.AjaxWebMethods._staticInstance.GetCVResume(cvRegistrationID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(DownUnderJobs.Web.AjaxWebMethods_Message) === 'undefined') {
DownUnderJobs.Web.AjaxWebMethods_Message=gtc("DownUnderJobs.Web.AjaxWebMethods+Message");
DownUnderJobs.Web.AjaxWebMethods_Message.registerClass('DownUnderJobs.Web.AjaxWebMethods_Message');
}
