Type.registerNamespace('HEH.WebSite.WebServices');
HEH.WebSite.WebServices.AffinityDialogsService=function() {
HEH.WebSite.WebServices.AffinityDialogsService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
HEH.WebSite.WebServices.AffinityDialogsService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return HEH.WebSite.WebServices.AffinityDialogsService._staticInstance.get_path();},
GetProgramsByInstId:function(id,succeededCallback, failedCallback, userContext) {
/// <param name="id" type="Number">System.Int64</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(), 'GetProgramsByInstId',false,{id:id},succeededCallback,failedCallback,userContext); },
GetProgramsByInstIdandVertical:function(id,verticalID,succeededCallback, failedCallback, userContext) {
/// <param name="id" type="Number">System.Int64</param>
/// <param name="verticalID" 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(), 'GetProgramsByInstIdandVertical',false,{id:id,verticalID:verticalID},succeededCallback,failedCallback,userContext); },
SaveAffinityDialog:function(dto,succeededCallback, failedCallback, userContext) {
/// <param name="dto" type="HEH.WebSite.WebServices.DTO.AffinityPopupDTO">HEH.WebSite.WebServices.DTO.AffinityPopupDTO</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(), 'SaveAffinityDialog',false,{dto:dto},succeededCallback,failedCallback,userContext); },
SaveApplyNowInfo:function(dto,succeededCallback, failedCallback, userContext) {
/// <param name="dto" type="HEH.WebSite.WebServices.DTO.ApplyNowDTO">HEH.WebSite.WebServices.DTO.ApplyNowDTO</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(), 'SaveApplyNowInfo',false,{dto:dto},succeededCallback,failedCallback,userContext); },
SaveRequestMoreInfo:function(dto,succeededCallback, failedCallback, userContext) {
/// <param name="dto" type="HEH.WebSite.WebServices.DTO.RequestProgramInfoDTO">HEH.WebSite.WebServices.DTO.RequestProgramInfoDTO</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(), 'SaveRequestMoreInfo',false,{dto:dto},succeededCallback,failedCallback,userContext); },
SaveRequestInfo:function(dto,succeededCallback, failedCallback, userContext) {
/// <param name="dto" type="HEH.WebSite.WebServices.DTO.RequestInfoDTO">HEH.WebSite.WebServices.DTO.RequestInfoDTO</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(), 'SaveRequestInfo',false,{dto:dto},succeededCallback,failedCallback,userContext); }}
HEH.WebSite.WebServices.AffinityDialogsService.registerClass('HEH.WebSite.WebServices.AffinityDialogsService',Sys.Net.WebServiceProxy);
HEH.WebSite.WebServices.AffinityDialogsService._staticInstance = new HEH.WebSite.WebServices.AffinityDialogsService();
HEH.WebSite.WebServices.AffinityDialogsService.set_path = function(value) {
HEH.WebSite.WebServices.AffinityDialogsService._staticInstance.set_path(value); }
HEH.WebSite.WebServices.AffinityDialogsService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return HEH.WebSite.WebServices.AffinityDialogsService._staticInstance.get_path();}
HEH.WebSite.WebServices.AffinityDialogsService.set_timeout = function(value) {
HEH.WebSite.WebServices.AffinityDialogsService._staticInstance.set_timeout(value); }
HEH.WebSite.WebServices.AffinityDialogsService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return HEH.WebSite.WebServices.AffinityDialogsService._staticInstance.get_timeout(); }
HEH.WebSite.WebServices.AffinityDialogsService.set_defaultUserContext = function(value) { 
HEH.WebSite.WebServices.AffinityDialogsService._staticInstance.set_defaultUserContext(value); }
HEH.WebSite.WebServices.AffinityDialogsService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return HEH.WebSite.WebServices.AffinityDialogsService._staticInstance.get_defaultUserContext(); }
HEH.WebSite.WebServices.AffinityDialogsService.set_defaultSucceededCallback = function(value) { 
 HEH.WebSite.WebServices.AffinityDialogsService._staticInstance.set_defaultSucceededCallback(value); }
HEH.WebSite.WebServices.AffinityDialogsService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return HEH.WebSite.WebServices.AffinityDialogsService._staticInstance.get_defaultSucceededCallback(); }
HEH.WebSite.WebServices.AffinityDialogsService.set_defaultFailedCallback = function(value) { 
HEH.WebSite.WebServices.AffinityDialogsService._staticInstance.set_defaultFailedCallback(value); }
HEH.WebSite.WebServices.AffinityDialogsService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return HEH.WebSite.WebServices.AffinityDialogsService._staticInstance.get_defaultFailedCallback(); }
HEH.WebSite.WebServices.AffinityDialogsService.set_path("/AjaxDataService.asmx");
HEH.WebSite.WebServices.AffinityDialogsService.GetProgramsByInstId= function(id,onSuccess,onFailed,userContext) {
/// <param name="id" type="Number">System.Int64</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>
HEH.WebSite.WebServices.AffinityDialogsService._staticInstance.GetProgramsByInstId(id,onSuccess,onFailed,userContext); }
HEH.WebSite.WebServices.AffinityDialogsService.GetProgramsByInstIdandVertical= function(id,verticalID,onSuccess,onFailed,userContext) {
/// <param name="id" type="Number">System.Int64</param>
/// <param name="verticalID" 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>
HEH.WebSite.WebServices.AffinityDialogsService._staticInstance.GetProgramsByInstIdandVertical(id,verticalID,onSuccess,onFailed,userContext); }
HEH.WebSite.WebServices.AffinityDialogsService.SaveAffinityDialog= function(dto,onSuccess,onFailed,userContext) {
/// <param name="dto" type="HEH.WebSite.WebServices.DTO.AffinityPopupDTO">HEH.WebSite.WebServices.DTO.AffinityPopupDTO</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>
HEH.WebSite.WebServices.AffinityDialogsService._staticInstance.SaveAffinityDialog(dto,onSuccess,onFailed,userContext); }
HEH.WebSite.WebServices.AffinityDialogsService.SaveApplyNowInfo= function(dto,onSuccess,onFailed,userContext) {
/// <param name="dto" type="HEH.WebSite.WebServices.DTO.ApplyNowDTO">HEH.WebSite.WebServices.DTO.ApplyNowDTO</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>
HEH.WebSite.WebServices.AffinityDialogsService._staticInstance.SaveApplyNowInfo(dto,onSuccess,onFailed,userContext); }
HEH.WebSite.WebServices.AffinityDialogsService.SaveRequestMoreInfo= function(dto,onSuccess,onFailed,userContext) {
/// <param name="dto" type="HEH.WebSite.WebServices.DTO.RequestProgramInfoDTO">HEH.WebSite.WebServices.DTO.RequestProgramInfoDTO</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>
HEH.WebSite.WebServices.AffinityDialogsService._staticInstance.SaveRequestMoreInfo(dto,onSuccess,onFailed,userContext); }
HEH.WebSite.WebServices.AffinityDialogsService.SaveRequestInfo= function(dto,onSuccess,onFailed,userContext) {
/// <param name="dto" type="HEH.WebSite.WebServices.DTO.RequestInfoDTO">HEH.WebSite.WebServices.DTO.RequestInfoDTO</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>
HEH.WebSite.WebServices.AffinityDialogsService._staticInstance.SaveRequestInfo(dto,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('HEH.WebSite.WebServices.DTO');
if (typeof(HEH.WebSite.WebServices.DTO.ProgramInfoDTO) === 'undefined') {
HEH.WebSite.WebServices.DTO.ProgramInfoDTO=gtc("HEH.WebSite.WebServices.DTO.ProgramInfoDTO");
HEH.WebSite.WebServices.DTO.ProgramInfoDTO.registerClass('HEH.WebSite.WebServices.DTO.ProgramInfoDTO');
}
if (typeof(HEH.WebSite.WebServices.DTO.AffinityPopupDTO) === 'undefined') {
HEH.WebSite.WebServices.DTO.AffinityPopupDTO=gtc("HEH.WebSite.WebServices.DTO.AffinityPopupDTO");
HEH.WebSite.WebServices.DTO.AffinityPopupDTO.registerClass('HEH.WebSite.WebServices.DTO.AffinityPopupDTO');
}
if (typeof(HEH.WebSite.WebServices.DTO.ApplyNowDTO) === 'undefined') {
HEH.WebSite.WebServices.DTO.ApplyNowDTO=gtc("HEH.WebSite.WebServices.DTO.ApplyNowDTO");
HEH.WebSite.WebServices.DTO.ApplyNowDTO.registerClass('HEH.WebSite.WebServices.DTO.ApplyNowDTO');
}
if (typeof(HEH.WebSite.WebServices.DTO.RequestProgramInfoDTO) === 'undefined') {
HEH.WebSite.WebServices.DTO.RequestProgramInfoDTO=gtc("HEH.WebSite.WebServices.DTO.RequestProgramInfoDTO");
HEH.WebSite.WebServices.DTO.RequestProgramInfoDTO.registerClass('HEH.WebSite.WebServices.DTO.RequestProgramInfoDTO');
}
if (typeof(HEH.WebSite.WebServices.DTO.RequestInfoDTO) === 'undefined') {
HEH.WebSite.WebServices.DTO.RequestInfoDTO=gtc("HEH.WebSite.WebServices.DTO.RequestInfoDTO");
HEH.WebSite.WebServices.DTO.RequestInfoDTO.registerClass('HEH.WebSite.WebServices.DTO.RequestInfoDTO');
}

