|
void
|
batchDeleteCalendar(Collection<Calendar> calendars)
Deletes many events in a batch
|
|
void
|
batchDeleteEvent(String calendarId, Collection<Event> calendarEvents)
Deletes many events in a batch
|
|
BatchResponse<Calendar>
|
batchInsertCalendar(Collection<Calendar> calendars)
Inserts many calendars in a batch
|
|
BatchResponse<Event>
|
batchInsertEvent(String calendarId, Collection<Event> calendarEvents)
Inserts many events as a batch
|
|
BatchResponse<Calendar>
|
batchUpdateCalendar(Collection<Calendar> calendars)
Updates many calendars in a batch
|
|
BatchResponse<Event>
|
batchUpdateEvent(String calendarId, Collection<Event> calendarEvents)
Updates many events in a batch
|
|
void
|
clearCalendar(String id)
Clears all the events on the calendar referenced by id
|
|
Calendar
|
createCalendar(Calendar calendar)
Inserts a new calendar associated with the user that owns the current OAuth token
|
|
void
|
deleteAclRule(String calendarId, String ruleId)
Deletes an ACL rule on a calendar
|
|
void
|
deleteCalendar(String id)
Deletes a particular calendar referenced by id
|
|
void
|
deleteCalendarList(String id)
Deletes a calendar list referenced by id
|
|
void
|
deleteEvent(String calendarId, String eventId)
Deletes an event from a specified calendar
|
|
String
|
getAccessToken()
|
|
String
|
getAccessTokenId()
|
|
AclRule
|
getAclRuleById(String calendarId, String ruleId)
Retrieves a Rule by Id
|
|
List<AclRule>
|
getAllAclRules(String calendarId)
Returns all the Acl rules for a particular calendar
|
|
String
|
getApplicationName()
|
|
Calendar
|
getCalendarById(String id)
Returns a particular calendar specified by id
|
|
List<CalendarList>
|
getCalendarList(MuleMessage message, int maxResults, String pageToken, boolean showHidden)
Returns an instance of CalendarList listing the
calendars of the user that owns the OAuth access token.
|
|
CalendarList
|
getCalendarListById(String id)
Returns a particular calendar list identified by id.
|
|
GoogleCalendarClientFactory
|
getClientFactory()
|
|
String
|
getConsumerKey()
|
|
String
|
getConsumerSecret()
|
|
Event
|
getEventById(String calendarId, String eventId)
Retrieves an event by id
|
|
List<Event>
|
getEvents(MuleMessage message, String calendarId, String icalUID, Integer maxAttendees, Integer maxResults, String orderBy, String pageToken, String query, boolean showDeleted, boolean showHiddenInvitations, boolean singleEvents, String timeMin, String timeMax, String datetimeFormat, String timezone, String lastUpdated)
Searchs and returns events matching the criteria parameters.
|
|
FreeBusy
|
getFreeTime(String timeMin, String timeMax, List<String> ids, String timezone, String datetimeFormat, Integer maxCalendarExpansion)
Returns the free time the authenticated user has between two times
|
|
IdentifierPolicy
|
getIdentifierPolicy()
|
|
List<Event>
|
getInstances(MuleMessage message, String calendarId, String eventId, Integer maxAttendess, Integer maxResults, boolean showDeleted, String timezone, String originalStart)
For recurring events, it returns one instance of
Event for each recurrence instance
For supporting google's paging mechanism, the next page token is store on the message property
"GoogleCalendar_NEXT_PAGE_TOKEN".
|
|
String
|
getScope()
|
|
Event
|
importEvent(String calendarId, Event calendarEvent)
Imports the given event into a calendar
|
|
void
|
init()
Initializes the connector.
|
|
AclRule
|
insertAclRule(String calendarId, String scope, ScopeType scopeType, ScopeRole role)
Inserts a new ACL rule in a calendar
|
|
Event
|
insertEvent(String calendarId, Event calendarEvent)
Inserts the given event into an specified calendar
|
|
Event
|
moveEvent(String sourceCalendarId, String eventId, String targetCalendarId)
Moves a calendar form one calendar to another
|
|
void
|
postAuth()
|
|
Event
|
quickAddEvent(String calendarId, String text)
Shortcut method for creating an event with nothing but a description text.
|
|
void
|
setAccessToken(String accessToken)
|
|
void
|
setApplicationName(String applicationName)
|
|
void
|
setClientFactory(GoogleCalendarClientFactory clientFactory)
|
|
void
|
setConsumerKey(String consumerKey)
|
|
void
|
setConsumerSecret(String consumerSecret)
|
|
void
|
setIdentifierPolicy(IdentifierPolicy identifierPolicy)
|
|
void
|
setScope(String scope)
|
|
AclRule
|
updateAclRule(String calendarId, String ruleId, AclRule aclRule)
Updates a rule on a given calendar
|
|
Calendar
|
updateCalendar(String id, Calendar calendar)
Updates a calendar referenced by id with the content of one specified or taken from the message payload.
|
|
CalendarList
|
updateCalendarList(String id, CalendarList calendarList)
Updates a calendar list referenced by id with the content of one specified or taken from the message payload.
|
|
Event
|
updateEvent(String calendarId, String eventId, Event calendarEvent)
Updates an event.
|