ALF-9156 More on the Calendar code, including improved dates for the get webscript

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28847 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Nick Burch
2011-07-07 12:00:50 +00:00
parent 0138ee4a45
commit 6fdc7bb79f
4 changed files with 37 additions and 4 deletions

View File

@@ -80,6 +80,7 @@ public class CalendarEntryImpl extends CalendarEntryDTO
properties.put(CalendarModel.PROP_RECURRENCE_LAST_MEETING, entry.getLastRecurrence());
properties.put(CalendarModel.PROP_IS_OUTLOOK, entry.isOutlook());
properties.put(CalendarModel.PROP_OUTLOOK_UID, entry.getOutlookUID());
properties.put(CalendarModel.PROP_DOC_FOLDER, entry.getSharePointDocFolder());
// properties.put(CalendarModel.PROP_COLOR, entry.getColor();
@@ -100,6 +101,7 @@ public class CalendarEntryImpl extends CalendarEntryDTO
entry.setEnd((Date)properties.get(CalendarModel.PROP_TO_DATE));
entry.setRecurrenceRule((String)properties.get(CalendarModel.PROP_RECURRENCE_RULE));
entry.setLastRecurrence((Date)properties.get(CalendarModel.PROP_RECURRENCE_LAST_MEETING));
entry.setSharePointDocFolder((String)properties.get(CalendarModel.PROP_DOC_FOLDER));
Boolean isOutlook = (Boolean)properties.get(CalendarModel.PROP_IS_OUTLOOK);
entry.setOutlook(isOutlook == null ? false : isOutlook);