| java.lang.Object org.blojsom.plugin.trackback.TrackbackModerationPlugin
TrackbackModerationPlugin | public class TrackbackModerationPlugin implements Plugin(Code) | | Trackback moderation plugin
author: David Czarnecki version: $Id: TrackbackModerationPlugin.java,v 1.2 2007/01/17 02:35:14 czarneckid Exp $ since: blojsom 3.0 |
BLOJSOM_TRACKBACK_MODERATION_PLUGIN_APPROVED | final public static String BLOJSOM_TRACKBACK_MODERATION_PLUGIN_APPROVED(Code) | | |
TRACKBACK_MODERATION_ENABLED | final public static String TRACKBACK_MODERATION_ENABLED(Code) | | |
TrackbackModerationPlugin | public TrackbackModerationPlugin()(Code) | | Construct a new trackback moderation plugin
|
moderateTrackback | protected void moderateTrackback(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Blog blog, Map context, Entry[] entries) throws PluginException(Code) | | Simple check to see if trackback moderation is enabled
Parameters: httpServletRequest - Request Parameters: httpServletResponse - Response Parameters: blog - Blog instance Parameters: context - Context Parameters: entries - Blog entries retrieved for the particular request throws: PluginException - If there is an error in moderating a trackback |
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 |
|
|