public class KMEEventsImpl extends Object implements EventsDao, org.springframework.context.ApplicationContextAware
| Constructor and Description |
|---|
KMEEventsImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEvent(String startTime,
String endTime,
String eventTitle,
String eventBody,
String eventDateString,
String user,
String timeZoneId)
The addEvent method adds an event into the Calendar.
|
void |
deleteEvent(int eventId)
deleteEvent method removes one existing event from calendar
|
org.springframework.context.ApplicationContext |
getApplicationContext() |
void |
getCALDAVEvents() |
List |
getEvents(String startDate,
String endDate)
By default the getEventsData method returns list of events into the
Calendar for the current week.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
String |
synchronizeWithGoogleAccount(String emailId,
String password) |
void |
updateEvent(int eventId,
String startTime,
String endTime,
String eventTitle,
String eventBody,
String eventDateString,
String user)
The updateEvent method modifies the existing event.
|
public KMEEventsImpl()
public void addEvent(String startTime, String endTime, String eventTitle, String eventBody, String eventDateString, String user, String timeZoneId)
startTime - start time for calendar's eventendTime - end time for calendar's eventeventTitle - title for the calendar's eventeventBody - brief description about calendar's eventeventDateString - actual date of eventuser - username of the calendar's userpublic List getEvents(String startDate, String endDate)
startDate - start date of calendar's current weekendDate - end date of calendar's current weekpublic void updateEvent(int eventId, String startTime, String endTime, String eventTitle, String eventBody, String eventDateString, String user)
eventId - unique id for eventstartTime - start time for calendar's eventendTime - end time for calendar's eventeventTitle - title for the calendar's eventeventBody - brief description about calendar's eventeventDateString - actual date for eventpublic void deleteEvent(int eventId)
eventId - unique id of eventpublic void getCALDAVEvents()
public String synchronizeWithGoogleAccount(String emailId, String password)
public org.springframework.context.ApplicationContext getApplicationContext()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext in interface org.springframework.context.ApplicationContextAwareapplicationContext - the applicationContext to setCopyright © 2011-2013 The Kuali Foundation. All Rights Reserved.