Type.registerNamespace('Dvoted.CMS.Services');
Dvoted.CMS.Services.AjaxScriptService=function() {
Dvoted.CMS.Services.AjaxScriptService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Dvoted.CMS.Services.AjaxScriptService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Dvoted.CMS.Services.AjaxScriptService._staticInstance.get_path();},
AuthenticateUser:function(username,password,createPersistantCookie,language,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AuthenticateUser',false,{username:username,password:password,createPersistantCookie:createPersistantCookie,language:language},succeededCallback,failedCallback,userContext); },
SendFeedback:function(email,text,textBoxClientId,url,siteId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendFeedback',false,{email:email,text:text,textBoxClientId:textBoxClientId,url:url,siteId:siteId},succeededCallback,failedCallback,userContext); },
Report:function(entityType,entityId,reasonMessage,entityUrl,language,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Report',false,{entityType:entityType,entityId:entityId,reasonMessage:reasonMessage,entityUrl:entityUrl,language:language},succeededCallback,failedCallback,userContext); },
CommentWallPost:function(wallPostEntryId,userId,content,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CommentWallPost',false,{wallPostEntryId:wallPostEntryId,userId:userId,content:content},succeededCallback,failedCallback,userContext); },
GetGlobalFeedStories:function(pageIndex,pageSize,maxPageIndex,startPageId,language,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetGlobalFeedStories',false,{pageIndex:pageIndex,pageSize:pageSize,maxPageIndex:maxPageIndex,startPageId:startPageId,language:language},succeededCallback,failedCallback,userContext); },
Favorite:function(entityType,entityId,language,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Favorite',false,{entityType:entityType,entityId:entityId,language:language},succeededCallback,failedCallback,userContext); },
Visit:function(entityType,entityId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Visit',false,{entityType:entityType,entityId:entityId},succeededCallback,failedCallback,userContext); },
GetVisits:function(entityType,entityId,pageIndex,pageSize,startPageId,language,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetVisits',false,{entityType:entityType,entityId:entityId,pageIndex:pageIndex,pageSize:pageSize,startPageId:startPageId,language:language},succeededCallback,failedCallback,userContext); },
GetRatings:function(entityType,entityId,pageIndex,pageSize,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRatings',false,{entityType:entityType,entityId:entityId,pageIndex:pageIndex,pageSize:pageSize},succeededCallback,failedCallback,userContext); },
SendMentorQuestion:function(question,description,attatchedVideoId,attatchedImageId,attatchedDocumentId,mentorUserId,startPageId,language,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendMentorQuestion',false,{question:question,description:description,attatchedVideoId:attatchedVideoId,attatchedImageId:attatchedImageId,attatchedDocumentId:attatchedDocumentId,mentorUserId:mentorUserId,startPageId:startPageId,language:language},succeededCallback,failedCallback,userContext); },
SendMessage:function(title,message,attatchedVideoId,attatchedImageId,attatchedDocumentId,reciverId,language,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendMessage',false,{title:title,message:message,attatchedVideoId:attatchedVideoId,attatchedImageId:attatchedImageId,attatchedDocumentId:attatchedDocumentId,reciverId:reciverId,language:language},succeededCallback,failedCallback,userContext); },
SendPageMessage:function(clubId,title,message,attatchedVideoId,attatchedImageId,attatchedDocumentId,language,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendPageMessage',false,{clubId:clubId,title:title,message:message,attatchedVideoId:attatchedVideoId,attatchedImageId:attatchedImageId,attatchedDocumentId:attatchedDocumentId,language:language},succeededCallback,failedCallback,userContext); },
AttatchFilms:function(clubId,videoId1,videoId2,videoId3,language,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AttatchFilms',false,{clubId:clubId,videoId1:videoId1,videoId2:videoId2,videoId3:videoId3,language:language},succeededCallback,failedCallback,userContext); },
AttatchPhotos:function(clubId,imageId1,imageId2,imageId3,language,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AttatchPhotos',false,{clubId:clubId,imageId1:imageId1,imageId2:imageId2,imageId3:imageId3,language:language},succeededCallback,failedCallback,userContext); },
AttatchScripts:function(clubId,docId1,docId2,docId3,language,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AttatchScripts',false,{clubId:clubId,docId1:docId1,docId2:docId2,docId3:docId3,language:language},succeededCallback,failedCallback,userContext); },
DeletClub:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeletClub',false,{},succeededCallback,failedCallback,userContext); },
RemoveWallEntry:function(entryId,listItem,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RemoveWallEntry',false,{entryId:entryId,listItem:listItem},succeededCallback,failedCallback,userContext); },
RemoveWallEntryComment:function(commentId,listItem,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RemoveWallEntryComment',false,{commentId:commentId,listItem:listItem},succeededCallback,failedCallback,userContext); }}
Dvoted.CMS.Services.AjaxScriptService.registerClass('Dvoted.CMS.Services.AjaxScriptService',Sys.Net.WebServiceProxy);
Dvoted.CMS.Services.AjaxScriptService._staticInstance = new Dvoted.CMS.Services.AjaxScriptService();
Dvoted.CMS.Services.AjaxScriptService.set_path = function(value) { Dvoted.CMS.Services.AjaxScriptService._staticInstance.set_path(value); }
Dvoted.CMS.Services.AjaxScriptService.get_path = function() { return Dvoted.CMS.Services.AjaxScriptService._staticInstance.get_path(); }
Dvoted.CMS.Services.AjaxScriptService.set_timeout = function(value) { Dvoted.CMS.Services.AjaxScriptService._staticInstance.set_timeout(value); }
Dvoted.CMS.Services.AjaxScriptService.get_timeout = function() { return Dvoted.CMS.Services.AjaxScriptService._staticInstance.get_timeout(); }
Dvoted.CMS.Services.AjaxScriptService.set_defaultUserContext = function(value) { Dvoted.CMS.Services.AjaxScriptService._staticInstance.set_defaultUserContext(value); }
Dvoted.CMS.Services.AjaxScriptService.get_defaultUserContext = function() { return Dvoted.CMS.Services.AjaxScriptService._staticInstance.get_defaultUserContext(); }
Dvoted.CMS.Services.AjaxScriptService.set_defaultSucceededCallback = function(value) { Dvoted.CMS.Services.AjaxScriptService._staticInstance.set_defaultSucceededCallback(value); }
Dvoted.CMS.Services.AjaxScriptService.get_defaultSucceededCallback = function() { return Dvoted.CMS.Services.AjaxScriptService._staticInstance.get_defaultSucceededCallback(); }
Dvoted.CMS.Services.AjaxScriptService.set_defaultFailedCallback = function(value) { Dvoted.CMS.Services.AjaxScriptService._staticInstance.set_defaultFailedCallback(value); }
Dvoted.CMS.Services.AjaxScriptService.get_defaultFailedCallback = function() { return Dvoted.CMS.Services.AjaxScriptService._staticInstance.get_defaultFailedCallback(); }
Dvoted.CMS.Services.AjaxScriptService.set_path("/Services/AjaxScriptService.asmx");
Dvoted.CMS.Services.AjaxScriptService.AuthenticateUser= function(username,password,createPersistantCookie,language,onSuccess,onFailed,userContext) {Dvoted.CMS.Services.AjaxScriptService._staticInstance.AuthenticateUser(username,password,createPersistantCookie,language,onSuccess,onFailed,userContext); }
Dvoted.CMS.Services.AjaxScriptService.SendFeedback= function(email,text,textBoxClientId,url,siteId,onSuccess,onFailed,userContext) {Dvoted.CMS.Services.AjaxScriptService._staticInstance.SendFeedback(email,text,textBoxClientId,url,siteId,onSuccess,onFailed,userContext); }
Dvoted.CMS.Services.AjaxScriptService.Report= function(entityType,entityId,reasonMessage,entityUrl,language,onSuccess,onFailed,userContext) {Dvoted.CMS.Services.AjaxScriptService._staticInstance.Report(entityType,entityId,reasonMessage,entityUrl,language,onSuccess,onFailed,userContext); }
Dvoted.CMS.Services.AjaxScriptService.CommentWallPost= function(wallPostEntryId,userId,content,onSuccess,onFailed,userContext) {Dvoted.CMS.Services.AjaxScriptService._staticInstance.CommentWallPost(wallPostEntryId,userId,content,onSuccess,onFailed,userContext); }
Dvoted.CMS.Services.AjaxScriptService.GetGlobalFeedStories= function(pageIndex,pageSize,maxPageIndex,startPageId,language,onSuccess,onFailed,userContext) {Dvoted.CMS.Services.AjaxScriptService._staticInstance.GetGlobalFeedStories(pageIndex,pageSize,maxPageIndex,startPageId,language,onSuccess,onFailed,userContext); }
Dvoted.CMS.Services.AjaxScriptService.Favorite= function(entityType,entityId,language,onSuccess,onFailed,userContext) {Dvoted.CMS.Services.AjaxScriptService._staticInstance.Favorite(entityType,entityId,language,onSuccess,onFailed,userContext); }
Dvoted.CMS.Services.AjaxScriptService.Visit= function(entityType,entityId,onSuccess,onFailed,userContext) {Dvoted.CMS.Services.AjaxScriptService._staticInstance.Visit(entityType,entityId,onSuccess,onFailed,userContext); }
Dvoted.CMS.Services.AjaxScriptService.GetVisits= function(entityType,entityId,pageIndex,pageSize,startPageId,language,onSuccess,onFailed,userContext) {Dvoted.CMS.Services.AjaxScriptService._staticInstance.GetVisits(entityType,entityId,pageIndex,pageSize,startPageId,language,onSuccess,onFailed,userContext); }
Dvoted.CMS.Services.AjaxScriptService.GetRatings= function(entityType,entityId,pageIndex,pageSize,onSuccess,onFailed,userContext) {Dvoted.CMS.Services.AjaxScriptService._staticInstance.GetRatings(entityType,entityId,pageIndex,pageSize,onSuccess,onFailed,userContext); }
Dvoted.CMS.Services.AjaxScriptService.SendMentorQuestion= function(question,description,attatchedVideoId,attatchedImageId,attatchedDocumentId,mentorUserId,startPageId,language,onSuccess,onFailed,userContext) {Dvoted.CMS.Services.AjaxScriptService._staticInstance.SendMentorQuestion(question,description,attatchedVideoId,attatchedImageId,attatchedDocumentId,mentorUserId,startPageId,language,onSuccess,onFailed,userContext); }
Dvoted.CMS.Services.AjaxScriptService.SendMessage= function(title,message,attatchedVideoId,attatchedImageId,attatchedDocumentId,reciverId,language,onSuccess,onFailed,userContext) {Dvoted.CMS.Services.AjaxScriptService._staticInstance.SendMessage(title,message,attatchedVideoId,attatchedImageId,attatchedDocumentId,reciverId,language,onSuccess,onFailed,userContext); }
Dvoted.CMS.Services.AjaxScriptService.SendPageMessage= function(clubId,title,message,attatchedVideoId,attatchedImageId,attatchedDocumentId,language,onSuccess,onFailed,userContext) {Dvoted.CMS.Services.AjaxScriptService._staticInstance.SendPageMessage(clubId,title,message,attatchedVideoId,attatchedImageId,attatchedDocumentId,language,onSuccess,onFailed,userContext); }
Dvoted.CMS.Services.AjaxScriptService.AttatchFilms= function(clubId,videoId1,videoId2,videoId3,language,onSuccess,onFailed,userContext) {Dvoted.CMS.Services.AjaxScriptService._staticInstance.AttatchFilms(clubId,videoId1,videoId2,videoId3,language,onSuccess,onFailed,userContext); }
Dvoted.CMS.Services.AjaxScriptService.AttatchPhotos= function(clubId,imageId1,imageId2,imageId3,language,onSuccess,onFailed,userContext) {Dvoted.CMS.Services.AjaxScriptService._staticInstance.AttatchPhotos(clubId,imageId1,imageId2,imageId3,language,onSuccess,onFailed,userContext); }
Dvoted.CMS.Services.AjaxScriptService.AttatchScripts= function(clubId,docId1,docId2,docId3,language,onSuccess,onFailed,userContext) {Dvoted.CMS.Services.AjaxScriptService._staticInstance.AttatchScripts(clubId,docId1,docId2,docId3,language,onSuccess,onFailed,userContext); }
Dvoted.CMS.Services.AjaxScriptService.DeletClub= function(onSuccess,onFailed,userContext) {Dvoted.CMS.Services.AjaxScriptService._staticInstance.DeletClub(onSuccess,onFailed,userContext); }
Dvoted.CMS.Services.AjaxScriptService.RemoveWallEntry= function(entryId,listItem,onSuccess,onFailed,userContext) {Dvoted.CMS.Services.AjaxScriptService._staticInstance.RemoveWallEntry(entryId,listItem,onSuccess,onFailed,userContext); }
Dvoted.CMS.Services.AjaxScriptService.RemoveWallEntryComment= function(commentId,listItem,onSuccess,onFailed,userContext) {Dvoted.CMS.Services.AjaxScriptService._staticInstance.RemoveWallEntryComment(commentId,listItem,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Dvoted.CMS.Services.AuthenticateUserResponse) === 'undefined') {
Dvoted.CMS.Services.AuthenticateUserResponse=gtc("Dvoted.CMS.Services.AuthenticateUserResponse");
Dvoted.CMS.Services.AuthenticateUserResponse.registerClass('Dvoted.CMS.Services.AuthenticateUserResponse');
}

