org.blojsom.plugin.calendar
Class CalendarFilterPlugin

java.lang.Object
  extended byorg.blojsom.plugin.calendar.AbstractCalendarPlugin
      extended byorg.blojsom.plugin.calendar.CalendarFilterPlugin
All Implemented Interfaces:
BlojsomPlugin

public class CalendarFilterPlugin
extends AbstractCalendarPlugin

CalendarFilterPlugin filters entries based on the calendar navigation parameters in the URL

Version:
$Id: CalendarFilterPlugin.java,v 1.5 2006/01/04 16:53:00 czarneckid Exp $
Author:
Mark Lussier

Field Summary
 
Fields inherited from class org.blojsom.plugin.calendar.AbstractCalendarPlugin
BLOJSOM_CALENDAR, BLOJSOM_CALENDAR_FORMAT, BLOJSOM_CALENDAR_LOCALE, BLOJSOM_CALENDAR_SHORTFORMAT, BLOJSOM_CALENDAR_VTLHELPER, DAY_PARAM, MONTH_PARAM, YEAR_PARAM
 
Constructor Summary
CalendarFilterPlugin()
           
 
Method Summary
 BlogEntry[] process(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, BlogUser user, java.util.Map context, BlogEntry[] entries)
          Process the blog entries
 
Methods inherited from class org.blojsom.plugin.calendar.AbstractCalendarPlugin
cleanup, destroy, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarFilterPlugin

public CalendarFilterPlugin()
Method Detail

process

public BlogEntry[] process(javax.servlet.http.HttpServletRequest httpServletRequest,
                           javax.servlet.http.HttpServletResponse httpServletResponse,
                           BlogUser user,
                           java.util.Map context,
                           BlogEntry[] entries)
                    throws BlojsomPluginException
Process the blog entries

Specified by:
process in interface BlojsomPlugin
Overrides:
process in class AbstractCalendarPlugin
Parameters:
httpServletRequest - Request
httpServletResponse - Response
user - BlogUser instance
context - Context
entries - Blog entries retrieved for the particular request
Returns:
Modified set of blog entries
Throws:
BlojsomPluginException - If there is an error processing the blog entries