var ContentHandler=function() {
ContentHandler.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ContentHandler.prototype={
SendPassword:function(EMail,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'SendPassword',false,{EMail:EMail},succeededCallback,failedCallback,userContext); },
SaveQuickRating:function(Rating,PlaceKey,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'SaveQuickRating',false,{Rating:Rating,PlaceKey:PlaceKey},succeededCallback,failedCallback,userContext); },
SaveRatingHelpful:function(RatingID,Helpful,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'SaveRatingHelpful',false,{RatingID:RatingID,Helpful:Helpful},succeededCallback,failedCallback,userContext); },
SaveRatingDelete:function(RatingID,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'SaveRatingDelete',false,{RatingID:RatingID},succeededCallback,failedCallback,userContext); },
SaveRatingAbuse:function(RatingID,Comment,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'SaveRatingAbuse',false,{RatingID:RatingID,Comment:Comment},succeededCallback,failedCallback,userContext); },
GetReviews:function(Placekey,UserKey,Sort,RatingFilter,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetReviews',false,{Placekey:Placekey,UserKey:UserKey,Sort:Sort,RatingFilter:RatingFilter},succeededCallback,failedCallback,userContext); },
SaveRatingComment:function(RatingID,Comment,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'SaveRatingComment',false,{RatingID:RatingID,Comment:Comment},succeededCallback,failedCallback,userContext); },
GetRatingsComments:function(RatingID,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetRatingsComments',false,{RatingID:RatingID},succeededCallback,failedCallback,userContext); },
GetAJAXListing:function(ListType,PlaceKey,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetAJAXListing',false,{ListType:ListType,PlaceKey:PlaceKey},succeededCallback,failedCallback,userContext); },
GetLatLong:function(Placekey,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetLatLong',false,{Placekey:Placekey},succeededCallback,failedCallback,userContext); },
GetURL:function(ListType,Placekey,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetURL',false,{ListType:ListType,Placekey:Placekey},succeededCallback,failedCallback,userContext); },
GetCurrencyConversion:function(FromCode,ToCode,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetCurrencyConversion',false,{FromCode:FromCode,ToCode:ToCode},succeededCallback,failedCallback,userContext); },
GetDialCodes:function(FromKey,ToKey,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetDialCodes',false,{FromKey:FromKey,ToKey:ToKey},succeededCallback,failedCallback,userContext); },
GetFolderReportItems:function(FolderKey,ShowLink,Selected,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetFolderReportItems',false,{FolderKey:FolderKey,ShowLink:ShowLink,Selected:Selected},succeededCallback,failedCallback,userContext); },
GetFolderItems:function(FolderKey,ShowLink,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetFolderItems',false,{FolderKey:FolderKey,ShowLink:ShowLink},succeededCallback,failedCallback,userContext); },
SaveReport:function(Temporary,Hidden,ReportID,TemplateKey,SelectedFolderKey,ExcludeMaps,ExcludeImages,ExcludeBizCard,SavedFolderKey,Name,Placekeys,Comments,ShowReview,ShowContact,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'SaveReport',false,{Temporary:Temporary,Hidden:Hidden,ReportID:ReportID,TemplateKey:TemplateKey,SelectedFolderKey:SelectedFolderKey,ExcludeMaps:ExcludeMaps,ExcludeImages:ExcludeImages,ExcludeBizCard:ExcludeBizCard,SavedFolderKey:SavedFolderKey,Name:Name,Placekeys:Placekeys,Comments:Comments,ShowReview:ShowReview,ShowContact:ShowContact},succeededCallback,failedCallback,userContext); },
GetReportPlaces:function(ReportID,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetReportPlaces',false,{ReportID:ReportID},succeededCallback,failedCallback,userContext); },
GetReportDetails:function(ReportID,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetReportDetails',false,{ReportID:ReportID},succeededCallback,failedCallback,userContext); },
RemovePlaceFromReport:function(ReportID,PlaceKey,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'RemovePlaceFromReport',false,{ReportID:ReportID,PlaceKey:PlaceKey},succeededCallback,failedCallback,userContext); },
GetRecipActions:function(RecipientID,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetRecipActions',false,{RecipientID:RecipientID},succeededCallback,failedCallback,userContext); },
Resend:function(RecipientID,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'Resend',false,{RecipientID:RecipientID},succeededCallback,failedCallback,userContext); },
SaveReportDelivery:function(ReportID,EmailSubject,FromName,FromEmail,EMailBody,EmaiRecips,EmailNames,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'SaveReportDelivery',false,{ReportID:ReportID,EmailSubject:EmailSubject,FromName:FromName,FromEmail:FromEmail,EMailBody:EMailBody,EmaiRecips:EmaiRecips,EmailNames:EmailNames},succeededCallback,failedCallback,userContext); },
AddNewFolder:function(FolderName,ParentFolderKey,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'AddNewFolder',false,{FolderName:FolderName,ParentFolderKey:ParentFolderKey},succeededCallback,failedCallback,userContext); },
AddPlaceToFolder:function(PlaceGuids,Folderkey,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'AddPlaceToFolder',false,{PlaceGuids:PlaceGuids,Folderkey:Folderkey},succeededCallback,failedCallback,userContext); },
AddReportToFolder:function(PlaceGuids,Folderkey,SelFolderKey,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'AddReportToFolder',false,{PlaceGuids:PlaceGuids,Folderkey:Folderkey,SelFolderKey:SelFolderKey},succeededCallback,failedCallback,userContext); },
RemoveFromFolder:function(PlaceGuids,Folderkey,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'RemoveFromFolder',false,{PlaceGuids:PlaceGuids,Folderkey:Folderkey},succeededCallback,failedCallback,userContext); },
DeleteReports:function(PlaceGuids,Folderkey,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'DeleteReports',false,{PlaceGuids:PlaceGuids,Folderkey:Folderkey},succeededCallback,failedCallback,userContext); },
DeleteReport2:function(ReportID,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'DeleteReport2',false,{ReportID:ReportID},succeededCallback,failedCallback,userContext); },
UnDeleteReport2:function(ReportID,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'UnDeleteReport2',false,{ReportID:ReportID},succeededCallback,failedCallback,userContext); },
DeleteReport:function(PlaceGuids,Folderkey,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'DeleteReport',false,{PlaceGuids:PlaceGuids,Folderkey:Folderkey},succeededCallback,failedCallback,userContext); },
DeleteFolder:function(Folderkey,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'DeleteFolder',false,{Folderkey:Folderkey},succeededCallback,failedCallback,userContext); },
UnDeleteFolder:function(Folderkey,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'UnDeleteFolder',false,{Folderkey:Folderkey},succeededCallback,failedCallback,userContext); },
RenameFolder:function(Folderkey,Name,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'RenameFolder',false,{Folderkey:Folderkey,Name:Name},succeededCallback,failedCallback,userContext); },
MoveFolder:function(Folderkey,ParentFolderKey,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'MoveFolder',false,{Folderkey:Folderkey,ParentFolderKey:ParentFolderKey},succeededCallback,failedCallback,userContext); },
SendRemindEmail:function(FromName,FromEMail,ToEMail,RemindType,SubscriptionID,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'SendRemindEmail',false,{FromName:FromName,FromEMail:FromEMail,ToEMail:ToEMail,RemindType:RemindType,SubscriptionID:SubscriptionID},succeededCallback,failedCallback,userContext); },
AddEmailsToClientList:function(Emails,AddToList,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'AddEmailsToClientList',false,{Emails:Emails,AddToList:AddToList},succeededCallback,failedCallback,userContext); },
SaveClient:function(ClientKey,Email,Firstname,LastName,AddToList,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'SaveClient',false,{ClientKey:ClientKey,Email:Email,Firstname:Firstname,LastName:LastName,AddToList:AddToList},succeededCallback,failedCallback,userContext); },
GetClientList:function(succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetClientList',false,{},succeededCallback,failedCallback,userContext); },
DeleteClients:function(ClientKeys,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'DeleteClients',false,{ClientKeys:ClientKeys},succeededCallback,failedCallback,userContext); },
GetPlaces:function(DestinationPlaceKey,Prefix,Selected,QueryString,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetPlaces',false,{DestinationPlaceKey:DestinationPlaceKey,Prefix:Prefix,Selected:Selected,QueryString:QueryString},succeededCallback,failedCallback,userContext); }}
ContentHandler.registerClass('ContentHandler',Sys.Net.WebServiceProxy);
ContentHandler._staticInstance = new ContentHandler();
ContentHandler.set_path = function(value) { ContentHandler._staticInstance._path = value; }
ContentHandler.get_path = function() { return ContentHandler._staticInstance._path; }
ContentHandler.set_timeout = function(value) { ContentHandler._staticInstance._timeout = value; }
ContentHandler.get_timeout = function() { return ContentHandler._staticInstance._timeout; }
ContentHandler.set_defaultUserContext = function(value) { ContentHandler._staticInstance._userContext = value; }
ContentHandler.get_defaultUserContext = function() { return ContentHandler._staticInstance._userContext; }
ContentHandler.set_defaultSucceededCallback = function(value) { ContentHandler._staticInstance._succeeded = value; }
ContentHandler.get_defaultSucceededCallback = function() { return ContentHandler._staticInstance._succeeded; }
ContentHandler.set_defaultFailedCallback = function(value) { ContentHandler._staticInstance._failed = value; }
ContentHandler.get_defaultFailedCallback = function() { return ContentHandler._staticInstance._failed; }
ContentHandler.set_path("/ContentHandler.asmx");
ContentHandler.SendPassword= function(EMail,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.SendPassword(EMail,onSuccess,onFailed,userContext); }
ContentHandler.SaveQuickRating= function(Rating,PlaceKey,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.SaveQuickRating(Rating,PlaceKey,onSuccess,onFailed,userContext); }
ContentHandler.SaveRatingHelpful= function(RatingID,Helpful,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.SaveRatingHelpful(RatingID,Helpful,onSuccess,onFailed,userContext); }
ContentHandler.SaveRatingDelete= function(RatingID,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.SaveRatingDelete(RatingID,onSuccess,onFailed,userContext); }
ContentHandler.SaveRatingAbuse= function(RatingID,Comment,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.SaveRatingAbuse(RatingID,Comment,onSuccess,onFailed,userContext); }
ContentHandler.GetReviews= function(Placekey,UserKey,Sort,RatingFilter,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetReviews(Placekey,UserKey,Sort,RatingFilter,onSuccess,onFailed,userContext); }
ContentHandler.SaveRatingComment= function(RatingID,Comment,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.SaveRatingComment(RatingID,Comment,onSuccess,onFailed,userContext); }
ContentHandler.GetRatingsComments= function(RatingID,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetRatingsComments(RatingID,onSuccess,onFailed,userContext); }
ContentHandler.GetAJAXListing= function(ListType,PlaceKey,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetAJAXListing(ListType,PlaceKey,onSuccess,onFailed,userContext); }
ContentHandler.GetLatLong= function(Placekey,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetLatLong(Placekey,onSuccess,onFailed,userContext); }
ContentHandler.GetURL= function(ListType,Placekey,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetURL(ListType,Placekey,onSuccess,onFailed,userContext); }
ContentHandler.GetCurrencyConversion= function(FromCode,ToCode,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetCurrencyConversion(FromCode,ToCode,onSuccess,onFailed,userContext); }
ContentHandler.GetDialCodes= function(FromKey,ToKey,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetDialCodes(FromKey,ToKey,onSuccess,onFailed,userContext); }
ContentHandler.GetFolderReportItems= function(FolderKey,ShowLink,Selected,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetFolderReportItems(FolderKey,ShowLink,Selected,onSuccess,onFailed,userContext); }
ContentHandler.GetFolderItems= function(FolderKey,ShowLink,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetFolderItems(FolderKey,ShowLink,onSuccess,onFailed,userContext); }
ContentHandler.SaveReport= function(Temporary,Hidden,ReportID,TemplateKey,SelectedFolderKey,ExcludeMaps,ExcludeImages,ExcludeBizCard,SavedFolderKey,Name,Placekeys,Comments,ShowReview,ShowContact,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.SaveReport(Temporary,Hidden,ReportID,TemplateKey,SelectedFolderKey,ExcludeMaps,ExcludeImages,ExcludeBizCard,SavedFolderKey,Name,Placekeys,Comments,ShowReview,ShowContact,onSuccess,onFailed,userContext); }
ContentHandler.GetReportPlaces= function(ReportID,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetReportPlaces(ReportID,onSuccess,onFailed,userContext); }
ContentHandler.GetReportDetails= function(ReportID,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetReportDetails(ReportID,onSuccess,onFailed,userContext); }
ContentHandler.RemovePlaceFromReport= function(ReportID,PlaceKey,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.RemovePlaceFromReport(ReportID,PlaceKey,onSuccess,onFailed,userContext); }
ContentHandler.GetRecipActions= function(RecipientID,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetRecipActions(RecipientID,onSuccess,onFailed,userContext); }
ContentHandler.Resend= function(RecipientID,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.Resend(RecipientID,onSuccess,onFailed,userContext); }
ContentHandler.SaveReportDelivery= function(ReportID,EmailSubject,FromName,FromEmail,EMailBody,EmaiRecips,EmailNames,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.SaveReportDelivery(ReportID,EmailSubject,FromName,FromEmail,EMailBody,EmaiRecips,EmailNames,onSuccess,onFailed,userContext); }
ContentHandler.AddNewFolder= function(FolderName,ParentFolderKey,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.AddNewFolder(FolderName,ParentFolderKey,onSuccess,onFailed,userContext); }
ContentHandler.AddPlaceToFolder= function(PlaceGuids,Folderkey,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.AddPlaceToFolder(PlaceGuids,Folderkey,onSuccess,onFailed,userContext); }
ContentHandler.AddReportToFolder= function(PlaceGuids,Folderkey,SelFolderKey,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.AddReportToFolder(PlaceGuids,Folderkey,SelFolderKey,onSuccess,onFailed,userContext); }
ContentHandler.RemoveFromFolder= function(PlaceGuids,Folderkey,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.RemoveFromFolder(PlaceGuids,Folderkey,onSuccess,onFailed,userContext); }
ContentHandler.DeleteReports= function(PlaceGuids,Folderkey,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.DeleteReports(PlaceGuids,Folderkey,onSuccess,onFailed,userContext); }
ContentHandler.DeleteReport2= function(ReportID,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.DeleteReport2(ReportID,onSuccess,onFailed,userContext); }
ContentHandler.UnDeleteReport2= function(ReportID,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.UnDeleteReport2(ReportID,onSuccess,onFailed,userContext); }
ContentHandler.DeleteReport= function(PlaceGuids,Folderkey,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.DeleteReport(PlaceGuids,Folderkey,onSuccess,onFailed,userContext); }
ContentHandler.DeleteFolder= function(Folderkey,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.DeleteFolder(Folderkey,onSuccess,onFailed,userContext); }
ContentHandler.UnDeleteFolder= function(Folderkey,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.UnDeleteFolder(Folderkey,onSuccess,onFailed,userContext); }
ContentHandler.RenameFolder= function(Folderkey,Name,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.RenameFolder(Folderkey,Name,onSuccess,onFailed,userContext); }
ContentHandler.MoveFolder= function(Folderkey,ParentFolderKey,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.MoveFolder(Folderkey,ParentFolderKey,onSuccess,onFailed,userContext); }
ContentHandler.SendRemindEmail= function(FromName,FromEMail,ToEMail,RemindType,SubscriptionID,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.SendRemindEmail(FromName,FromEMail,ToEMail,RemindType,SubscriptionID,onSuccess,onFailed,userContext); }
ContentHandler.AddEmailsToClientList= function(Emails,AddToList,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.AddEmailsToClientList(Emails,AddToList,onSuccess,onFailed,userContext); }
ContentHandler.SaveClient= function(ClientKey,Email,Firstname,LastName,AddToList,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.SaveClient(ClientKey,Email,Firstname,LastName,AddToList,onSuccess,onFailed,userContext); }
ContentHandler.GetClientList= function(onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetClientList(onSuccess,onFailed,userContext); }
ContentHandler.DeleteClients= function(ClientKeys,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.DeleteClients(ClientKeys,onSuccess,onFailed,userContext); }
ContentHandler.GetPlaces= function(DestinationPlaceKey,Prefix,Selected,QueryString,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetPlaces(DestinationPlaceKey,Prefix,Selected,QueryString,onSuccess,onFailed,userContext); }

