|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.blojsom.plugin.helper.PluginHelperPlugin.PluginHelper
Plugin helper defines methods to execute plugins by name or by flavor
Constructor Summary | |
PluginHelperPlugin.PluginHelper(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.util.Map context,
BlogUser blog)
Create a new plugin helper instance |
Method Summary | |
protected void |
process(BlogEntry[] entries,
java.lang.String plugin,
java.lang.String flavor)
Executes the plugin(s) on the entries |
void |
processEntriesForFlavor(BlogEntry[] entries,
java.lang.String flavor)
Process a set of entries for the plugins in the plugin chain for the specified flavor |
void |
processEntriesForPlugin(BlogEntry[] entries,
java.lang.String plugin)
Process a set of entries for a named plugin |
void |
processEntryForFlavor(BlogEntry blogEntry,
java.lang.String flavor)
Process a single entry for the plugins in the plugin chain for the specified flavor |
void |
processEntryForPlugin(BlogEntry blogEntry,
java.lang.String plugin)
Process a single entry for a named plugin |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PluginHelperPlugin.PluginHelper(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.util.Map context, BlogUser blog)
request
- HttpServletRequest
response
- HttpServletResponse
context
- Context informationblog
- BlogUser
informationMethod Detail |
public void processEntryForPlugin(BlogEntry blogEntry, java.lang.String plugin)
blogEntry
- BlogEntry
plugin
- Name of pluginpublic void processEntryForFlavor(BlogEntry blogEntry, java.lang.String flavor)
blogEntry
- BlogEntry
flavor
- Flavorpublic void processEntriesForPlugin(BlogEntry[] entries, java.lang.String plugin)
entries
- Array of BlogEntry
plugin
- Name of plguinpublic void processEntriesForFlavor(BlogEntry[] entries, java.lang.String flavor)
entries
- Array of BlogEntry
flavor
- Flavorprotected void process(BlogEntry[] entries, java.lang.String plugin, java.lang.String flavor)
entries
- Array of BlogEntry
plugin
- Plugin name, null
if using flavorflavor
- Flavor name, null
if using specific plugin name
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |