public class

CalendarEventEntry

extends BaseEventEntry<E extends BaseEventEntry<E>>
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.BaseEntry<E extends com.google.gdata.data.BaseEntry>
         ↳ com.google.gdata.data.extensions.BaseEventEntry<E extends com.google.gdata.data.extensions.BaseEventEntry<E>>
           ↳ com.google.gdata.data.calendar.CalendarEventEntry

Class Overview

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

Summary

[Expand]
Inherited Fields
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
CalendarEventEntry()
Constructs a new CalendarEventEntry instance .
Public Methods
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.
List<ExtendedProperty> getExtendedProperty()
Returns extended properties (gd:extendedProperty)
String getIcalUID()
Returns the Ical UID(RFC 2445) of the event if it exists otherwise returns null.
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.
int getSequence()
Returns the sequence number of the event or 0 if not set.
WebContent getWebContent()
Get the web content for this entry (may return null).
Link getWebContentLink()
Retrieves the web content link
boolean hasAnyoneCanAddSelf()
boolean hasGuestsCanInviteOthers()
boolean hasGuestsCanModify()
boolean hasGuestsCanSeeGuests()
boolean hasSequence()
Returns whether a sequence number is present.
boolean isAnyoneCanAddSelf()
boolean isGuestsCanInviteOthers()
boolean isGuestsCanModify()
boolean isGuestsCanSeeGuests()
boolean isPrivateCopy()
Whether this is a private copy of the event.
boolean isSyncEvent()
If the event needs to be synced i.e., the Ical UID and Sequence number need to be honored.
void setAnyoneCanAddSelf(boolean anyoneCanAddSelf)
void setGuestsCanInviteOthers(boolean guestsCanInviteOthers)
void setGuestsCanModify(boolean guestsCanModify)
void setGuestsCanSeeGuests(boolean guestsCanSeeGuests)
void setIcalUID(String uid)
Sets the Ical UID(RFC 2445) of the event.
void setPrivateCopy(boolean privateCopy)
Set whether this is a private copy of the event.
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 setSequence(int sequence)
Sets the sequence number of the event.
void setSyncEvent(boolean syncEvent)
Set whether the event needs to be synced i.e., the Ical UID and Sequence number need to be honored.
void setWebContent(WebContent wc)
Set the web content for this entry
[Expand]
Inherited Methods
From class com.google.gdata.data.extensions.BaseEventEntry
From class com.google.gdata.data.BaseEntry
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
From interface com.google.gdata.data.IAtom
From interface com.google.gdata.data.IEntry
From interface com.google.gdata.data.Kind.Adaptable
From interface com.google.gdata.data.Kind.Adaptor

Public Constructors

public CalendarEventEntry ()

Constructs a new CalendarEventEntry instance .

Public Methods

public void addExtendedProperty (ExtendedProperty prop)

Add a new extended property (gd:extendedProperty)

Parameters
prop

public void addParticipant (EventWho participant)

Adds a new event participant.

Parameters
participant

public void declareExtensions (ExtensionProfile extProfile)

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.

Parameters
extProfile The ExtensionProfile to initialize.

public List<ExtendedProperty> getExtendedProperty ()

Returns extended properties (gd:extendedProperty)

public String getIcalUID ()

Returns the Ical UID(RFC 2445) of the event if it exists otherwise returns null.

public List<EventWho> getParticipants ()

Returns the list of event participants.

public boolean getQuickAdd ()

if gd:content contains quickadd info

public boolean getSendEventNotifications ()

Whether to send event notifications or not. Default is to not send notifications to the other participants.

public int getSequence ()

Returns the sequence number of the event or 0 if not set.

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.

public Link getWebContentLink ()

Retrieves the web content link

public boolean hasAnyoneCanAddSelf ()

public boolean hasGuestsCanInviteOthers ()

public boolean hasGuestsCanModify ()

public boolean hasGuestsCanSeeGuests ()

public boolean hasSequence ()

Returns whether a sequence number is present.

public boolean isAnyoneCanAddSelf ()

public boolean isGuestsCanInviteOthers ()

public boolean isGuestsCanModify ()

public boolean isGuestsCanSeeGuests ()

public boolean isPrivateCopy ()

Whether this is a private copy of the event.

public boolean isSyncEvent ()

If the event needs to be synced i.e., the Ical UID and Sequence number need to be honored.

public void setAnyoneCanAddSelf (boolean anyoneCanAddSelf)

Parameters
anyoneCanAddSelf

public void setGuestsCanInviteOthers (boolean guestsCanInviteOthers)

Parameters
guestsCanInviteOthers

public void setGuestsCanModify (boolean guestsCanModify)

Parameters
guestsCanModify

public void setGuestsCanSeeGuests (boolean guestsCanSeeGuests)

Parameters
guestsCanSeeGuests

public void setIcalUID (String uid)

Sets the Ical UID(RFC 2445) of the event. Note: Setting uid to null deletes the value.

Parameters
uid

public void setPrivateCopy (boolean privateCopy)

Set whether this is a private copy of the event.

Parameters
privateCopy

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

public void setSendEventNotifications (boolean send)

Sets whether event notifications are to be sent to the other participants or not.

Parameters
send

public void setSequence (int sequence)

Sets the sequence number of the event.

Parameters
sequence

public void setSyncEvent (boolean syncEvent)

Set whether the event needs to be synced i.e., the Ical UID and Sequence number need to be honored.

Parameters
syncEvent

public void setWebContent (WebContent wc)

Set the web content for this entry

Parameters
wc