|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.blojsom.plugin.admin.BaseAdminPlugin
org.blojsom.plugin.admin.WebAdminPlugin
org.blojsom.plugin.moderation.admin.IPAddressModerationAdminPlugin
IP address moderation administration plugin
| Field Summary |
| Constructor Summary | |
IPAddressModerationAdminPlugin()
Create a new instance of the IP address moderation administration plugin |
|
| Method Summary | |
java.lang.String |
getDisplayName()
Return the display name for the plugin |
java.lang.String |
getInitialPage()
Return the name of the initial editing page for the plugin |
void |
init()
Initialize this plugin. |
protected java.util.List |
loadIPList(Blog blog,
java.lang.String property)
Load the list of IP addresses from whitelist or blacklist from the blog properties |
Entry[] |
process(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
Blog blog,
java.util.Map context,
Entry[] entries)
Process the blog entries |
void |
setFetcher(Fetcher fetcher)
Set the Fetcher |
| Methods inherited from class org.blojsom.plugin.admin.BaseAdminPlugin |
addOperationResultMessage, authenticateUser, checkPermission, cleanup, destroy, formatAdminResource, getAdminResource, getUsernameFromSession, setAuthorizationProvider, setResourceManager, setServletConfig |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IPAddressModerationAdminPlugin()
| Method Detail |
public java.lang.String getDisplayName()
getDisplayName in class WebAdminPluginpublic java.lang.String getInitialPage()
getInitialPage in class WebAdminPluginpublic void setFetcher(Fetcher fetcher)
Fetcher
fetcher - Fetcher
public void init()
throws PluginException
init in interface Plugininit in class BaseAdminPluginPluginException - If there is an error initializing the plugin
public Entry[] process(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
Blog blog,
java.util.Map context,
Entry[] entries)
throws PluginException
process in interface Pluginprocess in class WebAdminPluginhttpServletRequest - RequesthttpServletResponse - Responseblog - Blog instancecontext - Contextentries - Blog entries retrieved for the particular request
PluginException - If there is an error processing the blog entries
protected java.util.List loadIPList(Blog blog,
java.lang.String property)
blog - Blogproperty - Whitelist or Blacklist property
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||