fr.paris.lutece.plugins.calendar.web
Class WeekCalendarView

java.lang.Object
  extended by fr.paris.lutece.plugins.calendar.web.WeekCalendarView
All Implemented Interfaces:
CalendarView

public class WeekCalendarView
extends java.lang.Object
implements CalendarView

This class provides a calendar view by Month.


Field Summary
 
Fields inherited from interface fr.paris.lutece.plugins.calendar.web.CalendarView
TYPE_DAY, TYPE_MONTH, TYPE_WEEK
 
Constructor Summary
WeekCalendarView()
           
 
Method Summary
 java.lang.String getCalendarView(java.lang.String strDate, MultiAgenda agenda, CalendarUserOptions options)
          Returns the HTML view of the Month corresponding to the given date and displaying events of a given agenda
 java.lang.String getNext(java.lang.String strDate)
          Returns the next code date corresponding to the current view and the current date
 java.lang.String getPath(java.lang.String strDate, CalendarUserOptions options)
          Returns the view path
 java.lang.String getPrevious(java.lang.String strDate)
          Returns the previous code date corresponding to the current view and the current date
 java.lang.String getTitle(java.lang.String strDate, CalendarUserOptions options)
          Returns the view title
 int getType()
          Returns the view type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeekCalendarView

public WeekCalendarView()
Method Detail

getCalendarView

public java.lang.String getCalendarView(java.lang.String strDate,
                                        MultiAgenda agenda,
                                        CalendarUserOptions options)
Returns the HTML view of the Month corresponding to the given date and displaying events of a given agenda

Specified by:
getCalendarView in interface CalendarView
Parameters:
options - The options storing the display settings
strDate - The date code
agenda - An agenda
Returns:
The view in HTML

getNext

public java.lang.String getNext(java.lang.String strDate)
Returns the next code date corresponding to the current view and the current date

Specified by:
getNext in interface CalendarView
Parameters:
strDate - The current date code
Returns:
The next code date

getPrevious

public java.lang.String getPrevious(java.lang.String strDate)
Returns the previous code date corresponding to the current view and the current date

Specified by:
getPrevious in interface CalendarView
Parameters:
strDate - The current date code
Returns:
The previous code date

getTitle

public java.lang.String getTitle(java.lang.String strDate,
                                 CalendarUserOptions options)
Returns the view title

Specified by:
getTitle in interface CalendarView
Parameters:
options - The options storing the display settings
strDate - The current date code
Returns:
The view title

getPath

public java.lang.String getPath(java.lang.String strDate,
                                CalendarUserOptions options)
Returns the view path

Specified by:
getPath in interface CalendarView
Parameters:
options - The options storing the display settings
strDate - The current date code
Returns:
The view path

getType

public int getType()
Returns the view type

Specified by:
getType in interface CalendarView
Returns:
The view type


Copyright © 2008 Mairie de Paris. All Rights Reserved.