Type.registerNamespace('FlockEx');
FlockEx.AjaxMethods=function() {
FlockEx.AjaxMethods.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
FlockEx.AjaxMethods.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return FlockEx.AjaxMethods._staticInstance.get_path();},
VoteLink:function(linkID,isVoteup,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'VoteLink',false,{linkID:linkID,isVoteup:isVoteup},succeededCallback,failedCallback,userContext); },
CheckIsURLValid:function(url,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CheckIsURLValid',false,{url:url},succeededCallback,failedCallback,userContext); },
IsLinkDuplicate:function(url,eventShortName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'IsLinkDuplicate',false,{url:url,eventShortName:eventShortName},succeededCallback,failedCallback,userContext); },
IsLinkTitleDuplicate:function(title,eventShortName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'IsLinkTitleDuplicate',false,{title:title,eventShortName:eventShortName},succeededCallback,failedCallback,userContext); },
IsSectionTitleDuplicateInsert:function(sectionTitle,eventID,action,eventSectionMapperID,sectionPropertyID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'IsSectionTitleDuplicateInsert',false,{sectionTitle:sectionTitle,eventID:eventID,action:action,eventSectionMapperID:eventSectionMapperID,sectionPropertyID:sectionPropertyID},succeededCallback,failedCallback,userContext); },
IncreaseViewCount:function(linkID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'IncreaseViewCount',false,{linkID:linkID},succeededCallback,failedCallback,userContext); },
SavePropertyValue:function(eventSectionMapperID,propertyID,value,eventID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SavePropertyValue',false,{eventSectionMapperID:eventSectionMapperID,propertyID:propertyID,value:value,eventID:eventID},succeededCallback,failedCallback,userContext); },
GetFormattedText:function(value,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetFormattedText',false,{value:value},succeededCallback,failedCallback,userContext); },
InsertWidgetPropertyVal:function(eventSectionMapperID,propertyVal,propertyName,eventID,action,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'InsertWidgetPropertyVal',false,{eventSectionMapperID:eventSectionMapperID,propertyVal:propertyVal,propertyName:propertyName,eventID:eventID,action:action},succeededCallback,failedCallback,userContext); },
DeleteGoogleLoction:function(latitude,longitude,eventID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteGoogleLoction',false,{latitude:latitude,longitude:longitude,eventID:eventID},succeededCallback,failedCallback,userContext); }}
FlockEx.AjaxMethods.registerClass('FlockEx.AjaxMethods',Sys.Net.WebServiceProxy);
FlockEx.AjaxMethods._staticInstance = new FlockEx.AjaxMethods();
FlockEx.AjaxMethods.set_path = function(value) { FlockEx.AjaxMethods._staticInstance.set_path(value); }
FlockEx.AjaxMethods.get_path = function() { return FlockEx.AjaxMethods._staticInstance.get_path(); }
FlockEx.AjaxMethods.set_timeout = function(value) { FlockEx.AjaxMethods._staticInstance.set_timeout(value); }
FlockEx.AjaxMethods.get_timeout = function() { return FlockEx.AjaxMethods._staticInstance.get_timeout(); }
FlockEx.AjaxMethods.set_defaultUserContext = function(value) { FlockEx.AjaxMethods._staticInstance.set_defaultUserContext(value); }
FlockEx.AjaxMethods.get_defaultUserContext = function() { return FlockEx.AjaxMethods._staticInstance.get_defaultUserContext(); }
FlockEx.AjaxMethods.set_defaultSucceededCallback = function(value) { FlockEx.AjaxMethods._staticInstance.set_defaultSucceededCallback(value); }
FlockEx.AjaxMethods.get_defaultSucceededCallback = function() { return FlockEx.AjaxMethods._staticInstance.get_defaultSucceededCallback(); }
FlockEx.AjaxMethods.set_defaultFailedCallback = function(value) { FlockEx.AjaxMethods._staticInstance.set_defaultFailedCallback(value); }
FlockEx.AjaxMethods.get_defaultFailedCallback = function() { return FlockEx.AjaxMethods._staticInstance.get_defaultFailedCallback(); }
FlockEx.AjaxMethods.set_path("/AjaxMethods.asmx");
FlockEx.AjaxMethods.VoteLink= function(linkID,isVoteup,onSuccess,onFailed,userContext) {FlockEx.AjaxMethods._staticInstance.VoteLink(linkID,isVoteup,onSuccess,onFailed,userContext); }
FlockEx.AjaxMethods.CheckIsURLValid= function(url,onSuccess,onFailed,userContext) {FlockEx.AjaxMethods._staticInstance.CheckIsURLValid(url,onSuccess,onFailed,userContext); }
FlockEx.AjaxMethods.IsLinkDuplicate= function(url,eventShortName,onSuccess,onFailed,userContext) {FlockEx.AjaxMethods._staticInstance.IsLinkDuplicate(url,eventShortName,onSuccess,onFailed,userContext); }
FlockEx.AjaxMethods.IsLinkTitleDuplicate= function(title,eventShortName,onSuccess,onFailed,userContext) {FlockEx.AjaxMethods._staticInstance.IsLinkTitleDuplicate(title,eventShortName,onSuccess,onFailed,userContext); }
FlockEx.AjaxMethods.IsSectionTitleDuplicateInsert= function(sectionTitle,eventID,action,eventSectionMapperID,sectionPropertyID,onSuccess,onFailed,userContext) {FlockEx.AjaxMethods._staticInstance.IsSectionTitleDuplicateInsert(sectionTitle,eventID,action,eventSectionMapperID,sectionPropertyID,onSuccess,onFailed,userContext); }
FlockEx.AjaxMethods.IncreaseViewCount= function(linkID,onSuccess,onFailed,userContext) {FlockEx.AjaxMethods._staticInstance.IncreaseViewCount(linkID,onSuccess,onFailed,userContext); }
FlockEx.AjaxMethods.SavePropertyValue= function(eventSectionMapperID,propertyID,value,eventID,onSuccess,onFailed,userContext) {FlockEx.AjaxMethods._staticInstance.SavePropertyValue(eventSectionMapperID,propertyID,value,eventID,onSuccess,onFailed,userContext); }
FlockEx.AjaxMethods.GetFormattedText= function(value,onSuccess,onFailed,userContext) {FlockEx.AjaxMethods._staticInstance.GetFormattedText(value,onSuccess,onFailed,userContext); }
FlockEx.AjaxMethods.InsertWidgetPropertyVal= function(eventSectionMapperID,propertyVal,propertyName,eventID,action,onSuccess,onFailed,userContext) {FlockEx.AjaxMethods._staticInstance.InsertWidgetPropertyVal(eventSectionMapperID,propertyVal,propertyName,eventID,action,onSuccess,onFailed,userContext); }
FlockEx.AjaxMethods.DeleteGoogleLoction= function(latitude,longitude,eventID,onSuccess,onFailed,userContext) {FlockEx.AjaxMethods._staticInstance.DeleteGoogleLoction(latitude,longitude,eventID,onSuccess,onFailed,userContext); }

