Type.registerNamespace('TUI.TipsCommunity.Templates.AjaxHandlers');
TUI.TipsCommunity.Templates.AjaxHandlers.Google=function() {
TUI.TipsCommunity.Templates.AjaxHandlers.Google.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
TUI.TipsCommunity.Templates.AjaxHandlers.Google.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return TUI.TipsCommunity.Templates.AjaxHandlers.Google._staticInstance.get_path();},
SearchTipTargets:function(tipTargetName,categoryIds,textBoxClientId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SearchTipTargets',false,{tipTargetName:tipTargetName,categoryIds:categoryIds,textBoxClientId:textBoxClientId},succeededCallback,failedCallback,userContext); },
GetCategorizedTipTargetsByTipLocation:function(catagories,parentLocationId,southWestLatitude,southWestLongitude,northEastLatitude,northEastLongitude,page,pageSize,sortOrder,googleMapClientId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCategorizedTipTargetsByTipLocation',false,{catagories:catagories,parentLocationId:parentLocationId,southWestLatitude:southWestLatitude,southWestLongitude:southWestLongitude,northEastLatitude:northEastLatitude,northEastLongitude:northEastLongitude,page:page,pageSize:pageSize,sortOrder:sortOrder,googleMapClientId:googleMapClientId},succeededCallback,failedCallback,userContext); },
GetTipsByEnokCity:function(enokCityId,currentCategories,pageNumber,pageSize,sortOrder,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTipsByEnokCity',false,{enokCityId:enokCityId,currentCategories:currentCategories,pageNumber:pageNumber,pageSize:pageSize,sortOrder:sortOrder},succeededCallback,failedCallback,userContext); },
GetCategorizedTipTargetsByEnokCity:function(catagories,enokCityId,page,pageSize,sortOrder,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCategorizedTipTargetsByEnokCity',false,{catagories:catagories,enokCityId:enokCityId,page:page,pageSize:pageSize,sortOrder:sortOrder},succeededCallback,failedCallback,userContext); },
GetTipsByAuthor:function(authorName,catagories,locationId,southWestLatitude,southWestLongitude,northEastLatitude,northEastLongitude,pageNumber,pageSize,sortOrder,googleMapClientId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTipsByAuthor',false,{authorName:authorName,catagories:catagories,locationId:locationId,southWestLatitude:southWestLatitude,southWestLongitude:southWestLongitude,northEastLatitude:northEastLatitude,northEastLongitude:northEastLongitude,pageNumber:pageNumber,pageSize:pageSize,sortOrder:sortOrder,googleMapClientId:googleMapClientId},succeededCallback,failedCallback,userContext); },
GetTipsByLocationsAndTag:function(tagId,currentLocationId,categories,southWestLatitude,southWestLongitude,northEastLatitude,northEastLongitude,pageNumber,pageSize,sortOrder,googleMapClientId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTipsByLocationsAndTag',false,{tagId:tagId,currentLocationId:currentLocationId,categories:categories,southWestLatitude:southWestLatitude,southWestLongitude:southWestLongitude,northEastLatitude:northEastLatitude,northEastLongitude:northEastLongitude,pageNumber:pageNumber,pageSize:pageSize,sortOrder:sortOrder,googleMapClientId:googleMapClientId},succeededCallback,failedCallback,userContext); },
GetTipsByParentLocation:function(locationId,currentCategories,pageNumber,pageSize,sortOrder,googleMapClientId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTipsByParentLocation',false,{locationId:locationId,currentCategories:currentCategories,pageNumber:pageNumber,pageSize:pageSize,sortOrder:sortOrder,googleMapClientId:googleMapClientId},succeededCallback,failedCallback,userContext); },
UpdateTipTargetPosition:function(locationId,locationName,latitude,longitude,countryId,geoId,locationType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateTipTargetPosition',false,{locationId:locationId,locationName:locationName,latitude:latitude,longitude:longitude,countryId:countryId,geoId:geoId,locationType:locationType},succeededCallback,failedCallback,userContext); },
GetLocation:function(id,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLocation',false,{id:id},succeededCallback,failedCallback,userContext); },
DeleteLocation:function(locationId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteLocation',false,{locationId:locationId},succeededCallback,failedCallback,userContext); },
GetCategories:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCategories',false,{},succeededCallback,failedCallback,userContext); }}
TUI.TipsCommunity.Templates.AjaxHandlers.Google.registerClass('TUI.TipsCommunity.Templates.AjaxHandlers.Google',Sys.Net.WebServiceProxy);
TUI.TipsCommunity.Templates.AjaxHandlers.Google._staticInstance = new TUI.TipsCommunity.Templates.AjaxHandlers.Google();
TUI.TipsCommunity.Templates.AjaxHandlers.Google.set_path = function(value) { TUI.TipsCommunity.Templates.AjaxHandlers.Google._staticInstance.set_path(value); }
TUI.TipsCommunity.Templates.AjaxHandlers.Google.get_path = function() { return TUI.TipsCommunity.Templates.AjaxHandlers.Google._staticInstance.get_path(); }
TUI.TipsCommunity.Templates.AjaxHandlers.Google.set_timeout = function(value) { TUI.TipsCommunity.Templates.AjaxHandlers.Google._staticInstance.set_timeout(value); }
TUI.TipsCommunity.Templates.AjaxHandlers.Google.get_timeout = function() { return TUI.TipsCommunity.Templates.AjaxHandlers.Google._staticInstance.get_timeout(); }
TUI.TipsCommunity.Templates.AjaxHandlers.Google.set_defaultUserContext = function(value) { TUI.TipsCommunity.Templates.AjaxHandlers.Google._staticInstance.set_defaultUserContext(value); }
TUI.TipsCommunity.Templates.AjaxHandlers.Google.get_defaultUserContext = function() { return TUI.TipsCommunity.Templates.AjaxHandlers.Google._staticInstance.get_defaultUserContext(); }
TUI.TipsCommunity.Templates.AjaxHandlers.Google.set_defaultSucceededCallback = function(value) { TUI.TipsCommunity.Templates.AjaxHandlers.Google._staticInstance.set_defaultSucceededCallback(value); }
TUI.TipsCommunity.Templates.AjaxHandlers.Google.get_defaultSucceededCallback = function() { return TUI.TipsCommunity.Templates.AjaxHandlers.Google._staticInstance.get_defaultSucceededCallback(); }
TUI.TipsCommunity.Templates.AjaxHandlers.Google.set_defaultFailedCallback = function(value) { TUI.TipsCommunity.Templates.AjaxHandlers.Google._staticInstance.set_defaultFailedCallback(value); }
TUI.TipsCommunity.Templates.AjaxHandlers.Google.get_defaultFailedCallback = function() { return TUI.TipsCommunity.Templates.AjaxHandlers.Google._staticInstance.get_defaultFailedCallback(); }
TUI.TipsCommunity.Templates.AjaxHandlers.Google.set_path("/TipsCommunity/Templates/AjaxHandlers/Google.asmx");
TUI.TipsCommunity.Templates.AjaxHandlers.Google.SearchTipTargets= function(tipTargetName,categoryIds,textBoxClientId,onSuccess,onFailed,userContext) {TUI.TipsCommunity.Templates.AjaxHandlers.Google._staticInstance.SearchTipTargets(tipTargetName,categoryIds,textBoxClientId,onSuccess,onFailed,userContext); }
TUI.TipsCommunity.Templates.AjaxHandlers.Google.GetCategorizedTipTargetsByTipLocation= function(catagories,parentLocationId,southWestLatitude,southWestLongitude,northEastLatitude,northEastLongitude,page,pageSize,sortOrder,googleMapClientId,onSuccess,onFailed,userContext) {TUI.TipsCommunity.Templates.AjaxHandlers.Google._staticInstance.GetCategorizedTipTargetsByTipLocation(catagories,parentLocationId,southWestLatitude,southWestLongitude,northEastLatitude,northEastLongitude,page,pageSize,sortOrder,googleMapClientId,onSuccess,onFailed,userContext); }
TUI.TipsCommunity.Templates.AjaxHandlers.Google.GetTipsByEnokCity= function(enokCityId,currentCategories,pageNumber,pageSize,sortOrder,onSuccess,onFailed,userContext) {TUI.TipsCommunity.Templates.AjaxHandlers.Google._staticInstance.GetTipsByEnokCity(enokCityId,currentCategories,pageNumber,pageSize,sortOrder,onSuccess,onFailed,userContext); }
TUI.TipsCommunity.Templates.AjaxHandlers.Google.GetCategorizedTipTargetsByEnokCity= function(catagories,enokCityId,page,pageSize,sortOrder,onSuccess,onFailed,userContext) {TUI.TipsCommunity.Templates.AjaxHandlers.Google._staticInstance.GetCategorizedTipTargetsByEnokCity(catagories,enokCityId,page,pageSize,sortOrder,onSuccess,onFailed,userContext); }
TUI.TipsCommunity.Templates.AjaxHandlers.Google.GetTipsByAuthor= function(authorName,catagories,locationId,southWestLatitude,southWestLongitude,northEastLatitude,northEastLongitude,pageNumber,pageSize,sortOrder,googleMapClientId,onSuccess,onFailed,userContext) {TUI.TipsCommunity.Templates.AjaxHandlers.Google._staticInstance.GetTipsByAuthor(authorName,catagories,locationId,southWestLatitude,southWestLongitude,northEastLatitude,northEastLongitude,pageNumber,pageSize,sortOrder,googleMapClientId,onSuccess,onFailed,userContext); }
TUI.TipsCommunity.Templates.AjaxHandlers.Google.GetTipsByLocationsAndTag= function(tagId,currentLocationId,categories,southWestLatitude,southWestLongitude,northEastLatitude,northEastLongitude,pageNumber,pageSize,sortOrder,googleMapClientId,onSuccess,onFailed,userContext) {TUI.TipsCommunity.Templates.AjaxHandlers.Google._staticInstance.GetTipsByLocationsAndTag(tagId,currentLocationId,categories,southWestLatitude,southWestLongitude,northEastLatitude,northEastLongitude,pageNumber,pageSize,sortOrder,googleMapClientId,onSuccess,onFailed,userContext); }
TUI.TipsCommunity.Templates.AjaxHandlers.Google.GetTipsByParentLocation= function(locationId,currentCategories,pageNumber,pageSize,sortOrder,googleMapClientId,onSuccess,onFailed,userContext) {TUI.TipsCommunity.Templates.AjaxHandlers.Google._staticInstance.GetTipsByParentLocation(locationId,currentCategories,pageNumber,pageSize,sortOrder,googleMapClientId,onSuccess,onFailed,userContext); }
TUI.TipsCommunity.Templates.AjaxHandlers.Google.UpdateTipTargetPosition= function(locationId,locationName,latitude,longitude,countryId,geoId,locationType,onSuccess,onFailed,userContext) {TUI.TipsCommunity.Templates.AjaxHandlers.Google._staticInstance.UpdateTipTargetPosition(locationId,locationName,latitude,longitude,countryId,geoId,locationType,onSuccess,onFailed,userContext); }
TUI.TipsCommunity.Templates.AjaxHandlers.Google.GetLocation= function(id,onSuccess,onFailed,userContext) {TUI.TipsCommunity.Templates.AjaxHandlers.Google._staticInstance.GetLocation(id,onSuccess,onFailed,userContext); }
TUI.TipsCommunity.Templates.AjaxHandlers.Google.DeleteLocation= function(locationId,onSuccess,onFailed,userContext) {TUI.TipsCommunity.Templates.AjaxHandlers.Google._staticInstance.DeleteLocation(locationId,onSuccess,onFailed,userContext); }
TUI.TipsCommunity.Templates.AjaxHandlers.Google.GetCategories= function(onSuccess,onFailed,userContext) {TUI.TipsCommunity.Templates.AjaxHandlers.Google._staticInstance.GetCategories(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(TUI.TipsCommunity.Templates.AjaxHandlers.TipsComposite) === 'undefined') {
TUI.TipsCommunity.Templates.AjaxHandlers.TipsComposite=gtc("TUI.TipsCommunity.Templates.AjaxHandlers.TipsComposite");
TUI.TipsCommunity.Templates.AjaxHandlers.TipsComposite.registerClass('TUI.TipsCommunity.Templates.AjaxHandlers.TipsComposite');
}
