Type.registerNamespace('SixFours.Web');
SixFours.Web.CSfnScriptService=function() {
SixFours.Web.CSfnScriptService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
SixFours.Web.CSfnScriptService.prototype={
GetCategories:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(SixFours.Web.CSfnScriptService.get_path(), 'GetCategories',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetSubCategories:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(SixFours.Web.CSfnScriptService.get_path(), 'GetSubCategories',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetCities:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(SixFours.Web.CSfnScriptService.get_path(), 'GetCities',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetDistricts:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(SixFours.Web.CSfnScriptService.get_path(), 'GetDistricts',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetEventOrganizers:function(kCityId,strNameFilter,kCurEventOrganizerId,succeededCallback, failedCallback, userContext) {
return this._invoke(SixFours.Web.CSfnScriptService.get_path(), 'GetEventOrganizers',false,{kCityId:kCityId,strNameFilter:strNameFilter,kCurEventOrganizerId:kCurEventOrganizerId},succeededCallback,failedCallback,userContext); },
GetEventPlaces:function(kCityId,kDistrictId,succeededCallback, failedCallback, userContext) {
return this._invoke(SixFours.Web.CSfnScriptService.get_path(), 'GetEventPlaces',false,{kCityId:kCityId,kDistrictId:kDistrictId},succeededCallback,failedCallback,userContext); },
GetEventPlace:function(kEventPlaceId,succeededCallback, failedCallback, userContext) {
return this._invoke(SixFours.Web.CSfnScriptService.get_path(), 'GetEventPlace',false,{kEventPlaceId:kEventPlaceId},succeededCallback,failedCallback,userContext); },
GetEventOrganizerInfo:function(kEventOrganizerId,succeededCallback, failedCallback, userContext) {
return this._invoke(SixFours.Web.CSfnScriptService.get_path(), 'GetEventOrganizerInfo',false,{kEventOrganizerId:kEventOrganizerId},succeededCallback,failedCallback,userContext); },
SignalClick:function(kSessionId,kWebLinkId,nWebZone,nLinkDefPos,succeededCallback, failedCallback, userContext) {
return this._invoke(SixFours.Web.CSfnScriptService.get_path(), 'SignalClick',false,{kSessionId:kSessionId,kWebLinkId:kWebLinkId,nWebZone:nWebZone,nLinkDefPos:nLinkDefPos},succeededCallback,failedCallback,userContext); }}
SixFours.Web.CSfnScriptService.registerClass('SixFours.Web.CSfnScriptService',Sys.Net.WebServiceProxy);
SixFours.Web.CSfnScriptService._staticInstance = new SixFours.Web.CSfnScriptService();
SixFours.Web.CSfnScriptService.set_path = function(value) { SixFours.Web.CSfnScriptService._staticInstance._path = value; }
SixFours.Web.CSfnScriptService.get_path = function() { return SixFours.Web.CSfnScriptService._staticInstance._path; }
SixFours.Web.CSfnScriptService.set_timeout = function(value) { SixFours.Web.CSfnScriptService._staticInstance._timeout = value; }
SixFours.Web.CSfnScriptService.get_timeout = function() { return SixFours.Web.CSfnScriptService._staticInstance._timeout; }
SixFours.Web.CSfnScriptService.set_defaultUserContext = function(value) { SixFours.Web.CSfnScriptService._staticInstance._userContext = value; }
SixFours.Web.CSfnScriptService.get_defaultUserContext = function() { return SixFours.Web.CSfnScriptService._staticInstance._userContext; }
SixFours.Web.CSfnScriptService.set_defaultSucceededCallback = function(value) { SixFours.Web.CSfnScriptService._staticInstance._succeeded = value; }
SixFours.Web.CSfnScriptService.get_defaultSucceededCallback = function() { return SixFours.Web.CSfnScriptService._staticInstance._succeeded; }
SixFours.Web.CSfnScriptService.set_defaultFailedCallback = function(value) { SixFours.Web.CSfnScriptService._staticInstance._failed = value; }
SixFours.Web.CSfnScriptService.get_defaultFailedCallback = function() { return SixFours.Web.CSfnScriptService._staticInstance._failed; }
SixFours.Web.CSfnScriptService.set_path("/SfnScriptService.asmx");
SixFours.Web.CSfnScriptService.GetCategories= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {SixFours.Web.CSfnScriptService._staticInstance.GetCategories(knownCategoryValues,category,onSuccess,onFailed,userContext); }
SixFours.Web.CSfnScriptService.GetSubCategories= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {SixFours.Web.CSfnScriptService._staticInstance.GetSubCategories(knownCategoryValues,category,onSuccess,onFailed,userContext); }
SixFours.Web.CSfnScriptService.GetCities= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {SixFours.Web.CSfnScriptService._staticInstance.GetCities(knownCategoryValues,category,onSuccess,onFailed,userContext); }
SixFours.Web.CSfnScriptService.GetDistricts= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {SixFours.Web.CSfnScriptService._staticInstance.GetDistricts(knownCategoryValues,category,onSuccess,onFailed,userContext); }
SixFours.Web.CSfnScriptService.GetEventOrganizers= function(kCityId,strNameFilter,kCurEventOrganizerId,onSuccess,onFailed,userContext) {SixFours.Web.CSfnScriptService._staticInstance.GetEventOrganizers(kCityId,strNameFilter,kCurEventOrganizerId,onSuccess,onFailed,userContext); }
SixFours.Web.CSfnScriptService.GetEventPlaces= function(kCityId,kDistrictId,onSuccess,onFailed,userContext) {SixFours.Web.CSfnScriptService._staticInstance.GetEventPlaces(kCityId,kDistrictId,onSuccess,onFailed,userContext); }
SixFours.Web.CSfnScriptService.GetEventPlace= function(kEventPlaceId,onSuccess,onFailed,userContext) {SixFours.Web.CSfnScriptService._staticInstance.GetEventPlace(kEventPlaceId,onSuccess,onFailed,userContext); }
SixFours.Web.CSfnScriptService.GetEventOrganizerInfo= function(kEventOrganizerId,onSuccess,onFailed,userContext) {SixFours.Web.CSfnScriptService._staticInstance.GetEventOrganizerInfo(kEventOrganizerId,onSuccess,onFailed,userContext); }
SixFours.Web.CSfnScriptService.SignalClick= function(kSessionId,kWebLinkId,nWebZone,nLinkDefPos,onSuccess,onFailed,userContext) {SixFours.Web.CSfnScriptService._staticInstance.SignalClick(kSessionId,kWebLinkId,nWebZone,nLinkDefPos,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('AjaxControlToolkit');
if (typeof(AjaxControlToolkit.CascadingDropDownNameValue) === 'undefined') {
AjaxControlToolkit.CascadingDropDownNameValue=gtc("AjaxControlToolkit.CascadingDropDownNameValue");
AjaxControlToolkit.CascadingDropDownNameValue.registerClass('AjaxControlToolkit.CascadingDropDownNameValue');
}
Type.registerNamespace('SixFours.Tool');
if (typeof(SixFours.Tool.CEventPlace) === 'undefined') {
SixFours.Tool.CEventPlace=gtc("SixFours.Tool.CEventPlace");
SixFours.Tool.CEventPlace.registerClass('SixFours.Tool.CEventPlace');
}
if (typeof(SixFours.Tool.CEventOrganizerInfo) === 'undefined') {
SixFours.Tool.CEventOrganizerInfo=gtc("SixFours.Tool.CEventOrganizerInfo");
SixFours.Tool.CEventOrganizerInfo.registerClass('SixFours.Tool.CEventOrganizerInfo');
}
