|
|||||||||||
| 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.admin.ThemeSwitcherPlugin
ThemeSwitcherPlugin
| Field Summary |
| Constructor Summary | |
ThemeSwitcherPlugin()
Default constructor |
|
| Method Summary | |
protected java.lang.String[] |
getAvailableThemes()
Retrieve the list of directories (theme names) from the themes installation directory |
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. |
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 |
setBlojsomProperties(java.util.Properties blojsomProperties)
Set the default blojsom properties |
void |
setEventBroadcaster(EventBroadcaster eventBroadcaster)
Set the EventBroadcaster |
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 ThemeSwitcherPlugin()
| Method Detail |
public void setEventBroadcaster(EventBroadcaster eventBroadcaster)
EventBroadcaster
eventBroadcaster - EventBroadcasterpublic void setFetcher(Fetcher fetcher)
Fetcher
fetcher - Fetcherpublic void setBlojsomProperties(java.util.Properties blojsomProperties)
blojsomProperties - Default blojsom properties
public void init()
throws PluginException
init in interface Plugininit in class BaseAdminPluginPluginException - If there is an error initializing the pluginpublic java.lang.String getDisplayName()
getDisplayName in class WebAdminPluginpublic java.lang.String getInitialPage()
getInitialPage in class WebAdminPluginprotected java.lang.String[] getAvailableThemes()
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
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||