| java.lang.Object org.blojsom.plugin.limiter.PreviewPlugin
PreviewPlugin | public class PreviewPlugin implements Plugin(Code) | | Hide preview entries from normal display.
Preview entires have the word PREVIEW (by default) at the start of the title.
To see the preview items along with normal entries add the parameter
preview="true"
author: Nick Chalko author: David Czarnecki version: $Id: PreviewPlugin.java,v 1.2 2007/01/17 02:35:10 czarneckid Exp $ since: blojsom 3.0 |
PreviewPlugin | public PreviewPlugin()(Code) | | Default constructor
|
destroy | public void destroy() throws PluginException(Code) | | Called when BlojsomServlet is taken out of service
throws: PluginException - If there is an error in finalizing this plugin |
process | public Entry[] process(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Blog blog, Map context, Entry[] entries) throws PluginException(Code) | | Process the blog entries
Parameters: httpServletRequest - Request Parameters: httpServletResponse - Response Parameters: blog - Blog instance Parameters: context - Context Parameters: entries - Blog entries retrieved for the particular request Modified set of blog entries throws: PluginException - If there is an error processing the blog entries |
|
|