addNamespace("GIG.Knowledge.Content.Controls");
GIG.Knowledge.Content.Controls.ArticleView_class = Class.create();
GIG.Knowledge.Content.Controls.ArticleView_class.prototype = (new AjaxPro.Request()).extend({
	SetUserGrade: function(contentId, contentType, contentPoints, callback) {
		return this.invoke("SetUserGrade", {"contentId":contentId, "contentType":contentType, "contentPoints":contentPoints}, callback);
	},
	GetContent: function(contentId, callback) {
		return this.invoke("GetContent", {"contentId":contentId}, callback);
	},
	GetCommentList: function(contentId, contentType, pageIndex, pageSize, callback) {
		return this.invoke("GetCommentList", {"contentId":contentId, "contentType":contentType, "pageIndex":pageIndex, "pageSize":pageSize}, callback);
	},
	PostComment: function(contentId, contentType, commentText, callback) {
		return this.invoke("PostComment", {"contentId":contentId, "contentType":contentType, "commentText":commentText}, callback);
	},
	DeleteComment: function(commentId, callback) {
		return this.invoke("DeleteComment", {"commentId":commentId}, callback);
	},
	CreateCommentInformation: function(commentId, vote, callback) {
		return this.invoke("CreateCommentInformation", {"commentId":commentId, "vote":vote}, callback);
	},
	CreateContentAttention: function(contentId, contentType, callback) {
		return this.invoke("CreateContentAttention", {"contentId":contentId, "contentType":contentType}, callback);
	},
	SetTop: function(articleId, callback) {
		return this.invoke("SetTop", {"articleId":articleId}, callback);
	},
	SetExtractive: function(articleId, callback) {
		return this.invoke("SetExtractive", {"articleId":articleId}, callback);
	},
	SetLock: function(articleId, callback) {
		return this.invoke("SetLock", {"articleId":articleId}, callback);
	},
	PurchaseContent: function(contentId, callback) {
		return this.invoke("PurchaseContent", {"contentId":contentId}, callback);
	},
	initialize: function() {
		this.url = "/ajaxpro/GIG.Knowledge.Content.Controls.ArticleView,GIG.Knowledge.Content.ashx";
	}
})
GIG.Knowledge.Content.Controls.ArticleView = new GIG.Knowledge.Content.Controls.ArticleView_class();

