Type.registerNamespace('BlogtronixServices');
BlogtronixServices.CommonServices=function() {
BlogtronixServices.CommonServices.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
BlogtronixServices.CommonServices.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return BlogtronixServices.CommonServices._staticInstance.get_path();},
LoadSingleActivityList:function(activityID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadSingleActivityList',false,{activityID:activityID},succeededCallback,failedCallback,userContext); },
LoadProfileActivityList:function(userID,filter,filterGroup,lastActivityID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadProfileActivityList',false,{userID:userID,filter:filter,filterGroup:filterGroup,lastActivityID:lastActivityID},succeededCallback,failedCallback,userContext); },
LoadDashboardActivityList:function(filter,filterGroup,lastActivityID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadDashboardActivityList',false,{filter:filter,filterGroup:filterGroup,lastActivityID:lastActivityID},succeededCallback,failedCallback,userContext); },
LoadGroupActivityList:function(filter,groupID,lastActivityID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadGroupActivityList',false,{filter:filter,groupID:groupID,lastActivityID:lastActivityID},succeededCallback,failedCallback,userContext); },
SetDashboardStatus:function(text,tmpFolder,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetDashboardStatus',false,{text:text,tmpFolder:tmpFolder},succeededCallback,failedCallback,userContext); },
SetGroupStatus:function(text,groupID,tmpFolder,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetGroupStatus',false,{text:text,groupID:groupID,tmpFolder:tmpFolder},succeededCallback,failedCallback,userContext); },
DeleteActivity:function(activityID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteActivity',false,{activityID:activityID},succeededCallback,failedCallback,userContext); },
ResetCommented:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ResetCommented',false,{},succeededCallback,failedCallback,userContext); },
ResetSingleCommented:function(containerID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ResetSingleCommented',false,{containerID:containerID},succeededCallback,failedCallback,userContext); },
GetCommentedCount:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCommentedCount',false,{},succeededCallback,failedCallback,userContext); },
JoinGroup:function(groupId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JoinGroup',false,{groupId:groupId},succeededCallback,failedCallback,userContext); },
LeaveGroup:function(groupId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LeaveGroup',false,{groupId:groupId},succeededCallback,failedCallback,userContext); },
RemoveUser:function(rel,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RemoveUser',false,{rel:rel},succeededCallback,failedCallback,userContext); },
MakeModerator:function(rel,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'MakeModerator',false,{rel:rel},succeededCallback,failedCallback,userContext); },
CancelGroupRequest:function(groupId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CancelGroupRequest',false,{groupId:groupId},succeededCallback,failedCallback,userContext); },
DeleteFile:function(filePath,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteFile',false,{filePath:filePath},succeededCallback,failedCallback,userContext); },
Vote:function(postID,isVoteUp,groupID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Vote',false,{postID:postID,isVoteUp:isVoteUp,groupID:groupID},succeededCallback,failedCallback,userContext); },
SetChoiceOfTheDay:function(postID,isChoiceOfTheDay,groupID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetChoiceOfTheDay',false,{postID:postID,isChoiceOfTheDay:isChoiceOfTheDay,groupID:groupID},succeededCallback,failedCallback,userContext); },
SetFavoritePost:function(postID,isFavorite,groupID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetFavoritePost',false,{postID:postID,isFavorite:isFavorite,groupID:groupID},succeededCallback,failedCallback,userContext); },
AddComment:function(containerId,parentCommentId,content,name,email,url,anonymizerEnable,tmpFolder,groupID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddComment',false,{containerId:containerId,parentCommentId:parentCommentId,content:content,name:name,email:email,url:url,anonymizerEnable:anonymizerEnable,tmpFolder:tmpFolder,groupID:groupID},succeededCallback,failedCallback,userContext); },
AddCommentWithImage:function(containerId,parentCommentId,content,name,email,url,anonymizerEnable,codeImage,groupID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddCommentWithImage',false,{containerId:containerId,parentCommentId:parentCommentId,content:content,name:name,email:email,url:url,anonymizerEnable:anonymizerEnable,codeImage:codeImage,groupID:groupID},succeededCallback,failedCallback,userContext); },
EditComment:function(groupID,commentId,content,anonymizerEnable,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'EditComment',false,{groupID:groupID,commentId:commentId,content:content,anonymizerEnable:anonymizerEnable},succeededCallback,failedCallback,userContext); },
DeleteComment:function(groupID,commentId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteComment',false,{groupID:groupID,commentId:commentId},succeededCallback,failedCallback,userContext); },
SpamComment:function(groupID,commentId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SpamComment',false,{groupID:groupID,commentId:commentId},succeededCallback,failedCallback,userContext); },
GetCommentContent:function(groupID,commentId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCommentContent',false,{groupID:groupID,commentId:commentId},succeededCallback,failedCallback,userContext); },
SetNotification:function(groupID,commentContainerId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetNotification',false,{groupID:groupID,commentContainerId:commentContainerId},succeededCallback,failedCallback,userContext); }}
BlogtronixServices.CommonServices.registerClass('BlogtronixServices.CommonServices',Sys.Net.WebServiceProxy);
BlogtronixServices.CommonServices._staticInstance = new BlogtronixServices.CommonServices();
BlogtronixServices.CommonServices.set_path = function(value) { BlogtronixServices.CommonServices._staticInstance.set_path(value); }
BlogtronixServices.CommonServices.get_path = function() { return BlogtronixServices.CommonServices._staticInstance.get_path(); }
BlogtronixServices.CommonServices.set_timeout = function(value) { BlogtronixServices.CommonServices._staticInstance.set_timeout(value); }
BlogtronixServices.CommonServices.get_timeout = function() { return BlogtronixServices.CommonServices._staticInstance.get_timeout(); }
BlogtronixServices.CommonServices.set_defaultUserContext = function(value) { BlogtronixServices.CommonServices._staticInstance.set_defaultUserContext(value); }
BlogtronixServices.CommonServices.get_defaultUserContext = function() { return BlogtronixServices.CommonServices._staticInstance.get_defaultUserContext(); }
BlogtronixServices.CommonServices.set_defaultSucceededCallback = function(value) { BlogtronixServices.CommonServices._staticInstance.set_defaultSucceededCallback(value); }
BlogtronixServices.CommonServices.get_defaultSucceededCallback = function() { return BlogtronixServices.CommonServices._staticInstance.get_defaultSucceededCallback(); }
BlogtronixServices.CommonServices.set_defaultFailedCallback = function(value) { BlogtronixServices.CommonServices._staticInstance.set_defaultFailedCallback(value); }
BlogtronixServices.CommonServices.get_defaultFailedCallback = function() { return BlogtronixServices.CommonServices._staticInstance.get_defaultFailedCallback(); }
BlogtronixServices.CommonServices.set_path("/services/CommonServices.svc");
BlogtronixServices.CommonServices.LoadSingleActivityList= function(activityID,onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.LoadSingleActivityList(activityID,onSuccess,onFailed,userContext); }
BlogtronixServices.CommonServices.LoadProfileActivityList= function(userID,filter,filterGroup,lastActivityID,onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.LoadProfileActivityList(userID,filter,filterGroup,lastActivityID,onSuccess,onFailed,userContext); }
BlogtronixServices.CommonServices.LoadDashboardActivityList= function(filter,filterGroup,lastActivityID,onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.LoadDashboardActivityList(filter,filterGroup,lastActivityID,onSuccess,onFailed,userContext); }
BlogtronixServices.CommonServices.LoadGroupActivityList= function(filter,groupID,lastActivityID,onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.LoadGroupActivityList(filter,groupID,lastActivityID,onSuccess,onFailed,userContext); }
BlogtronixServices.CommonServices.SetDashboardStatus= function(text,tmpFolder,onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.SetDashboardStatus(text,tmpFolder,onSuccess,onFailed,userContext); }
BlogtronixServices.CommonServices.SetGroupStatus= function(text,groupID,tmpFolder,onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.SetGroupStatus(text,groupID,tmpFolder,onSuccess,onFailed,userContext); }
BlogtronixServices.CommonServices.DeleteActivity= function(activityID,onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.DeleteActivity(activityID,onSuccess,onFailed,userContext); }
BlogtronixServices.CommonServices.ResetCommented= function(onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.ResetCommented(onSuccess,onFailed,userContext); }
BlogtronixServices.CommonServices.ResetSingleCommented= function(containerID,onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.ResetSingleCommented(containerID,onSuccess,onFailed,userContext); }
BlogtronixServices.CommonServices.GetCommentedCount= function(onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.GetCommentedCount(onSuccess,onFailed,userContext); }
BlogtronixServices.CommonServices.JoinGroup= function(groupId,onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.JoinGroup(groupId,onSuccess,onFailed,userContext); }
BlogtronixServices.CommonServices.LeaveGroup= function(groupId,onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.LeaveGroup(groupId,onSuccess,onFailed,userContext); }
BlogtronixServices.CommonServices.RemoveUser= function(rel,onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.RemoveUser(rel,onSuccess,onFailed,userContext); }
BlogtronixServices.CommonServices.MakeModerator= function(rel,onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.MakeModerator(rel,onSuccess,onFailed,userContext); }
BlogtronixServices.CommonServices.CancelGroupRequest= function(groupId,onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.CancelGroupRequest(groupId,onSuccess,onFailed,userContext); }
BlogtronixServices.CommonServices.DeleteFile= function(filePath,onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.DeleteFile(filePath,onSuccess,onFailed,userContext); }
BlogtronixServices.CommonServices.Vote= function(postID,isVoteUp,groupID,onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.Vote(postID,isVoteUp,groupID,onSuccess,onFailed,userContext); }
BlogtronixServices.CommonServices.SetChoiceOfTheDay= function(postID,isChoiceOfTheDay,groupID,onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.SetChoiceOfTheDay(postID,isChoiceOfTheDay,groupID,onSuccess,onFailed,userContext); }
BlogtronixServices.CommonServices.SetFavoritePost= function(postID,isFavorite,groupID,onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.SetFavoritePost(postID,isFavorite,groupID,onSuccess,onFailed,userContext); }
BlogtronixServices.CommonServices.AddComment= function(containerId,parentCommentId,content,name,email,url,anonymizerEnable,tmpFolder,groupID,onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.AddComment(containerId,parentCommentId,content,name,email,url,anonymizerEnable,tmpFolder,groupID,onSuccess,onFailed,userContext); }
BlogtronixServices.CommonServices.AddCommentWithImage= function(containerId,parentCommentId,content,name,email,url,anonymizerEnable,codeImage,groupID,onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.AddCommentWithImage(containerId,parentCommentId,content,name,email,url,anonymizerEnable,codeImage,groupID,onSuccess,onFailed,userContext); }
BlogtronixServices.CommonServices.EditComment= function(groupID,commentId,content,anonymizerEnable,onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.EditComment(groupID,commentId,content,anonymizerEnable,onSuccess,onFailed,userContext); }
BlogtronixServices.CommonServices.DeleteComment= function(groupID,commentId,onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.DeleteComment(groupID,commentId,onSuccess,onFailed,userContext); }
BlogtronixServices.CommonServices.SpamComment= function(groupID,commentId,onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.SpamComment(groupID,commentId,onSuccess,onFailed,userContext); }
BlogtronixServices.CommonServices.GetCommentContent= function(groupID,commentId,onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.GetCommentContent(groupID,commentId,onSuccess,onFailed,userContext); }
BlogtronixServices.CommonServices.SetNotification= function(groupID,commentContainerId,onSuccess,onFailed,userContext) {BlogtronixServices.CommonServices._staticInstance.SetNotification(groupID,commentContainerId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Blogtronix.WebServices');
if (typeof(Blogtronix.WebServices.ActivityListInfo) === 'undefined') {
Blogtronix.WebServices.ActivityListInfo=gtc("ActivityListInfo:http://schemas.datacontract.org/2004/07/Blogtronix.WebServices");
Blogtronix.WebServices.ActivityListInfo.registerClass('Blogtronix.WebServices.ActivityListInfo');
}
Type.registerNamespace('schemas.microsoft.com._2003._10.Serialization');
if (typeof(schemas.microsoft.com._2003._10.Serialization.guid) === 'undefined') {
schemas.microsoft.com._2003._10.Serialization.guid=gtc("guid:http://schemas.microsoft.com/2003/10/Serialization/");
schemas.microsoft.com._2003._10.Serialization.guid.registerClass('schemas.microsoft.com._2003._10.Serialization.guid');
}
if (typeof(Blogtronix.WebServices.StatusActivityInfo) === 'undefined') {
Blogtronix.WebServices.StatusActivityInfo=gtc("StatusActivityInfo:http://schemas.datacontract.org/2004/07/Blogtronix.WebServices");
Blogtronix.WebServices.StatusActivityInfo.registerClass('Blogtronix.WebServices.StatusActivityInfo');
}
if (typeof(Blogtronix.WebServices.VotingInfo) === 'undefined') {
Blogtronix.WebServices.VotingInfo=gtc("VotingInfo:http://schemas.datacontract.org/2004/07/Blogtronix.WebServices");
Blogtronix.WebServices.VotingInfo.registerClass('Blogtronix.WebServices.VotingInfo');
}

