org.sakaiproject.tool.calendar
Class CalendarActionState.LocalEvent

java.lang.Object
  extended byorg.sakaiproject.tool.calendar.CalendarActionState.LocalEvent
Enclosing class:
CalendarActionState

public class CalendarActionState.LocalEvent
extends Object

Used in the MyCalendar action and associated Velocity templates to store a single calendar event in an arbitrary calendar, not necessary the current primary calendar.


Constructor Summary
CalendarActionState.LocalEvent()
          Default constructor
 
Method Summary
 String getAddfieldValue(String fieldname)
          Gets the value for one of the additional attribute fields.
 String getAm()
           
 int getDay()
           
 String getDescription()
           
 int getDurationHour()
           
 int getDurationMinute()
           
 int getHour()
           
 String getIntentionStr()
           
 String getLocation()
           
 int getMinute()
           
 int getMonth()
           
 String getTitle()
           
 String getType()
           
 String getYear()
           
 int getYearInt()
           
 void setData(String calendarReference, String title, String description, int month, int day, String year, int hour, int minute, int dhour, int dminute, String type, String am, String location, Map fieldsMap, String intentionStr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarActionState.LocalEvent

public CalendarActionState.LocalEvent()
Default constructor

Method Detail

setData

public void setData(String calendarReference,
                    String title,
                    String description,
                    int month,
                    int day,
                    String year,
                    int hour,
                    int minute,
                    int dhour,
                    int dminute,
                    String type,
                    String am,
                    String location,
                    Map fieldsMap,
                    String intentionStr)
Parameters:
fieldsMap - Map of additional properties

getTitle

public String getTitle()

getDescription

public String getDescription()

getMonth

public int getMonth()

getDay

public int getDay()

getYear

public String getYear()

getYearInt

public int getYearInt()

getHour

public int getHour()

getMinute

public int getMinute()

getDurationHour

public int getDurationHour()

getDurationMinute

public int getDurationMinute()

getType

public String getType()

getAm

public String getAm()

getLocation

public String getLocation()

getAddfieldValue

public String getAddfieldValue(String fieldname)
Gets the value for one of the additional attribute fields.


getIntentionStr

public String getIntentionStr()