com.quadrique.jbuildingblocks.core.google.calendar
Class JbbGCalendarUser

java.lang.Object
  extended by com.quadrique.jbuildingblocks.core.google.calendar.JbbGCalendarUser

public class JbbGCalendarUser
extends Object


Constructor Summary
JbbGCalendarUser(String authSubToken)
           
JbbGCalendarUser(String userName, String userPassword)
           
 
Method Summary
 com.google.gdata.client.calendar.CalendarService getCalendarService()
           
 URL getFeedCalendarAll()
           
 URL getFeedCalendarOwned()
           
 URL getFeedCalendarPrimary()
           
 URL getFeedEvents()
           
static boolean validateCredentials(String userId, String password)
          See if the userId and password give access to GMail
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JbbGCalendarUser

public JbbGCalendarUser(String userName,
                        String userPassword)
                 throws JbbException
Throws:
JbbException

JbbGCalendarUser

public JbbGCalendarUser(String authSubToken)
                 throws JbbException
Throws:
JbbException
Method Detail

validateCredentials

public static boolean validateCredentials(String userId,
                                          String password)
See if the userId and password give access to GMail

Parameters:
userId -
password -
Returns:

getCalendarService

public com.google.gdata.client.calendar.CalendarService getCalendarService()
Returns:
an authenticated CalendarService instance for that user

getFeedCalendarAll

public URL getFeedCalendarAll()

getFeedCalendarOwned

public URL getFeedCalendarOwned()

getFeedCalendarPrimary

public URL getFeedCalendarPrimary()

getFeedEvents

public URL getFeedEvents()


Copyright © 2001-2008 Quadrique Corporation. All Rights Reserved.