|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.service.cmr.calendar.CalendarEntryDTO
public class CalendarEntryDTO
This class represents an event in a calendar.
| Constructor Summary | |
|---|---|
CalendarEntryDTO()
Creates an empty CalendarEntry, which can be populated
with set calls. |
|
CalendarEntryDTO(java.lang.String title,
java.lang.String description,
java.lang.String location,
java.util.Date start,
java.util.Date end)
Creates a CalendarEntry with common properties. |
|
| Method Summary | |
|---|---|
org.alfresco.service.cmr.repository.NodeRef |
getContainerNodeRef()
|
java.util.Date |
getCreatedAt()
Gets when this entry was created |
java.lang.String |
getDescription()
|
java.util.Date |
getEnd()
|
java.util.Date |
getLastRecurrence()
Gets the date of the last instance of this recurring event |
java.lang.String |
getLocation()
|
java.util.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. |
java.lang.String |
getOutlookUID()
Gets the UID used by Outlook for this event. |
java.lang.String |
getRecurrenceRule()
Gets the event recurrence rule. |
java.lang.String |
getSharePointDocFolder()
Gets the SharePoint "Doc Folder" for the event. |
java.util.Date |
getStart()
|
java.lang.String |
getSystemName()
|
java.util.List |
getTags()
|
java.lang.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(java.util.Date createdAt)
|
void |
setDescription(java.lang.String description)
Sets the Description of the event |
void |
setEnd(java.util.Date end)
Sets the event end date and time |
void |
setLastRecurrence(java.util.Date lastRecurrence)
Sets the date of the last instance of this recurring event |
void |
setLocation(java.lang.String location)
Sets the Location of the event |
void |
setModifiedAt(java.util.Date modifiedAt)
|
void |
setOutlook(boolean outlook)
Sets if this is an outlook based event or not |
void |
setOutlookUID(java.lang.String outlookUID)
Sets the UID used by Outlook for this event. |
void |
setRecurrenceRule(java.lang.String recurrenceRule)
Sets the event recurrence rule |
void |
setSharePointDocFolder(java.lang.String docFolder)
Sets the SharePoint "Doc Folder" for the event. |
void |
setStart(java.util.Date start)
Sets the event start date and time |
void |
setTitle(java.lang.String title)
Sets the Title ("what") of the event |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CalendarEntryDTO()
CalendarEntry, which can be populated
with set calls.
public CalendarEntryDTO(java.lang.String title,
java.lang.String description,
java.lang.String location,
java.util.Date start,
java.util.Date end)
CalendarEntry with common properties.
| Method Detail |
|---|
public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
PermissionCheckValue
getNodeRef in interface PermissionCheckValuegetNodeRef in interface CalendarEntrypublic org.alfresco.service.cmr.repository.NodeRef getContainerNodeRef()
getContainerNodeRef in interface CalendarEntrypublic java.lang.String getSystemName()
getSystemName in interface CalendarEntrypublic java.lang.String getTitle()
getTitle in interface CalendarEntrypublic void setTitle(java.lang.String title)
setTitle in interface CalendarEntrypublic java.lang.String getDescription()
getDescription in interface CalendarEntrypublic void setDescription(java.lang.String description)
setDescription in interface CalendarEntrypublic java.lang.String getLocation()
getLocation in interface CalendarEntrypublic void setLocation(java.lang.String location)
setLocation in interface CalendarEntrypublic java.util.Date getStart()
getStart in interface CalendarEntrypublic void setStart(java.util.Date start)
setStart in interface CalendarEntrypublic java.util.Date getEnd()
getEnd in interface CalendarEntrypublic void setEnd(java.util.Date end)
setEnd in interface CalendarEntrypublic java.lang.String getRecurrenceRule()
getRecurrenceRule in interface CalendarEntrypublic void setRecurrenceRule(java.lang.String recurrenceRule)
setRecurrenceRule in interface CalendarEntrypublic java.util.Date getLastRecurrence()
getLastRecurrence in interface CalendarEntrypublic void setLastRecurrence(java.util.Date lastRecurrence)
setLastRecurrence in interface CalendarEntrypublic boolean isOutlook()
isOutlook in interface CalendarEntrypublic void setOutlook(boolean outlook)
setOutlook in interface CalendarEntrypublic java.lang.String getOutlookUID()
CalendarEntry.isOutlook()
getOutlookUID in interface CalendarEntrypublic void setOutlookUID(java.lang.String outlookUID)
setOutlookUID in interface CalendarEntrypublic java.lang.String getSharePointDocFolder()
getSharePointDocFolder in interface CalendarEntrypublic void setSharePointDocFolder(java.lang.String docFolder)
setSharePointDocFolder in interface CalendarEntrypublic java.util.List getTags()
getTags in interface CalendarEntrypublic java.util.Date getCreatedAt()
getCreatedAt in interface CalendarEntrypublic void setCreatedAt(java.util.Date createdAt)
public java.util.Date getModifiedAt()
getModifiedAt in interface CalendarEntrypublic void setModifiedAt(java.util.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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||