| org.blojsom.plugin.admin.WebAdminPlugin org.blojsom.plugin.moderation.admin.IPAddressModerationAdminPlugin
IPAddressModerationAdminPlugin | public class IPAddressModerationAdminPlugin extends WebAdminPlugin (Code) | | IP address moderation administration plugin
author: David Czarnecki version: $Id: IPAddressModerationAdminPlugin.java,v 1.2 2007/01/17 02:35:12 czarneckid Exp $ since: blojsom 3.0 |
IPAddressModerationAdminPlugin | public IPAddressModerationAdminPlugin()(Code) | | Create a new instance of the IP address moderation administration plugin
|
getDisplayName | public String getDisplayName()(Code) | | Return the display name for the plugin
Display name for the plugin |
getInitialPage | public String getInitialPage()(Code) | | Return the name of the initial editing page for the plugin
Name of the initial editing page for the plugin |
loadIPList | protected List loadIPList(Blog blog, String property)(Code) | | Load the list of IP addresses from whitelist or blacklist from the blog properties
Parameters: blog - Blog Parameters: property - Whitelist or Blacklist property List of IP addresses |
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 |
|
|