Type.registerNamespace('UHS.WebServices');
UHS.WebServices.Search=function() {
UHS.WebServices.Search.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
UHS.WebServices.Search.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return UHS.WebServices.Search._staticInstance.get_path();},
SelectAccommodationTypes:function(pcolSelectedCountryIds,pcolSelectedCountyIds,pcolSelectedPrices,pcolSelectedSleeps,pcolSelectedDateIds,pcolSelectedNights,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SelectAccommodationTypes',false,{pcolSelectedCountryIds:pcolSelectedCountryIds,pcolSelectedCountyIds:pcolSelectedCountyIds,pcolSelectedPrices:pcolSelectedPrices,pcolSelectedSleeps:pcolSelectedSleeps,pcolSelectedDateIds:pcolSelectedDateIds,pcolSelectedNights:pcolSelectedNights},succeededCallback,failedCallback,userContext); },
SelectCountries:function(pcolSelectedAccommodationTypeIds,pcolSelectedCountyIds,pcolSelectedPrices,pcolSelectedSleeps,pcolSelectedDateIds,pcolSelectedNights,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SelectCountries',false,{pcolSelectedAccommodationTypeIds:pcolSelectedAccommodationTypeIds,pcolSelectedCountyIds:pcolSelectedCountyIds,pcolSelectedPrices:pcolSelectedPrices,pcolSelectedSleeps:pcolSelectedSleeps,pcolSelectedDateIds:pcolSelectedDateIds,pcolSelectedNights:pcolSelectedNights},succeededCallback,failedCallback,userContext); },
SelectCounties:function(pcolSelectedAccommodationTypeIds,pcolSelectedCountryIds,pcolSelectedPrices,pcolSelectedSleeps,pcolSelectedDateIds,pcolSelectedNights,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SelectCounties',false,{pcolSelectedAccommodationTypeIds:pcolSelectedAccommodationTypeIds,pcolSelectedCountryIds:pcolSelectedCountryIds,pcolSelectedPrices:pcolSelectedPrices,pcolSelectedSleeps:pcolSelectedSleeps,pcolSelectedDateIds:pcolSelectedDateIds,pcolSelectedNights:pcolSelectedNights},succeededCallback,failedCallback,userContext); },
SelectPrices:function(pcolSelectedAccommodationTypeIds,pcolSelectedCountryIds,pcolSelectedCountyIds,pcolSelectedSleeps,pcolSelectedDateIds,pcolSelectedNights,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SelectPrices',false,{pcolSelectedAccommodationTypeIds:pcolSelectedAccommodationTypeIds,pcolSelectedCountryIds:pcolSelectedCountryIds,pcolSelectedCountyIds:pcolSelectedCountyIds,pcolSelectedSleeps:pcolSelectedSleeps,pcolSelectedDateIds:pcolSelectedDateIds,pcolSelectedNights:pcolSelectedNights},succeededCallback,failedCallback,userContext); },
SelectSleeps:function(pcolSelectedAccommodationTypeIds,pcolSelectedCountryIds,pcolSelectedCountyIds,pcolSelectedPrices,pcolSelectedDateIds,pcolSelectedNights,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SelectSleeps',false,{pcolSelectedAccommodationTypeIds:pcolSelectedAccommodationTypeIds,pcolSelectedCountryIds:pcolSelectedCountryIds,pcolSelectedCountyIds:pcolSelectedCountyIds,pcolSelectedPrices:pcolSelectedPrices,pcolSelectedDateIds:pcolSelectedDateIds,pcolSelectedNights:pcolSelectedNights},succeededCallback,failedCallback,userContext); },
SelectDates:function(pcolSelectedAccommodationTypeIds,pcolSelectedCountryIds,pcolSelectedCountyIds,pcolSelectedPrices,pcolSelectedSleeps,pcolSelectedNights,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SelectDates',false,{pcolSelectedAccommodationTypeIds:pcolSelectedAccommodationTypeIds,pcolSelectedCountryIds:pcolSelectedCountryIds,pcolSelectedCountyIds:pcolSelectedCountyIds,pcolSelectedPrices:pcolSelectedPrices,pcolSelectedSleeps:pcolSelectedSleeps,pcolSelectedNights:pcolSelectedNights},succeededCallback,failedCallback,userContext); },
SelectNights:function(pcolSelectedAccommodationTypeIds,pcolSelectedCountryIds,pcolSelectedCountyIds,pcolSelectedPrices,pcolSelectedSleeps,pcolSelectedDateIds,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SelectNights',false,{pcolSelectedAccommodationTypeIds:pcolSelectedAccommodationTypeIds,pcolSelectedCountryIds:pcolSelectedCountryIds,pcolSelectedCountyIds:pcolSelectedCountyIds,pcolSelectedPrices:pcolSelectedPrices,pcolSelectedSleeps:pcolSelectedSleeps,pcolSelectedDateIds:pcolSelectedDateIds},succeededCallback,failedCallback,userContext); },
SelectAccommodationIds:function(pcolSelectedAccommodationTypeIds,pcolSelectedCountryIds,pcolSelectedCountyIds,pcolSelectedPrices,pcolSelectedSleeps,pcolSelectedDateIds,pcolSelectedNights,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SelectAccommodationIds',false,{pcolSelectedAccommodationTypeIds:pcolSelectedAccommodationTypeIds,pcolSelectedCountryIds:pcolSelectedCountryIds,pcolSelectedCountyIds:pcolSelectedCountyIds,pcolSelectedPrices:pcolSelectedPrices,pcolSelectedSleeps:pcolSelectedSleeps,pcolSelectedDateIds:pcolSelectedDateIds,pcolSelectedNights:pcolSelectedNights},succeededCallback,failedCallback,userContext); },
SearchByTextString:function(pobjId,pcolSearchStrings,pblnAddressOnly,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SearchByTextString',false,{pobjId:pobjId,pcolSearchStrings:pcolSearchStrings,pblnAddressOnly:pblnAddressOnly},succeededCallback,failedCallback,userContext); }}
UHS.WebServices.Search.registerClass('UHS.WebServices.Search',Sys.Net.WebServiceProxy);
UHS.WebServices.Search._staticInstance = new UHS.WebServices.Search();
UHS.WebServices.Search.set_path = function(value) { UHS.WebServices.Search._staticInstance.set_path(value); }
UHS.WebServices.Search.get_path = function() { return UHS.WebServices.Search._staticInstance.get_path(); }
UHS.WebServices.Search.set_timeout = function(value) { UHS.WebServices.Search._staticInstance.set_timeout(value); }
UHS.WebServices.Search.get_timeout = function() { return UHS.WebServices.Search._staticInstance.get_timeout(); }
UHS.WebServices.Search.set_defaultUserContext = function(value) { UHS.WebServices.Search._staticInstance.set_defaultUserContext(value); }
UHS.WebServices.Search.get_defaultUserContext = function() { return UHS.WebServices.Search._staticInstance.get_defaultUserContext(); }
UHS.WebServices.Search.set_defaultSucceededCallback = function(value) { UHS.WebServices.Search._staticInstance.set_defaultSucceededCallback(value); }
UHS.WebServices.Search.get_defaultSucceededCallback = function() { return UHS.WebServices.Search._staticInstance.get_defaultSucceededCallback(); }
UHS.WebServices.Search.set_defaultFailedCallback = function(value) { UHS.WebServices.Search._staticInstance.set_defaultFailedCallback(value); }
UHS.WebServices.Search.get_defaultFailedCallback = function() { return UHS.WebServices.Search._staticInstance.get_defaultFailedCallback(); }
UHS.WebServices.Search.set_path("/uk_holiday_search/services/Search.asmx");
UHS.WebServices.Search.SelectAccommodationTypes= function(pcolSelectedCountryIds,pcolSelectedCountyIds,pcolSelectedPrices,pcolSelectedSleeps,pcolSelectedDateIds,pcolSelectedNights,onSuccess,onFailed,userContext) {UHS.WebServices.Search._staticInstance.SelectAccommodationTypes(pcolSelectedCountryIds,pcolSelectedCountyIds,pcolSelectedPrices,pcolSelectedSleeps,pcolSelectedDateIds,pcolSelectedNights,onSuccess,onFailed,userContext); }
UHS.WebServices.Search.SelectCountries= function(pcolSelectedAccommodationTypeIds,pcolSelectedCountyIds,pcolSelectedPrices,pcolSelectedSleeps,pcolSelectedDateIds,pcolSelectedNights,onSuccess,onFailed,userContext) {UHS.WebServices.Search._staticInstance.SelectCountries(pcolSelectedAccommodationTypeIds,pcolSelectedCountyIds,pcolSelectedPrices,pcolSelectedSleeps,pcolSelectedDateIds,pcolSelectedNights,onSuccess,onFailed,userContext); }
UHS.WebServices.Search.SelectCounties= function(pcolSelectedAccommodationTypeIds,pcolSelectedCountryIds,pcolSelectedPrices,pcolSelectedSleeps,pcolSelectedDateIds,pcolSelectedNights,onSuccess,onFailed,userContext) {UHS.WebServices.Search._staticInstance.SelectCounties(pcolSelectedAccommodationTypeIds,pcolSelectedCountryIds,pcolSelectedPrices,pcolSelectedSleeps,pcolSelectedDateIds,pcolSelectedNights,onSuccess,onFailed,userContext); }
UHS.WebServices.Search.SelectPrices= function(pcolSelectedAccommodationTypeIds,pcolSelectedCountryIds,pcolSelectedCountyIds,pcolSelectedSleeps,pcolSelectedDateIds,pcolSelectedNights,onSuccess,onFailed,userContext) {UHS.WebServices.Search._staticInstance.SelectPrices(pcolSelectedAccommodationTypeIds,pcolSelectedCountryIds,pcolSelectedCountyIds,pcolSelectedSleeps,pcolSelectedDateIds,pcolSelectedNights,onSuccess,onFailed,userContext); }
UHS.WebServices.Search.SelectSleeps= function(pcolSelectedAccommodationTypeIds,pcolSelectedCountryIds,pcolSelectedCountyIds,pcolSelectedPrices,pcolSelectedDateIds,pcolSelectedNights,onSuccess,onFailed,userContext) {UHS.WebServices.Search._staticInstance.SelectSleeps(pcolSelectedAccommodationTypeIds,pcolSelectedCountryIds,pcolSelectedCountyIds,pcolSelectedPrices,pcolSelectedDateIds,pcolSelectedNights,onSuccess,onFailed,userContext); }
UHS.WebServices.Search.SelectDates= function(pcolSelectedAccommodationTypeIds,pcolSelectedCountryIds,pcolSelectedCountyIds,pcolSelectedPrices,pcolSelectedSleeps,pcolSelectedNights,onSuccess,onFailed,userContext) {UHS.WebServices.Search._staticInstance.SelectDates(pcolSelectedAccommodationTypeIds,pcolSelectedCountryIds,pcolSelectedCountyIds,pcolSelectedPrices,pcolSelectedSleeps,pcolSelectedNights,onSuccess,onFailed,userContext); }
UHS.WebServices.Search.SelectNights= function(pcolSelectedAccommodationTypeIds,pcolSelectedCountryIds,pcolSelectedCountyIds,pcolSelectedPrices,pcolSelectedSleeps,pcolSelectedDateIds,onSuccess,onFailed,userContext) {UHS.WebServices.Search._staticInstance.SelectNights(pcolSelectedAccommodationTypeIds,pcolSelectedCountryIds,pcolSelectedCountyIds,pcolSelectedPrices,pcolSelectedSleeps,pcolSelectedDateIds,onSuccess,onFailed,userContext); }
UHS.WebServices.Search.SelectAccommodationIds= function(pcolSelectedAccommodationTypeIds,pcolSelectedCountryIds,pcolSelectedCountyIds,pcolSelectedPrices,pcolSelectedSleeps,pcolSelectedDateIds,pcolSelectedNights,onSuccess,onFailed,userContext) {UHS.WebServices.Search._staticInstance.SelectAccommodationIds(pcolSelectedAccommodationTypeIds,pcolSelectedCountryIds,pcolSelectedCountyIds,pcolSelectedPrices,pcolSelectedSleeps,pcolSelectedDateIds,pcolSelectedNights,onSuccess,onFailed,userContext); }
UHS.WebServices.Search.SearchByTextString= function(pobjId,pcolSearchStrings,pblnAddressOnly,onSuccess,onFailed,userContext) {UHS.WebServices.Search._staticInstance.SearchByTextString(pobjId,pcolSearchStrings,pblnAddressOnly,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('HolidaySearchEngine.Logic.BAL');
if (typeof(HolidaySearchEngine.Logic.BAL.DropDownItem) === 'undefined') {
HolidaySearchEngine.Logic.BAL.DropDownItem=gtc("HolidaySearchEngine.Logic.BAL.DropDownItem");
HolidaySearchEngine.Logic.BAL.DropDownItem.registerClass('HolidaySearchEngine.Logic.BAL.DropDownItem');
}
Type.registerNamespace('HolidaySearchEngine.Logic.BO');
if (typeof(HolidaySearchEngine.Logic.BO.Accommodation) === 'undefined') {
HolidaySearchEngine.Logic.BO.Accommodation=gtc("HolidaySearchEngine.Logic.BO.Accommodation");
HolidaySearchEngine.Logic.BO.Accommodation.registerClass('HolidaySearchEngine.Logic.BO.Accommodation');
}

