Google Data APIs Client Library



com.google.gdata.data.calendar
Class CalendarEventEntry

java.lang.Object
  extended by com.google.gdata.data.AbstractExtension
      extended by com.google.gdata.data.ExtensionPoint
          extended by com.google.gdata.data.BaseEntry<E>
              extended by com.google.gdata.data.extensions.BaseEventEntry<CalendarEventEntry>
                  extended by com.google.gdata.data.calendar.CalendarEventEntry
All Implemented Interfaces:
Extension, Kind.Adaptable, Kind.Adaptor

public class CalendarEventEntry
extends BaseEventEntry<CalendarEventEntry>

This extends the EventEntry class for event entries in Google Calendars,


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gdata.data.extensions.BaseEventEntry
BaseEventEntry.EventStatus, BaseEventEntry.Transparency, BaseEventEntry.Visibility
 
Nested classes/interfaces inherited from class com.google.gdata.data.BaseEntry
BaseEntry.AtomHandler, BaseEntry.EntryState
 
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler
 
Nested classes/interfaces inherited from class com.google.gdata.data.AbstractExtension
AbstractExtension.AttributesHandler
 
Field Summary
 
Fields inherited from class com.google.gdata.data.BaseEntry
state
 
Fields inherited from class com.google.gdata.data.ExtensionPoint
xmlBlob
 
Fields inherited from class com.google.gdata.data.AbstractExtension
localName, namespace
 
Constructor Summary
CalendarEventEntry()
          Constructs a new CalendarEventEntry instance .
 
Method Summary
 void addExtendedProperty(ExtendedProperty prop)
          Add a new extended property (gd:extendedProperty)
 void addParticipant(EventWho participant)
          Adds a new event participant.
 void declareExtensions(ExtensionProfile extProfile)
          Declares the set of expected Extension types for an ExtensionPoint within the target extension profile.
 java.util.List<ExtendedProperty> getExtendedProperty()
          Returns extended properties (gd:extendedProperty)
 java.util.List<EventWho> getParticipants()
          Returns the list of event participants.
 boolean getQuickAdd()
          if gd:content contains quickadd info
 boolean getSendEventNotifications()
          Whether to send event notifications or not.
 WebContent getWebContent()
          Get the web content for this entry (may return null).
 Link getWebContentLink()
          Retrieves the web content link
 void setQuickAdd(boolean quickAdd)
          set whether gd:content is quickadd info This will only effects Insert semantics.
 void setSendEventNotifications(boolean send)
          Sets whether event notifications are to be sent to the other participants or not.
 void setWebContent(WebContent wc)
          Set the web content for this entry
 
Methods inherited from class com.google.gdata.data.extensions.BaseEventEntry
addLocation, addRecurrenceException, addTime, getLocations, getOriginalEvent, getRecurrence, getRecurrenceException, getReminder, getStatus, getTimes, getTransparency, getVisibility, setOriginalEvent, setRecurrence, setStatus, setTransparency, setVisibility
 
Methods inherited from class com.google.gdata.data.BaseEntry
addAdaptor, addHtmlLink, delete, generateAtom, generateRss, getAdaptedEntry, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, getContentHandlerInfo, getContributors, getEdited, getEditLink, getEtag, getHtmlLink, getId, getLink, getLinks, getLinks, getMediaEditLink, getPlainTextContent, getPubControl, getPublished, getRights, getSelf, getSelfLink, getService, getSource, getSummary, getTextContent, getTitle, getUpdated, getVersionId, isDraft, parseAtom, parseAtom, parseAtom, readEntry, readEntry, removeLinks, setCanEdit, setContent, setContent, setDraft, setEdited, setEtag, setId, setPubControl, setPublished, setRights, setService, setSource, setSummary, setTitle, setUpdated, setVersionId, update, visitChildren
 
Methods inherited from class com.google.gdata.data.ExtensionPoint
addExtension, addExtension, addRepeatingExtension, addRepeatingExtension, checkRequiredExtensions, generate, generateCumulativeXmlBlob, generateExtensions, generateStartElement, getExtension, getExtensionHandler, getExtensions, getHandler, getManifest, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, initializeArbitraryXml, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit, visitChild
 
Methods inherited from class com.google.gdata.data.AbstractExtension
consumeAttributes, eq, generate, isImmutable, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarEventEntry

public CalendarEventEntry()
Constructs a new CalendarEventEntry instance .

Method Detail

declareExtensions

public void declareExtensions(ExtensionProfile extProfile)
Description copied from class: ExtensionPoint
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. The base implementation does not declare any extensions, but can be overridden by specific types of ExtensionPoints that always contain a well-defined set of extensions.

Specified by:
declareExtensions in interface Kind.Adaptor
Overrides:
declareExtensions in class BaseEventEntry<CalendarEventEntry>
Parameters:
extProfile - the ExtensionProfile to initialize.
See Also:
ExtensionProfile.addDeclarations(Kind.Adaptor)

getParticipants

public java.util.List<EventWho> getParticipants()
Returns the list of event participants.


addParticipant

public void addParticipant(EventWho participant)
Adds a new event participant.


getExtendedProperty

public java.util.List<ExtendedProperty> getExtendedProperty()
Returns extended properties (gd:extendedProperty)


addExtendedProperty

public void addExtendedProperty(ExtendedProperty prop)
Add a new extended property (gd:extendedProperty)


getQuickAdd

public boolean getQuickAdd()
if gd:content contains quickadd info


setQuickAdd

public void setQuickAdd(boolean quickAdd)
set whether gd:content is quickadd info This will only effects Insert semantics. QuickAddProperty should never appear in GData query result Not all GData services that expose EventEntry data format may support quickadd

Parameters:
quickAdd -

getSendEventNotifications

public boolean getSendEventNotifications()
Whether to send event notifications or not. Default is to not send notifications to the other participants.


setSendEventNotifications

public void setSendEventNotifications(boolean send)
Sets whether event notifications are to be sent to the other participants or not.


getWebContentLink

public Link getWebContentLink()
Retrieves the web content link


getWebContent

public WebContent getWebContent()
Get the web content for this entry (may return null). Changes made to the WebContent object returned by this method will be reflected in this CalendarEventEntry.


setWebContent

public void setWebContent(WebContent wc)
Set the web content for this entry