|
|||||||||||
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.SpamPhraseModerationAdminPlugin
Spam phrase moderation administration plugin
Field Summary |
Constructor Summary | |
SpamPhraseModerationAdminPlugin()
Create a new instance of the spam phrase 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 |
loadSpamPhrases(Blog blog)
Load the list of spam phrases from the blog |
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 SpamPhraseModerationAdminPlugin()
Method Detail |
public java.lang.String getDisplayName()
getDisplayName
in class WebAdminPlugin
public java.lang.String getInitialPage()
getInitialPage
in class WebAdminPlugin
public void setFetcher(Fetcher fetcher)
Fetcher
fetcher
- Fetcher
public void init() throws PluginException
init
in interface Plugin
init
in class BaseAdminPlugin
PluginException
- If there is an error initializing the pluginpublic 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 Plugin
process
in class WebAdminPlugin
httpServletRequest
- RequesthttpServletResponse
- Responseblog
- Blog
instancecontext
- Contextentries
- Blog entries retrieved for the particular request
PluginException
- If there is an error processing the blog entriesprotected java.util.List loadSpamPhrases(Blog blog)
blog
- blog
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |