public class CalendarEventEntry extends BaseEventEntry<CalendarEventEntry>
BaseEventEntry.EventStatus, BaseEventEntry.Transparency, BaseEventEntry.Visibility
BaseEntry.AtomHandler
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler
Constructor and Description |
---|
CalendarEventEntry()
Constructs a new
CalendarEventEntry instance . |
Modifier and Type | Method and Description |
---|---|
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.lang.String |
getIcalUID()
Returns the Ical UID(RFC 2445) of the event if it exists otherwise returns
null.
|
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.
|
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(java.lang.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
|
addLocation, addRecurrenceException, addTime, getLocations, getOriginalEvent, getRecurrence, getRecurrenceException, getReminder, getStatus, getTimes, getTransparency, getVisibility, setOriginalEvent, setRecurrence, setStatus, setTransparency, setVisibility
addAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, generateRss, getAdaptedEntry, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, getContributors, getEdited, getEditLink, getEtag, getHandler, getHtmlLink, getId, getKind, getLink, getLinks, getLinks, getMediaEditLink, getPlainTextContent, getPubControl, getPublished, getResumableEditMediaLink, getRights, getSelectedFields, getSelf, getSelfLink, getService, getSource, getSummary, getTextContent, getTitle, getUpdated, getVersionId, isDraft, parseAtom, parseAtom, parseAtom, readEntry, readEntry, removeLinks, removeLinks, setCanEdit, setContent, setContent, setDraft, setEdited, setEtag, setId, setKind, setPubControl, setPublished, setRights, setSelectedFields, setService, setSource, setSummary, setTitle, setUpdated, setVersionId, update
addExtension, addRepeatingExtension, generateCumulativeXmlBlob, getExtension, getExtensions, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit
disableStrictValidation, enableStrictValidation, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable
public CalendarEventEntry()
CalendarEventEntry
instance .public void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions
in interface Kind.Adaptor
declareExtensions
in class BaseEventEntry<CalendarEventEntry>
extProfile
- the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)
public java.util.List<EventWho> getParticipants()
public void addParticipant(EventWho participant)
public java.util.List<ExtendedProperty> getExtendedProperty()
public void addExtendedProperty(ExtendedProperty prop)
public boolean getQuickAdd()
public void setQuickAdd(boolean quickAdd)
quickAdd
- public boolean isSyncEvent()
public void setSyncEvent(boolean syncEvent)
public boolean isPrivateCopy()
public void setPrivateCopy(boolean privateCopy)
public boolean getSendEventNotifications()
public void setSendEventNotifications(boolean send)
public java.lang.String getIcalUID()
public void setIcalUID(java.lang.String uid)
public boolean hasSequence()
public int getSequence()
public void setSequence(int sequence)
public Link getWebContentLink()
public WebContent getWebContent()
public void setWebContent(WebContent wc)
public void setGuestsCanModify(boolean guestsCanModify)
public boolean isGuestsCanModify()
public boolean hasGuestsCanModify()
public void setGuestsCanInviteOthers(boolean guestsCanInviteOthers)
public boolean isGuestsCanInviteOthers()
public boolean hasGuestsCanInviteOthers()
public void setGuestsCanSeeGuests(boolean guestsCanSeeGuests)
public boolean isGuestsCanSeeGuests()
public boolean hasGuestsCanSeeGuests()
public void setAnyoneCanAddSelf(boolean anyoneCanAddSelf)
public boolean isAnyoneCanAddSelf()
public boolean hasAnyoneCanAddSelf()