Type.registerNamespace('Guesthouse_Reviews');
Guesthouse_Reviews.wsAjaxHandler=function() {
Guesthouse_Reviews.wsAjaxHandler.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Guesthouse_Reviews.wsAjaxHandler.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Guesthouse_Reviews.wsAjaxHandler._staticInstance.get_path();},
GetRecObjects:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'GetRecObjects',false,{},succeededCallback,failedCallback,userContext); },
GetPath:function(oid,succeededCallback, failedCallback, userContext) {
/// <param name="oid">System.Object</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(), 'GetPath',false,{oid:oid},succeededCallback,failedCallback,userContext); },
GetObjectsInfo:function(Ids,mtabid,CtrlPath,succeededCallback, failedCallback, userContext) {
/// <param name="Ids" type="String">System.String</param>
/// <param name="mtabid" type="Number">System.Int32</param>
/// <param name="CtrlPath" type="String">System.String</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(), 'GetObjectsInfo',false,{Ids:Ids,mtabid:mtabid,CtrlPath:CtrlPath},succeededCallback,failedCallback,userContext); }}
Guesthouse_Reviews.wsAjaxHandler.registerClass('Guesthouse_Reviews.wsAjaxHandler',Sys.Net.WebServiceProxy);
Guesthouse_Reviews.wsAjaxHandler._staticInstance = new Guesthouse_Reviews.wsAjaxHandler();
Guesthouse_Reviews.wsAjaxHandler.set_path = function(value) {
Guesthouse_Reviews.wsAjaxHandler._staticInstance.set_path(value); }
Guesthouse_Reviews.wsAjaxHandler.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Guesthouse_Reviews.wsAjaxHandler._staticInstance.get_path();}
Guesthouse_Reviews.wsAjaxHandler.set_timeout = function(value) {
Guesthouse_Reviews.wsAjaxHandler._staticInstance.set_timeout(value); }
Guesthouse_Reviews.wsAjaxHandler.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Guesthouse_Reviews.wsAjaxHandler._staticInstance.get_timeout(); }
Guesthouse_Reviews.wsAjaxHandler.set_defaultUserContext = function(value) { 
Guesthouse_Reviews.wsAjaxHandler._staticInstance.set_defaultUserContext(value); }
Guesthouse_Reviews.wsAjaxHandler.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Guesthouse_Reviews.wsAjaxHandler._staticInstance.get_defaultUserContext(); }
Guesthouse_Reviews.wsAjaxHandler.set_defaultSucceededCallback = function(value) { 
 Guesthouse_Reviews.wsAjaxHandler._staticInstance.set_defaultSucceededCallback(value); }
Guesthouse_Reviews.wsAjaxHandler.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Guesthouse_Reviews.wsAjaxHandler._staticInstance.get_defaultSucceededCallback(); }
Guesthouse_Reviews.wsAjaxHandler.set_defaultFailedCallback = function(value) { 
Guesthouse_Reviews.wsAjaxHandler._staticInstance.set_defaultFailedCallback(value); }
Guesthouse_Reviews.wsAjaxHandler.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Guesthouse_Reviews.wsAjaxHandler._staticInstance.get_defaultFailedCallback(); }
Guesthouse_Reviews.wsAjaxHandler.set_enableJsonp = function(value) { Guesthouse_Reviews.wsAjaxHandler._staticInstance.set_enableJsonp(value); }
Guesthouse_Reviews.wsAjaxHandler.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return Guesthouse_Reviews.wsAjaxHandler._staticInstance.get_enableJsonp(); }
Guesthouse_Reviews.wsAjaxHandler.set_jsonpCallbackParameter = function(value) { Guesthouse_Reviews.wsAjaxHandler._staticInstance.set_jsonpCallbackParameter(value); }
Guesthouse_Reviews.wsAjaxHandler.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return Guesthouse_Reviews.wsAjaxHandler._staticInstance.get_jsonpCallbackParameter(); }
Guesthouse_Reviews.wsAjaxHandler.set_path("/DesktopModules/Guesthouse_Recommended/wsAjaxHandler.asmx");
Guesthouse_Reviews.wsAjaxHandler.GetRecObjects= function(onSuccess,onFailed,userContext) {
/// <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>
Guesthouse_Reviews.wsAjaxHandler._staticInstance.GetRecObjects(onSuccess,onFailed,userContext); }
Guesthouse_Reviews.wsAjaxHandler.GetPath= function(oid,onSuccess,onFailed,userContext) {
/// <param name="oid">System.Object</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>
Guesthouse_Reviews.wsAjaxHandler._staticInstance.GetPath(oid,onSuccess,onFailed,userContext); }
Guesthouse_Reviews.wsAjaxHandler.GetObjectsInfo= function(Ids,mtabid,CtrlPath,onSuccess,onFailed,userContext) {
/// <param name="Ids" type="String">System.String</param>
/// <param name="mtabid" type="Number">System.Int32</param>
/// <param name="CtrlPath" type="String">System.String</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>
Guesthouse_Reviews.wsAjaxHandler._staticInstance.GetObjectsInfo(Ids,mtabid,CtrlPath,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Guesthouse_Reviews.Business');
if (typeof(Guesthouse_Reviews.Business.RestaurantsInfo) === 'undefined') {
Guesthouse_Reviews.Business.RestaurantsInfo=gtc("Guesthouse_Reviews.Business.RestaurantsInfo");
Guesthouse_Reviews.Business.RestaurantsInfo.registerClass('Guesthouse_Reviews.Business.RestaurantsInfo');
}
if (typeof(Guesthouse_Reviews.ObjInfo) === 'undefined') {
Guesthouse_Reviews.ObjInfo=gtc("Guesthouse_Reviews.ObjInfo");
Guesthouse_Reviews.ObjInfo.registerClass('Guesthouse_Reviews.ObjInfo');
}

