|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.blojsom.plugin.admin.BaseAdminPlugin org.blojsom.plugin.admin.WebAdminPlugin org.blojsom.plugin.widget.admin.WidgetAdministrationPlugin
WidgetAdministrationPlugin
Field Summary |
Constructor Summary | |
WidgetAdministrationPlugin()
Create a new instance of the Widget 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 |
handleEvent(Event event)
Handle an event broadcast from another component |
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 |
processEvent(Event event)
Process an event from another component |
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 WidgetAdministrationPlugin()
Method Detail |
public void setFetcher(Fetcher fetcher)
Fetcher
fetcher
- Fetcher
public void setEventBroadcaster(EventBroadcaster eventBroadcaster)
EventBroadcaster
eventBroadcaster
- EventBroadcaster
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 entriespublic java.lang.String getDisplayName()
getDisplayName
in class WebAdminPlugin
public java.lang.String getInitialPage()
getInitialPage
in class WebAdminPlugin
public void handleEvent(Event event)
handleEvent
in interface Listener
event
- Event
to be handledpublic void processEvent(Event event)
processEvent
in interface Listener
event
- Event
to be handled
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |