public class CalendarUtil
extends java.lang.Object
| Constructor and Description |
|---|
CalendarUtil(java.lang.String email,
java.lang.String password) |
| Modifier and Type | Method and Description |
|---|---|
void |
createEvent(SecuredTaskBean task) |
java.util.List<KeyValue> |
getAvailableCalendars() |
java.net.URL |
getFeedURL(SecuredTaskBean task) |
static CalendarUtil |
getInstance() |
java.lang.String |
seachCalendarId(com.google.gdata.client.calendar.CalendarService service,
java.lang.String calendarName) |
void |
updateEvent(SecuredTaskBean task) |
void |
updateEvent(SessionContext sc,
java.lang.String taskId) |
public CalendarUtil(java.lang.String email,
java.lang.String password)
throws java.lang.Exception
java.lang.Exceptionpublic static CalendarUtil getInstance() throws GranException
GranExceptionpublic void createEvent(SecuredTaskBean task) throws GranException
GranExceptionpublic java.net.URL getFeedURL(SecuredTaskBean task) throws java.io.IOException, com.google.gdata.util.ServiceException, GranException
java.io.IOExceptioncom.google.gdata.util.ServiceExceptionGranExceptionpublic java.lang.String seachCalendarId(com.google.gdata.client.calendar.CalendarService service,
java.lang.String calendarName)
throws java.io.IOException,
com.google.gdata.util.ServiceException
java.io.IOExceptioncom.google.gdata.util.ServiceExceptionpublic void updateEvent(SecuredTaskBean task) throws GranException
GranExceptionpublic void updateEvent(SessionContext sc, java.lang.String taskId) throws GranException
GranExceptionpublic java.util.List<KeyValue> getAvailableCalendars() throws java.io.IOException, com.google.gdata.util.ServiceException
java.io.IOExceptioncom.google.gdata.util.ServiceExceptionCopyright © 2002-2011 TrackStudio, Ltd. All Rights Reserved.