Type.registerNamespace('Jade.Winezja.Web.WebServices');
Jade.Winezja.Web.WebServices.WinezjaPortalServices=function() {
Jade.Winezja.Web.WebServices.WinezjaPortalServices.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Jade.Winezja.Web.WebServices.WinezjaPortalServices.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.get_path();},
GetUserNamesList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUserNamesList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
CheckIsNickAvailable:function(contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CheckIsNickAvailable',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetPaymentForms:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPaymentForms',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetShippingForms:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetShippingForms',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetShippingHours:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetShippingHours',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetGrapesForTelerikComboBox:function(context,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetGrapesForTelerikComboBox',false,{context:context},succeededCallback,failedCallback,userContext); },
GetWinesForExcludedWinesTelerikComboBox:function(context,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWinesForExcludedWinesTelerikComboBox',false,{context:context},succeededCallback,failedCallback,userContext); },
GetArticlesForTelerikComboBox:function(context,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetArticlesForTelerikComboBox',false,{context:context},succeededCallback,failedCallback,userContext); },
GetUserTagsList:function(prefixText,count,contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUserTagsList',false,{prefixText:prefixText,count:count,contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetSlides:function(contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSlides',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetBiggerWineImage:function(contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetBiggerWineImage',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetWineNamesList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWineNamesList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
AddProductToCart:function(productData,quantity,mode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddProductToCart',false,{productData:productData,quantity:quantity,mode:mode},succeededCallback,failedCallback,userContext); },
RefreshUC:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RefreshUC',true,{},succeededCallback,failedCallback,userContext); },
AddProductOpinionWithFBPost:function(productName,linkUrl,opinionText,pictureUrl,productId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddProductOpinionWithFBPost',false,{productName:productName,linkUrl:linkUrl,opinionText:opinionText,pictureUrl:pictureUrl,productId:productId},succeededCallback,failedCallback,userContext); },
PostOrRemoveOpinionToFB:function(productName,linkUrl,opinionText,pictureUrl,opinionId,facebookId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostOrRemoveOpinionToFB',false,{productName:productName,linkUrl:linkUrl,opinionText:opinionText,pictureUrl:pictureUrl,opinionId:opinionId,facebookId:facebookId},succeededCallback,failedCallback,userContext); },
CreateEventOnFB:function(name,startTime,location,isPrivate,usersIds,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CreateEventOnFB',false,{name:name,startTime:startTime,location:location,isPrivate:isPrivate,usersIds:usersIds},succeededCallback,failedCallback,userContext); },
GetCurrentUserFriendsFromFB:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCurrentUserFriendsFromFB',true,{},succeededCallback,failedCallback,userContext); }}
Jade.Winezja.Web.WebServices.WinezjaPortalServices.registerClass('Jade.Winezja.Web.WebServices.WinezjaPortalServices',Sys.Net.WebServiceProxy);
Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance = new Jade.Winezja.Web.WebServices.WinezjaPortalServices();
Jade.Winezja.Web.WebServices.WinezjaPortalServices.set_path = function(value) { Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.set_path(value); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.get_path = function() { return Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.get_path(); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.set_timeout = function(value) { Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.set_timeout(value); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.get_timeout = function() { return Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.get_timeout(); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.set_defaultUserContext = function(value) { Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.set_defaultUserContext(value); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.get_defaultUserContext = function() { return Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.get_defaultUserContext(); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.set_defaultSucceededCallback = function(value) { Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.set_defaultSucceededCallback(value); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.get_defaultSucceededCallback = function() { return Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.get_defaultSucceededCallback(); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.set_defaultFailedCallback = function(value) { Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.set_defaultFailedCallback(value); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.get_defaultFailedCallback = function() { return Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.get_defaultFailedCallback(); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.set_path("/WebServices/WinezjaPortalServices.asmx");
Jade.Winezja.Web.WebServices.WinezjaPortalServices.GetUserNamesList= function(prefixText,count,onSuccess,onFailed,userContext) {Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.GetUserNamesList(prefixText,count,onSuccess,onFailed,userContext); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.CheckIsNickAvailable= function(contextKey,onSuccess,onFailed,userContext) {Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.CheckIsNickAvailable(contextKey,onSuccess,onFailed,userContext); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.GetPaymentForms= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.GetPaymentForms(knownCategoryValues,category,onSuccess,onFailed,userContext); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.GetShippingForms= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.GetShippingForms(knownCategoryValues,category,onSuccess,onFailed,userContext); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.GetShippingHours= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.GetShippingHours(knownCategoryValues,category,onSuccess,onFailed,userContext); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.GetGrapesForTelerikComboBox= function(context,onSuccess,onFailed,userContext) {Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.GetGrapesForTelerikComboBox(context,onSuccess,onFailed,userContext); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.GetWinesForExcludedWinesTelerikComboBox= function(context,onSuccess,onFailed,userContext) {Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.GetWinesForExcludedWinesTelerikComboBox(context,onSuccess,onFailed,userContext); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.GetArticlesForTelerikComboBox= function(context,onSuccess,onFailed,userContext) {Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.GetArticlesForTelerikComboBox(context,onSuccess,onFailed,userContext); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.GetUserTagsList= function(prefixText,count,contextKey,onSuccess,onFailed,userContext) {Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.GetUserTagsList(prefixText,count,contextKey,onSuccess,onFailed,userContext); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.GetSlides= function(contextKey,onSuccess,onFailed,userContext) {Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.GetSlides(contextKey,onSuccess,onFailed,userContext); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.GetBiggerWineImage= function(contextKey,onSuccess,onFailed,userContext) {Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.GetBiggerWineImage(contextKey,onSuccess,onFailed,userContext); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.GetWineNamesList= function(prefixText,count,onSuccess,onFailed,userContext) {Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.GetWineNamesList(prefixText,count,onSuccess,onFailed,userContext); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.AddProductToCart= function(productData,quantity,mode,onSuccess,onFailed,userContext) {Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.AddProductToCart(productData,quantity,mode,onSuccess,onFailed,userContext); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.RefreshUC= function(onSuccess,onFailed,userContext) {Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.RefreshUC(onSuccess,onFailed,userContext); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.AddProductOpinionWithFBPost= function(productName,linkUrl,opinionText,pictureUrl,productId,onSuccess,onFailed,userContext) {Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.AddProductOpinionWithFBPost(productName,linkUrl,opinionText,pictureUrl,productId,onSuccess,onFailed,userContext); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.PostOrRemoveOpinionToFB= function(productName,linkUrl,opinionText,pictureUrl,opinionId,facebookId,onSuccess,onFailed,userContext) {Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.PostOrRemoveOpinionToFB(productName,linkUrl,opinionText,pictureUrl,opinionId,facebookId,onSuccess,onFailed,userContext); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.CreateEventOnFB= function(name,startTime,location,isPrivate,usersIds,onSuccess,onFailed,userContext) {Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.CreateEventOnFB(name,startTime,location,isPrivate,usersIds,onSuccess,onFailed,userContext); }
Jade.Winezja.Web.WebServices.WinezjaPortalServices.GetCurrentUserFriendsFromFB= function(onSuccess,onFailed,userContext) {Jade.Winezja.Web.WebServices.WinezjaPortalServices._staticInstance.GetCurrentUserFriendsFromFB(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('Telerik.Web.UI');
if (typeof(Telerik.Web.UI.RadComboBoxData) === 'undefined') {
Telerik.Web.UI.RadComboBoxData=gtc("Telerik.Web.UI.RadComboBoxData");
Telerik.Web.UI.RadComboBoxData.registerClass('Telerik.Web.UI.RadComboBoxData');
}
if (typeof(AjaxControlToolkit.Slide) === 'undefined') {
AjaxControlToolkit.Slide=gtc("AjaxControlToolkit.Slide");
AjaxControlToolkit.Slide.registerClass('AjaxControlToolkit.Slide');
}
Type.registerNamespace('Jade.Winezja.Entities.Portal.Facebook');
if (typeof(Jade.Winezja.Entities.Portal.Facebook.FacebookUserEntity) === 'undefined') {
Jade.Winezja.Entities.Portal.Facebook.FacebookUserEntity=gtc("Jade.Winezja.Entities.Portal.Facebook.FacebookUserEntity");
Jade.Winezja.Entities.Portal.Facebook.FacebookUserEntity.registerClass('Jade.Winezja.Entities.Portal.Facebook.FacebookUserEntity');
}

