public class GCalendarAPI extends Object
Modifier and Type | Field and Description |
---|---|
Calendar |
CalendarAPI!
The Java Google Calendar API Object for direct access to the
API.
|
static BBjString |
ReadOnlyScope!
Scope for read-only access to user's calendar.
|
static BBjString |
ReadWriteScope!
Scope for read-write access to user's calendar.
|
Constructor and Description |
---|
GCalendarAPI(BBjString oauthToken!)
This constructor for the Google Calendar API takes a GOAuth2
object.
|
Modifier and Type | Method and Description |
---|---|
void |
addACL(GACL acl!) |
void |
addCalendar(GCalendar calendar!) |
void |
deleteACL(BBjString aclId!) |
void |
deleteCalendar(BBjString calendarId!)
Delete Calendar.
|
GACL |
getACL(String aclId!) |
BBjVector |
getACLs() |
GCalendar |
getCalendar(BBjString calendarId!) |
List |
getCalendars() |
GCalendar |
getPrimaryCalendar()
Get the primary calendar.
|
void |
updateACL(GACL acl!) |
void |
updateCalendar(GCalendar calendar!)
Update Calendar.
|
public static BBjString ReadWriteScope!
public static BBjString ReadOnlyScope!
public Calendar CalendarAPI!
public GCalendarAPI(BBjString oauthToken!)
public void addACL(GACL acl!)
public BBjVector getACLs()
public void updateACL(GACL acl!)
public void deleteACL(BBjString aclId!)
public void addCalendar(GCalendar calendar!)
public GCalendar getCalendar(BBjString calendarId!)
public List getCalendars()
public void updateCalendar(GCalendar calendar!)
calendar!
- Modified GCalendar to replace the corresponding
GCalendar with.public void deleteCalendar(BBjString calendarId!)
calendarId!
- ID of GCalendar to delete.public GCalendar getPrimaryCalendar()