Package org.alfresco.repo.calendar
Class CalendarEntryImpl
java.lang.Object
org.alfresco.service.cmr.calendar.CalendarEntryDTO
org.alfresco.repo.calendar.CalendarEntryImpl
- All Implemented Interfaces:
Serializable,PermissionCheckValue,CalendarEntry
- Since:
- 4.0
- Author:
- Nick Burch (based on existing webscript controllers in the REST API)
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCalendarEntryImpl(NodeRef nodeRef, NodeRef containerNodeRef, String systemName) Wraps an existing Calendar Entry node -
Method Summary
Modifier and TypeMethodDescriptionGet the underlying node value that needs to be permission checked.protected voidpopulate(Map<QName, Serializable> properties) Populates this entry from the given node properties Doesn't handle tags, those are done in the service itself.protected static voidpopulate(CalendarEntry entry, Map<QName, Serializable> properties) Populates a Calendar Entry from the given node properties.protected voidrecordStorageDetails(NodeRef nodeRef, NodeRef containerNodeRef, String systemName) protected voidSets the list of tags for the entryprotected static Map<QName,Serializable> toNodeProperties(CalendarEntry entry) Builds up the node properties for a given Calendar Entry Doesn't handle tags, those must be done in the service itself.Methods inherited from class org.alfresco.service.cmr.calendar.CalendarEntryDTO
getCreatedAt, getDescription, getEnd, getLastRecurrence, getLocation, getModifiedAt, getOutlookUID, getRecurrenceRule, getSharePointDocFolder, getStart, getTags, getTitle, isAllDay, isOutlook, setCreatedAt, setDescription, setEnd, setLastRecurrence, setLocation, setModifiedAt, setOutlook, setOutlookUID, setRecurrenceRule, setSharePointDocFolder, setStart, setTitle
-
Constructor Details
-
CalendarEntryImpl
Wraps an existing Calendar Entry node
-
-
Method Details
-
recordStorageDetails
-
getNodeRef
Description copied from interface:PermissionCheckValueGet the underlying node value that needs to be permission checked.- Specified by:
getNodeRefin interfaceCalendarEntry- Specified by:
getNodeRefin interfacePermissionCheckValue- Overrides:
getNodeRefin classCalendarEntryDTO- Returns:
- the NodeRef of the underlying calendar entry
-
getContainerNodeRef
- Specified by:
getContainerNodeRefin interfaceCalendarEntry- Overrides:
getContainerNodeRefin classCalendarEntryDTO- Returns:
- the NodeRef of the calendar's container in the site
-
getSystemName
- Specified by:
getSystemNamein interfaceCalendarEntry- Overrides:
getSystemNamein classCalendarEntryDTO- Returns:
- the System generated name for the event
-
toNodeProperties
Builds up the node properties for a given Calendar Entry Doesn't handle tags, those must be done in the service itself. -
populate
Populates a Calendar Entry from the given node properties. Doesn't handle tags, those must be done in the service itself. -
populate
Populates this entry from the given node properties Doesn't handle tags, those are done in the service itself. -
setTags
Sets the list of tags for the entry
-