public class CalendarEntryDTO extends Object implements CalendarEntry, Serializable
| Constructor and Description |
|---|
CalendarEntryDTO()
Creates an empty
CalendarEntry, which can be populated
with set calls. |
CalendarEntryDTO(String title,
String description,
String location,
Date start,
Date end)
Creates a
CalendarEntry with common properties. |
| Modifier and Type | Method and Description |
|---|---|
org.alfresco.service.cmr.repository.NodeRef |
getContainerNodeRef() |
Date |
getCreatedAt()
Gets when this entry was created
|
String |
getDescription() |
Date |
getEnd() |
Date |
getLastRecurrence()
Gets the date of the last instance of this recurring event
|
String |
getLocation() |
Date |
getModifiedAt()
Gets when this entry was modified
|
org.alfresco.service.cmr.repository.NodeRef |
getNodeRef()
Get the underlying node value that needs to be permission checked.
|
String |
getOutlookUID()
Gets the UID used by Outlook for this event.
|
String |
getRecurrenceRule()
Gets the event recurrence rule.
|
String |
getSharePointDocFolder()
Gets the SharePoint "Doc Folder" for the event.
|
Date |
getStart() |
String |
getSystemName() |
List<String> |
getTags() |
String |
getTitle() |
static boolean |
isAllDay(CalendarEntry entry)
Does the given
CalendarEntry define an all-day
event?
An All Day Event is defined as one starting at midnight
on a day, and ending at midnight. |
boolean |
isOutlook()
Is this an outlook based event?
|
void |
setCreatedAt(Date createdAt) |
void |
setDescription(String description)
Sets the Description of the event
|
void |
setEnd(Date end)
Sets the event end date and time
|
void |
setLastRecurrence(Date lastRecurrence)
Sets the date of the last instance of this recurring event
|
void |
setLocation(String location)
Sets the Location of the event
|
void |
setModifiedAt(Date modifiedAt) |
void |
setOutlook(boolean outlook)
Sets if this is an outlook based event or not
|
void |
setOutlookUID(String outlookUID)
Sets the UID used by Outlook for this event.
|
void |
setRecurrenceRule(String recurrenceRule)
Sets the event recurrence rule
|
void |
setSharePointDocFolder(String docFolder)
Sets the SharePoint "Doc Folder" for the event.
|
void |
setStart(Date start)
Sets the event start date and time
|
void |
setTitle(String title)
Sets the Title ("what") of the event
|
public CalendarEntryDTO()
CalendarEntry, which can be populated
with set calls.public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
PermissionCheckValuegetNodeRef in interface PermissionCheckValuegetNodeRef in interface CalendarEntrypublic org.alfresco.service.cmr.repository.NodeRef getContainerNodeRef()
getContainerNodeRef in interface CalendarEntrypublic String getSystemName()
getSystemName in interface CalendarEntrypublic String getTitle()
getTitle in interface CalendarEntrypublic void setTitle(String title)
setTitle in interface CalendarEntrypublic String getDescription()
getDescription in interface CalendarEntrypublic void setDescription(String description)
setDescription in interface CalendarEntrypublic String getLocation()
getLocation in interface CalendarEntrypublic void setLocation(String location)
setLocation in interface CalendarEntrypublic Date getStart()
getStart in interface CalendarEntrypublic void setStart(Date start)
setStart in interface CalendarEntrypublic Date getEnd()
getEnd in interface CalendarEntrypublic void setEnd(Date end)
setEnd in interface CalendarEntrypublic String getRecurrenceRule()
getRecurrenceRule in interface CalendarEntrypublic void setRecurrenceRule(String recurrenceRule)
setRecurrenceRule in interface CalendarEntrypublic Date getLastRecurrence()
getLastRecurrence in interface CalendarEntrypublic void setLastRecurrence(Date lastRecurrence)
setLastRecurrence in interface CalendarEntrypublic boolean isOutlook()
isOutlook in interface CalendarEntrypublic void setOutlook(boolean outlook)
setOutlook in interface CalendarEntrypublic String getOutlookUID()
CalendarEntry.isOutlook()getOutlookUID in interface CalendarEntrypublic void setOutlookUID(String outlookUID)
setOutlookUID in interface CalendarEntrypublic String getSharePointDocFolder()
getSharePointDocFolder in interface CalendarEntrypublic void setSharePointDocFolder(String docFolder)
setSharePointDocFolder in interface CalendarEntrypublic List<String> getTags()
getTags in interface CalendarEntrypublic Date getCreatedAt()
getCreatedAt in interface CalendarEntrypublic void setCreatedAt(Date createdAt)
public Date getModifiedAt()
getModifiedAt in interface CalendarEntrypublic void setModifiedAt(Date modifiedAt)
public static boolean isAllDay(CalendarEntry entry)
CalendarEntry define an all-day
event?
An All Day Event is defined as one starting at midnight
on a day, and ending at midnight.
For a single day event, the start and end dates should be
the same, and the times for both are UTC midnight.
For a multi day event, the start and end times are UTC midnight,
for the first and last days respectively.Copyright © 2005–2018 Alfresco Software. All rights reserved.