| java.lang.Object | |||
| ↳ | com.google.gdata.data.AbstractExtension | ||
| ↳ | com.google.gdata.data.ExtensionPoint | ||
| ↳ | com.google.gdata.data.extensions.Reminder | ||
GData schema extension describing a reminder on an event. You can represent a set of reminders where each has a (1) reminder period and (2) notification method. The method can be either "sms", "email", "alert", "none", "all".
The meaning of this set of reminders differs based on whether you are reading or writing feeds. When reading, the set of reminders returned on an event takes into account both defaults on a parent recurring event (when applicable) as well as the user's defaults on calendar. If there are no gd:reminders returned that means the event has absolutely no reminders. "none" or "all" will not apply in this case.
Writing is different because we have to be backwards-compatible (see *) with the old way of setting reminders. For easier analysis we describe all the behaviors defined in the table below. (Notice we only include cases for minutes, as the other cases specified in terms of days/hours/absoluteTime can be converted to this case.)
Notice method is case-sensitive: must be in lowercase!
no method method method=
or method=all =none email|sms|alert
____________________________________________________________________________
no gd:rem *no reminder N/A N/A
1 gd:rem *use user's no reminder InvalidEntryException
def. settings
1 gd:rem min=0 *use user's no reminder InvalidEntryException
def. settings
1 gd:rem min=-1 *no reminder no reminder InvalidEntryException
1 gd:rem min=+n *override with no reminder set exactly one reminder
+n for user's on event at +n with given
selected method
methods
multiple gd:rem InvalidEntry- InvalidEntry- copy this set exactly
Exception Exception
Hence, to override an event with a set of reminder | Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Reminder.Method | |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| absoluteTime | Absolute time of the reminder. | ||||||||||
| days | Number of days before the start time. | ||||||||||
| hours | Number of hours before the start time. | ||||||||||
| method | Optional: if not set we use the user's default methods on this calendar | ||||||||||
| minutes | Number of minute before the start times. | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Generates an XML representation for the extension.
| |||||||||||
Returns the suggested extension description.
| |||||||||||
The default implementation uses the
AbstractExtension.AttributesHandler to handle
parsing the extension. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.Extension
| |||||||||||
Number of days before the start time.
Number of hours before the start time.
Optional: if not set we use the user's default methods on this calendar
Number of minute before the start times.
Generates an XML representation for the extension.
| w | XML writer |
|---|---|
| extProfile | Extension profile |
| IOException |
|---|
Returns the suggested extension description.
The default implementation uses the AbstractExtension.AttributesHandler to handle
parsing the extension.
| extProfile | Extension profile |
|---|---|
| namespace | Extension namespace |
| localName | Tag name, without the namespace prefix |
| attrs | Tag attributes |
| v |
|---|
| v |
|---|
| v |
|---|