com.trackstudio.app.google.calendar
Class CalendarUtil

java.lang.Object
  extended by com.trackstudio.app.google.calendar.CalendarUtil

public class CalendarUtil
extends java.lang.Object


Constructor Summary
CalendarUtil(java.lang.String email, java.lang.String password)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarUtil

public CalendarUtil(java.lang.String email,
                    java.lang.String password)
             throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getInstance

public static CalendarUtil getInstance()
                                throws GranException
Throws:
GranException

createEvent

public void createEvent(SecuredTaskBean task)
                 throws GranException
Throws:
GranException

getFeedURL

public java.net.URL getFeedURL(SecuredTaskBean task)
                        throws java.io.IOException,
                               com.google.gdata.util.ServiceException,
                               GranException
Throws:
java.io.IOException
com.google.gdata.util.ServiceException
GranException

seachCalendarId

public java.lang.String seachCalendarId(com.google.gdata.client.calendar.CalendarService service,
                                        java.lang.String calendarName)
                                 throws java.io.IOException,
                                        com.google.gdata.util.ServiceException
Throws:
java.io.IOException
com.google.gdata.util.ServiceException

updateEvent

public void updateEvent(SecuredTaskBean task)
                 throws GranException
Throws:
GranException

getAvailableCalendars

public java.util.List<KeyValue> getAvailableCalendars()
                                               throws java.io.IOException,
                                                      com.google.gdata.util.ServiceException
Throws:
java.io.IOException
com.google.gdata.util.ServiceException


Copyright © 2002-2009 TrackStudio, Ltd. All Rights Reserved.