public class GEvent extends Object
Modifier and Type | Field and Description |
---|---|
Event |
GoogleEvent!
The wrapped Google Event object.
|
Constructor and Description |
---|
GEvent()
Constructor for creating a brand new event.
|
GEvent(Event wrappedEvent!)
Constructor for wrapping an existing Google Event.
|
Modifier and Type | Method and Description |
---|---|
void |
addAttendee(GEventAttendee attendee!)
Add one participant to the list of people who are attending the
meeting.
|
BBjNumber |
getAnyoneCanAddSelf()
Indicates whether people can invite themselves to the event
regardless of ownership.
|
BBjVector |
getAttendees()
Get a list of participants in the meeting
|
BBjNumber |
getAttendeesOmitted()
Indicates whether attendees have been omitted from the event.
|
BBjString |
getColorId()
Gets the color id of the event.
|
com.google.api.client.util.DateTime |
getCreated()
Gets the creation time of the event.
|
Event.Creator |
getCreator()
Gets the creator of the event.
|
BBjString |
getDescription()
Gets the event's description.
|
Date |
getEnd()
Gets the ending time or date for an event
|
BBjNumber |
getEndTimeUnspecified()
Gets whether the end time for the event is unspecified.
|
BBjString |
getEtag()
ETag for the event.
|
Event.ExtendedProperties |
getExtendedProperties()
ExtendedProperties for the event.
|
Event.Gadget |
getGadget()
Gets the Gadget for the event.
|
BBjNumber |
getGuestsCanInviteOthers()
Gets whether participants can invite other participants to the event.
|
BBjNumber |
getGuestsCanModify()
Gets whether participants can modify the event.
|
BBjNumber |
getGuestsCanSeeOtherGuests()
Gets whether participants can see what other participants are invited to the meeting.
|
BBjString |
getHangoutLink()
Gets the hangout link associated with the meeting.
|
BBjString |
getHtmlLink()
Gets the HTML Link for the meeting
|
BBjString |
getICalUID()
Gets the iCalendar User ID for the meeting.
|
BBjString |
getId()
Gets the Google Event ID.
|
BBjString |
getKind()
Gets the Google resource kind.
|
BBjString |
getLocation()
Gets a string representing the event location
|
BBjNumber |
getLocked()
Whether this is a locked event copy where no changes can be made to
the main event fields "summary", "description", "location", "start",
"end" or "recurrence".
|
Event.Organizer |
getOrganizer()
The organizer of the event.
|
Date |
getOriginalStartTime()
For an instance of a recurring event, this is the time at which this
event would start according to the recurrence data in the recurring
event identified by recurringEventId.
|
BBjNumber |
getPrivateCopy()
Whether this is a private event copy where changes are not shared
with other copies on other calendars.
|
BBjVector |
getRecurrence()
Returns a vector of strings containing the iCalendar-format
rules for the event recurrence.
|
BBjString |
getRecurringEventId()
For an instance of a recurring event, this is the event ID of the
recurring event itself.
|
Event.Reminders |
getReminders()
Gets information about reminders such as email and popup
notifications.
|
BBjNumber |
getSequence()
iCalendar sequence number.
|
Event.Source |
getSource()
Source of an event from which it was created; for example a web page,
an email message or any document identifiable by an URL using
HTTP/HTTPS protocol.
|
Date |
getStart()
The event's start time.
|
BBjString |
getStatus()
Whether the event is occurring.
|
BBjString |
getSummary()
Get the title of the event.
|
BBjString |
getTransparency()
Indicates whether the event blocks time on the calendar.
|
com.google.api.client.util.DateTime |
getUpdated()
The time the event was last updated.
|
BBjString |
getVisibility()
Visibility of the event.
|
BBjNumber |
isAnyoneCanAddSelf()
Alias to getAnyoneCanAddSelf()
|
BBjNumber |
isAttendeesOmitted()
Alias to getAttendeesOmitted()
|
BBjNumber |
isEndTimeUnspecified()
Alias to getEndTimeUnspecified()
|
BBjNumber |
isGuestsCanInviteOthers()
Alias to getGuestsCanInviteOthers()
|
BBjNumber |
isGuestsCanModify()
Alias to getGuestsCanModify()
|
BBjNumber |
isGuestsCanSeeOtherGuests()
Alias to getGuestsCanSeeOtherGuests()
|
BBjNumber |
isLocked()
Alias to getLocked()
|
BBjNumber |
isPrivateCopy()
Alias to getPrivateCopy()
|
GEvent |
set(BBjString fieldName!,
Object value!)
Set specific Event properties
|
GEvent |
setAllDayEnd(BBjNumber year!,
BBjNumber month!,
BBjNumber day!)
Set event end time using 3 numbers to designate year, month, and day respectively.
|
GEvent |
setAllDayEnd(BBjNumber year!,
BBjNumber month!,
BBjNumber day!,
BBjString timeZone!)
Set event end time using 3 numbers to designate year, month, and day respectively.
|
GEvent |
setAllDayEnd(Date date!)
Set event end time using a java.util.Date
This method is used to specify the end time for an all-day event.
|
GEvent |
setAllDayEnd(Date date!,
BBjString timeZone!)
Set event end time using a java.util.Date
This method is used to specify the end time for an all-day event.
|
GEvent |
setAllDayStart(BBjNumber year!,
BBjNumber month!,
BBjNumber day!)
Set event start time using 3 numbers to designate year, month, and day respectively.
|
GEvent |
setAllDayStart(BBjNumber year!,
BBjNumber month!,
BBjNumber day!,
BBjString timeZone!)
Set event start time using 3 numbers to designate year, month, and day respectively.
|
GEvent |
setAllDayStart(Date date!)
Set event start time using a java.util.Date
This method is used to specify the start time for an all-day event.
|
GEvent |
setAnyoneCanAddSelf(BBjNumber anyoneCanAddSelf!)
Indicates whether people can invite themselves to the event
regardless of ownership.
|
GEvent |
setAttendees(BBjVector gattendees!)
Add a list of people who are going to attend a meeting.
|
GEvent |
setAttendeesOmitted(BBjNumber attendeesOmitted!)
Indicates whether attendees have been omitted from the event.
|
GEvent |
setColorId(BBjString colorId!)
Gets the color id of the event.
|
GEvent |
setCreated(com.google.api.client.util.DateTime created!)
Sets the creation time of the event.
|
GEvent |
setCreator(Event.Creator creator!)
Sets the creator of the event.
|
GEvent |
setDescription(BBjString description!)
Sets the event's description.
|
GEvent |
setEnd(BBjNumber year!,
BBjNumber month!,
BBjNumber day!)
Set event end time using 3 numbers to designate year, month, and day respectively.
|
GEvent |
setEnd(BBjNumber year!,
BBjNumber month!,
BBjNumber day!,
BBjNumber hour!,
BBjNumber minute!,
BBjNumber second!)
Set event end time using 6 numbers to designate year, month, day, hour, minute, and second respectively.
|
GEvent |
setEnd(BBjNumber year!,
BBjNumber month!,
BBjNumber day!,
BBjNumber hour!,
BBjNumber minute!,
BBjNumber second!,
BBjString timezone!)
Set event end time using 6 numbers to designate year, month, day, hour, minute, and second respectively.
|
GEvent |
setEnd(BBjNumber year!,
BBjNumber month!,
BBjNumber day!,
BBjString timeZone!)
Set event end time using 3 numbers to designate year, month, and day respectively.
|
GEvent |
setEnd(Date date!,
BBjString timezone!)
Set event end time using a java.util.Date
This method is used to specify the end time for a timed event.
|
GEvent |
setEnd(EventDateTime end!)
Set the end time for the event using an EventDateTime object
|
GEvent |
setEndTimeUnspecified(BBjNumber endTimeUnspecified!)
Sets whether the end time for the event is unspecified.
|
GEvent |
setEtag(BBjString etag!)
ETag for the event.
|
GEvent |
setExtendedProperties(Event.ExtendedProperties extendedProperties!)
ExtendedProperties for the event.
|
GEvent |
setGadget(Event.Gadget gadget!)
Sets the Gadget for the event.
|
GEvent |
setGuestsCanInviteOthers(BBjNumber guestsCanInviteOthers!)
Sets whether participants can invite other participants to the event.
|
GEvent |
setGuestsCanModify(BBjNumber guestsCanModify!)
Sets whether participants can modify the event.
|
GEvent |
setGuestsCanSeeOtherGuests(BBjNumber guestsCanSeeOtherGuests!)
Sets whether participants can see what other participants are invited to the meeting.
|
GEvent |
setHangoutLink(BBjString hangoutLink!)
Sets the hangout link associated with the meeting.
|
GEvent |
setHtmlLink(BBjString htmlLink!)
Gets the HTML Link for the meeting
|
GEvent |
setICalUID(BBjString iCalUID!)
Sets the iCalendar User ID for the meeting.
|
GEvent |
setId(BBjString id!)
Sets the Google Event ID.
|
GEvent |
setKind(BBjString kind!)
Sets the Google resource kind.
|
GEvent |
setLocation(BBjString location!)
Sets a string representing the event location
|
GEvent |
setLocked(BBjNumber locked!)
Whether this is a locked event copy where no changes can be made to
the main event fields "summary", "description", "location", "start",
"end" or "recurrence".
|
GEvent |
setOrganizer(Event.Organizer organizer!)
The organizer of the event.
|
GEvent |
setOriginalStartTime(BBjNumber year!,
BBjNumber month!,
BBjNumber day!,
BBjNumber hour!,
BBjNumber minute!,
BBjNumber second!)
For an instance of a recurring event, this is the time at which this
event would start according to the recurrence data in the recurring
event identified by recurringEventId.
|
GEvent |
setOriginalStartTime(EventDateTime originalStartTime!)
For an instance of a recurring event, this is the time at which this
event would start according to the recurrence data in the recurring
event identified by recurringEventId.
|
GEvent |
setPrivateCopy(BBjNumber privateCopy!)
Whether this is a private event copy where changes are not shared
with other copies on other calendars.
|
GEvent |
setRecurrence(BBjVector recurrence!)
Makes an event a recurring event.
|
GEvent |
setRecurringEventId(BBjString recurringEventId!)
For an instance of a recurring event, this is the event ID of the
recurring event itself.
|
GEvent |
setReminders(Event.Reminders reminders!)
Sets information about reminders such as email and popup
notifications.
|
GEvent |
setSequence(BBjNumber sequence!)
iCalendar sequence number.
|
GEvent |
setSource(Event.Source source!)
Source of an event from which it was created; for example a web page,
an email message or any document identifiable by an URL using
HTTP/HTTPS protocol.
|
GEvent |
setStart(BBjNumber year!,
BBjNumber month!,
BBjNumber day!)
Set event start time using 3 numbers to designate year, month, and day respectively.
|
GEvent |
setStart(BBjNumber year!,
BBjNumber month!,
BBjNumber day!,
BBjNumber hour!,
BBjNumber minute!,
BBjNumber second!)
Set event start time using 6 numbers to designate year, month, day, hour, minute, and second respectively.
|
GEvent |
setStart(BBjNumber year!,
BBjNumber month!,
BBjNumber day!,
BBjNumber hour!,
BBjNumber minute!,
BBjNumber second!,
BBjString timezone!)
Set event start time using 6 numbers to designate year, month, day, hour, minute, and second respectively.
|
GEvent |
setStart(BBjNumber year!,
BBjNumber month!,
BBjNumber day!,
BBjString timeZone!)
Set event start time using 3 numbers to designate year, month, and day respectively.
|
GEvent |
setStart(Date date!,
BBjString timezone!)
Set event start time using a java.util.Date
This method is used to specify the start time for a timed event.
|
GEvent |
setStart(EventDateTime start!)
Set the start time for the event using an EventDateTime object
|
GEvent |
setStatus(BBjString status!)
Whether the event is occurring.
|
GEvent |
setSummary(BBjString summary!)
Set the title of the event.
|
GEvent |
setTransparency(BBjString transparency!)
Indicates whether the event blocks time on the calendar.
|
GEvent |
setUpdated(com.google.api.client.util.DateTime updated!)
The time the event was last updated.
|
GEvent |
setVisibility(BBjString visibility!)
Visibility of the event.
|
public Event GoogleEvent!
public GEvent()
public GEvent(Event wrappedEvent!)
public BBjNumber getAnyoneCanAddSelf()
public BBjVector getAttendees()
public GEvent setAttendees(BBjVector gattendees!)
gattendees!
- A list of attendees who will be added to the list '
of meeting participants. Each element of the list should be of type
GEventAttendee. This list is cumulative with the already existing
list of participants. I.E., this method can not be used to remove
participants from the meeting.public void addAttendee(GEventAttendee attendee!)
gattendee!
- The participant to add.public BBjNumber getAttendeesOmitted()
public BBjString getColorId()
public com.google.api.client.util.DateTime getCreated()
public Event.Creator getCreator()
public BBjString getDescription()
public Date getEnd()
public BBjNumber getEndTimeUnspecified()
public BBjString getEtag()
http://en.wikipedia.org/wiki/HTTP_ETag
public Event.ExtendedProperties getExtendedProperties()
public Event.Gadget getGadget()
https://developers.google.com/google-apps/calendar/gadgets/event
public BBjNumber getGuestsCanInviteOthers()
public BBjNumber getGuestsCanModify()
public BBjNumber getGuestsCanSeeOtherGuests()
public BBjString getHangoutLink()
https://www.google.com/+/learnmore/hangouts/
public BBjString getHtmlLink()
public BBjString getICalUID()
http://en.wikipedia.org/wiki/ICalendar
public BBjString getId()
public BBjString getKind()
public BBjString getLocation()
public BBjNumber getLocked()
public Event.Organizer getOrganizer()
public Date getOriginalStartTime()
public BBjNumber getPrivateCopy()
public BBjVector getRecurrence()
public BBjString getRecurringEventId()
public Event.Reminders getReminders()
public BBjNumber getSequence()
http://en.wikipedia.org/wiki/ICalendar
public Event.Source getSource()
public Date getStart()
public BBjString getStatus()
public BBjString getSummary()
public BBjString getTransparency()
public com.google.api.client.util.DateTime getUpdated()
public BBjString getVisibility()
public BBjNumber isAnyoneCanAddSelf()
public BBjNumber isAttendeesOmitted()
public BBjNumber isEndTimeUnspecified()
public BBjNumber isGuestsCanInviteOthers()
public BBjNumber isGuestsCanModify()
public BBjNumber isGuestsCanSeeOtherGuests()
public BBjNumber isLocked()
public BBjNumber isPrivateCopy()
public GEvent set(BBjString fieldName!, Object value!)
fieldName!
- Field or Property of Google Event to set.public GEvent setAnyoneCanAddSelf(BBjNumber anyoneCanAddSelf!)
anyoneCanAddSelf!
- 0 or 1:public GEvent setAttendeesOmitted(BBjNumber attendeesOmitted!)
attendeesOmitted!
- 0 or 1: 0 means no attendees have been omitted. 1 means attendees have been omitted.public GEvent setColorId(BBjString colorId!)
colorId!
- Color id of the eventpublic GEvent setCreated(com.google.api.client.util.DateTime created!)
created!
- The time of creation.public GEvent setCreator(Event.Creator creator!)
creator!
- The creator of the event.public GEvent setDescription(BBjString description!)
description!
- String containing the text of the event's description.public GEvent setEnd(EventDateTime end!)
end!
- The end time of the event.public GEvent setEnd(BBjNumber year!, BBjNumber month!, BBjNumber day!, BBjNumber hour!, BBjNumber minute!, BBjNumber second!)
year!
- The year expressed in full form. 2014 not 14.month!
- 0-based month. 0 = January and 11 = December.day!
- Day of month.hour!
- Hour of day: 0-23minute!
- Minute of hour: 0-59second!
- Second of minute: 0-59public GEvent setEnd(BBjNumber year!, BBjNumber month!, BBjNumber day!, BBjNumber hour!, BBjNumber minute!, BBjNumber second!, BBjString timezone!)
year!
- The year expressed in full form. 2014 not 14.month!
- 0-based month. 0 = January and 11 = December.day!
- Day of month.hour!
- Hour of day: 0-23minute!
- Minute of hour: 0-59second!
- Second of minute: 0-59timezone!
- BBjString representing the timezone in Continent/City form: For example: Asia/Aqtauvalid timezone values, visit http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
public GEvent setEnd(BBjNumber year!, BBjNumber month!, BBjNumber day!)
year!
- The year expressed in full form. 2014 not 14.month!
- 0-based month. 0 = January and 11 = December.day!
- Day of month.public GEvent setEnd(BBjNumber year!, BBjNumber month!, BBjNumber day!, BBjString timeZone!)
year!
- The year expressed in full form. 2014 not 14.month!
- 0-based month. 0 = January and 11 = December.day!
- Day of month.timezone!
- BBjString representing the timezone in Continent/City form: For example: Asia/Aqtauvalid timezone values, visit http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
public GEvent setAllDayEnd(BBjNumber year!, BBjNumber month!, BBjNumber day!)
year!
- The year expressed in full form. 2014 not 14.month!
- 0-based month. 0 = January and 11 = December.day!
- Day of month.public GEvent setAllDayEnd(BBjNumber year!, BBjNumber month!, BBjNumber day!, BBjString timeZone!)
year!
- The year expressed in full form. 2014 not 14.month!
- 0-based month. 0 = January and 11 = December.day!
- Day of month.timezone!
- BBjString representing the timezone in Continent/City form: For example: Asia/Aqtauvalid timezone values, visit http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
public GEvent setEnd(Date date!, BBjString timezone!)
date!
- The date and time for the end of the event.timezone!
- BBjString representing the timezone in the form of "Continent/City". Example: "Africa/Djibouti"valid timezone values, consult http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
public GEvent setAllDayEnd(Date date!)
date!
- The date for the end of the event.public GEvent setAllDayEnd(Date date!, BBjString timeZone!)
date!
- The date for the end of the event.public GEvent setEndTimeUnspecified(BBjNumber endTimeUnspecified!)
endTimeUnspecified!
- 0 or 1: 0 means end time is specified. 1 means end time is not specified.public GEvent setEtag(BBjString etag!)
etag!
- The ETag for the event.http://en.wikipedia.org/wiki/HTTP_ETag
public GEvent setExtendedProperties(Event.ExtendedProperties extendedProperties!)
extendedProperties!
- The extended properties for the event.public GEvent setGadget(Event.Gadget gadget!)
gadget!
- The gadget object for the event.https://developers.google.com/google-apps/calendar/gadgets/event
public GEvent setGuestsCanInviteOthers(BBjNumber guestsCanInviteOthers!)
public GEvent setGuestsCanModify(BBjNumber guestsCanModify!)
guestsCanModify!
- 0 or 1: 0 means participants can not modify the event. 1 means participants can modify the event.public GEvent setGuestsCanSeeOtherGuests(BBjNumber guestsCanSeeOtherGuests!)
guestsCanSeeOtherGuests!
- 0 or 1: 0 means participants can not see who else is invited to the event. 1 means participants can see who is invited to the event.public GEvent setHangoutLink(BBjString hangoutLink!)
hangoutLink!
- String containing hangout link for the meeting or null() if the meeting does not have a hangout link.https://www.google.com/+/learnmore/hangouts/
public GEvent setHtmlLink(BBjString htmlLink!)
htmlLink!
- String containing HTML link for the event!public GEvent setICalUID(BBjString iCalUID!)
iCalUID!
- String representing the iCalendar User IDhttp://en.wikipedia.org/wiki/ICalendar
public GEvent setId(BBjString id!)
id!
- String representing the Google Event ID.public GEvent setKind(BBjString kind!)
public GEvent setLocation(BBjString location!)
location!
- String representing the event location.public GEvent setLocked(BBjNumber locked!)
locked!
- 0 or 1: 0 means event is not locked.public GEvent setOrganizer(Event.Organizer organizer!)
organizer!
- The event organizer as an Event.Organizer object.public GEvent setOriginalStartTime(EventDateTime originalStartTime!)
originalStartTime!
- The original start time of the event as an EventDateTimepublic GEvent setOriginalStartTime(BBjNumber year!, BBjNumber month!, BBjNumber day!, BBjNumber hour!, BBjNumber minute!, BBjNumber second!)
year!
- The year expressed in full form. 2014 not 14.month!
- 0-based month. 0 = January and 11 = December.day!
- Day of month.hour!
- Hour of day: 0-23minute!
- Minute of hour: 0-59second!
- Second of minute: 0-59public GEvent setPrivateCopy(BBjNumber privateCopy!)
privateCopy!
- 0 or 1: 0 means event is not a private copy. 1 means the event is a private copy.public GEvent setRecurrence(BBjVector recurrence!)
recurrence!
- A BBjVector contain BBjStrings that describe rules for the recurring event.public GEvent setRecurringEventId(BBjString recurringEventId!)
recurringEventId!
- String representing the recurring event ID.public GEvent setReminders(Event.Reminders reminders!)
reminders!
- Reminders information as a Event.Reminders object.
return The resultant GEvent object.public GEvent setSequence(BBjNumber sequence!)
sequence!
- BBjNumber representing the iCalendar sequence number.http://en.wikipedia.org/wiki/ICalendar
public GEvent setSource(Event.Source source!)
source!
- Information about the event source in the form of an
Event.Source object.public GEvent setStart(EventDateTime start!)
start!
- The end time of the event.public GEvent setStart(BBjNumber year!, BBjNumber month!, BBjNumber day!, BBjNumber hour!, BBjNumber minute!, BBjNumber second!)
year!
- The year expressed in full form. 2014 not 14.month!
- 0-based month. 0 = January and 11 = December.day!
- Day of month.hour!
- Hour of day: 0-23minute!
- Minute of hour: 0-59second!
- Second of minute: 0-59public GEvent setStart(BBjNumber year!, BBjNumber month!, BBjNumber day!, BBjNumber hour!, BBjNumber minute!, BBjNumber second!, BBjString timezone!)
year!
- The year expressed in full form. 2014 not 14.month!
- 0-based month. 0 = January and 11 = December.day!
- Day of month.hour!
- Hour of day: 0-23minute!
- Minute of hour: 0-59second!
- Second of minute: 0-59timezone!
- BBjString representing the timezone in Continent/City form: For example: Asia/Aqtaupublic GEvent setStart(BBjNumber year!, BBjNumber month!, BBjNumber day!)
year!
- The year expressed in full form. 2014 not 14.month!
- 0-based month. 0 = January and 11 = December.day!
- Day of month.public GEvent setStart(BBjNumber year!, BBjNumber month!, BBjNumber day!, BBjString timeZone!)
year!
- The year expressed in full form. 2014 not 14.month!
- 0-based month. 0 = January and 11 = December.day!
- Day of month.timezone!
- BBjString representing the timezone in Continent/City form: For example: Asia/Aqtaupublic GEvent setAllDayStart(BBjNumber year!, BBjNumber month!, BBjNumber day!)
year!
- The year expressed in full form. 2014 not 14.month!
- 0-based month. 0 = January and 11 = December.day!
- Day of month.public GEvent setAllDayStart(BBjNumber year!, BBjNumber month!, BBjNumber day!, BBjString timeZone!)
year!
- The year expressed in full form. 2014 not 14.month!
- 0-based month. 0 = January and 11 = December.day!
- Day of month.timezone!
- BBjString representing the timezone in Continent/City form: For example: Asia/Aqtaupublic GEvent setStart(Date date!, BBjString timezone!)
date!
- The date and time for the start of the event.timezone!
- A BBjString representing the timezone in the form of Continent/City: For example: "Europe/Zurich"http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
public GEvent setAllDayStart(Date date!)
date!
- The date for the start of the event.public GEvent setStatus(BBjString status!)
status!
- One of the three possible values as a String.public GEvent setSummary(BBjString summary!)
summary!
- String containing the title of the event.public GEvent setTransparency(BBjString transparency!)
transparency!
- String containing either "opaque" or "transparent".public GEvent setUpdated(com.google.api.client.util.DateTime updated!)
updated!
- The time the event was last updated as a DateTime object.public GEvent setVisibility(BBjString visibility!)
visibility!
- String consisting of one of the 4 values.