| java.lang.Object org.blojsom.plugin.comment.CommentModerationPlugin
All known Subclasses: org.blojsom.plugin.comment.MathCommentAuthenticationPlugin,
CommentModerationPlugin | public class CommentModerationPlugin implements Plugin(Code) | | Comment moderation plugin
author: David Czarnecki version: $Id: CommentModerationPlugin.java,v 1.3 2007/01/17 02:35:08 czarneckid Exp $ since: blojsom 3.0 |
BLOJSOM_COMMENT_MODERATION_PLUGIN_APPROVED | final public static String BLOJSOM_COMMENT_MODERATION_PLUGIN_APPROVED(Code) | | |
COMMENT_MODERATION_ENABLED | final public static String COMMENT_MODERATION_ENABLED(Code) | | |
CommentModerationPlugin | public CommentModerationPlugin()(Code) | | Construct a new comment moderation plugin
|
moderateComment | protected void moderateComment(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Blog blog, Map context, Entry[] entries) throws PluginException(Code) | | Simple check to see if comment moderation is enabled
Parameters: httpServletRequest - Request Parameters: httpServletResponse - Response Parameters: user - org.blojsom.blog.BlogUser instance Parameters: context - Context Parameters: entries - Blog entries retrieved for the particular request throws: PluginException - If there is an error in moderating a comment |
process | public Entry[] process(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Blog blog, Map context, Entry[] entries) throws PluginException(Code) | | Process the blog entries
Parameters: httpServletRequest - Request Parameters: httpServletResponse - Response Parameters: blog - Blog instance Parameters: context - Context Parameters: entries - Blog entries retrieved for the particular request Modified set of blog entries throws: PluginException - If there is an error processing the blog entries |
|
|