public interface CalendarEvent extends SocialComponent
Modifier and Type | Method and Description |
---|---|
CalendarConfiguration |
createConfiguration(Resource eventResource,
Resource calendarResouce)
Creates the configuration.
|
String |
getCalendarId()
Get this Event parent id.
|
CalendarConfiguration |
getConfiguration()
Get the configuration for this comment
|
Calendar |
getEnd()
Returns the end date of the event.
|
boolean |
getIsMultiday()
Checks if the event is multiday event.
|
String |
getMessage()
Gets the description.
|
Calendar |
getStart()
Returns the start date of the event.
|
String |
getSubject()
Gets the subject.
|
List<Comment.Tag> |
getTags()
Gets the tags.
|
String |
getUid()
Returns the icalendar UID, which is a globally unique identifier for events.
|
boolean |
isDate()
Returns if this event is an all-day event.
|
boolean |
isRecurrence()
Returns whether this event is the recurring instance of an event with recurring rule(s).
|
boolean |
isRecurringSeries()
Returns if this event is part of a recurring series.
|
getAsMap, getId, getProperties, getResource, getResourceType, getUrl, toJSONString
static final String NODE_TYPE
String getUid()
String getSubject()
String getMessage()
Calendar getStart()
isDate()
will return true and the time
part can be ignored.Calendar getEnd()
isDate()
will return true and the time
part can be ignored.boolean isDate()
boolean isRecurringSeries()
true
if this is the original
event that defines a recurrence or if it is a recurring event
instance
.true
if this event is part of a recurring series#CalendarRecurrenceEvent.isRecurrence()
,
#CalendarRecurrenceEvent.getOriginal()
boolean isRecurrence()
#getOriginal()
. Note that for the original event, which is also part of the recurring event
series, this will return false
. To find out if an event is part of a recurring series, usetrue
if this is a recurrence, false
if this is the original event
isRecurringSeries()
.
Recurring events are copied into the JCR for each instance to allow for simpler display and search, without the need to dynamically re-calculate the recurrence on each read access.
isRecurringSeries()
,
#getOriginal()
boolean getIsMultiday()
List<Comment.Tag> getTags()
CalendarConfiguration getConfiguration()
CalendarConfiguration createConfiguration(Resource eventResource, Resource calendarResouce)
eventResource
- the event resourcecalendarResouce
- the calendar resouceString getCalendarId()
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"