Interface CalendarEntry
- All Superinterfaces:
PermissionCheckValue,Serializable
- All Known Implementing Classes:
CalendarEntryDTO,CalendarEntryImpl
This class represents an event in a calendar.
- Since:
- 4.0
- Author:
- Nick Burch
-
Method Summary
Modifier and TypeMethodDescriptiongetEnd()Gets the date of the last instance of this recurring event, i.e.Get the underlying node value that needs to be permission checked.Gets the UID used by Outlook for this event.Gets the event recurrence rule.Gets the SharePoint "Doc Folder" for the event.getStart()getTags()getTitle()booleanIs this an outlook based event?voidsetDescription(String description) Sets the Description of the eventvoidSets the event end date and timevoidsetLastRecurrence(Date lastRecurrence) Sets the date of the last instance of this recurring eventvoidsetLocation(String location) Sets the Location of the eventvoidsetOutlook(boolean outlook) Sets if this is an outlook based event or notvoidsetOutlookUID(String outlookUID) Sets the UID used by Outlook for this event.voidsetRecurrenceRule(String recurrenceRule) Sets the event recurrence rule, in SharePoint/Outlook formatvoidsetSharePointDocFolder(String docFolder) Sets the SharePoint "Doc Folder" for the event.voidSets the event start date and timevoidSets the Title ("what") of the event
-
Method Details
-
getNodeRef
NodeRef getNodeRef()Description copied from interface:PermissionCheckValueGet the underlying node value that needs to be permission checked.- Specified by:
getNodeRefin interfacePermissionCheckValue- Returns:
- the NodeRef of the underlying calendar entry
-
getContainerNodeRef
NodeRef getContainerNodeRef()- Returns:
- the NodeRef of the site container this belongs to
-
getSystemName
String getSystemName()- Returns:
- the System generated name for the event
-
getTitle
String getTitle()- Returns:
- the Title ("what") of the event
-
setTitle
Sets the Title ("what") of the event -
getDescription
String getDescription()- Returns:
- the Description of the event
-
setDescription
Sets the Description of the event -
getLocation
String getLocation()- Returns:
- the Location of the event
-
setLocation
Sets the Location of the event -
getStart
Date getStart()- Returns:
- the Start date and time
-
setStart
Sets the event start date and time -
getEnd
Date getEnd()- Returns:
- the End date and time
-
setEnd
Sets the event end date and time -
getRecurrenceRule
String getRecurrenceRule()Gets the event recurrence rule. This needs to be in the SharePoint/Outlook format of FREQ=...;INTERVAL=...;BY...=...;COUNT=... -
setRecurrenceRule
Sets the event recurrence rule, in SharePoint/Outlook format -
getLastRecurrence
Date getLastRecurrence()Gets the date of the last instance of this recurring event, i.e. the last date up until which recurrances will occur. -
setLastRecurrence
Sets the date of the last instance of this recurring event -
isOutlook
boolean isOutlook()Is this an outlook based event? -
setOutlook
void setOutlook(boolean outlook) Sets if this is an outlook based event or not -
getOutlookUID
String getOutlookUID()Gets the UID used by Outlook for this event. SeeisOutlook() -
setOutlookUID
Sets the UID used by Outlook for this event. When a UID is set, normally the isOutlook flag is set too. -
getTags
- Returns:
- the Tags associated with the event
-
getCreatedAt
Date getCreatedAt()- Returns:
- the creation date and time
-
getModifiedAt
Date getModifiedAt()- Returns:
- the modification date and time
-