Blue Mind
Release 1.0

net.bluemind.core.common.calendar
Class CalendarItemsWriter

java.lang.Object
  extended by net.bluemind.core.common.items.AbstractItemsWriter
      extended by net.bluemind.core.common.calendar.CalendarItemsWriter

public class CalendarItemsWriter
extends AbstractItemsWriter

Serializes calendar related items to XML


Field Summary
 
Fields inherited from class net.bluemind.core.common.items.AbstractItemsWriter
logger
 
Constructor Summary
CalendarItemsWriter()
           
 
Method Summary
 void appendApiKey(Element root, APIKey apikey)
           
 void appendCalendar(Element root, CalendarInfo c)
           
 void appendCalendarColor(Element root, Integer key, Integer value)
           
 void appendCalendarGroup(Element root, CalendarGroup cg)
           
 void appendCalendarInfo(Element root, CalendarInfo ci)
           
 void appendCalendarView(Element root, CalendarView cv)
           
 void appendEvent(Element parent, Event ev)
           
 void appendFreeBusy(Element e, FreeBusy freeBusy)
           
 void appendFreeBusyRequest(Element parent, FreeBusyRequest freeBusy)
           
 void appendOccurrence(Element root, Occurrence o)
           
 String getAlerts(List<EventAlert> alerts)
           
 String getCalendarQueryAsString(CalendarQuery q)
           
 String getCalendarString(CalendarInfo c)
           
 String getClientChangesString(EventChanges clientChanges)
           
 String getEventPartNotifications(Map<String,EventPartNotification> notifications)
           
 String getEventString(Event event)
           
 String getFreeBusyRequestString(FreeBusyRequest fbr)
           
 String getFreeBusyString(FreeBusy fb)
           
 String getListEventString(List<Event> events)
           
 String getSyncCalendars(List<SyncCalendar> calendars)
           
 String getSyncCalendars(Map<Integer,Date> calendars)
           
 String getViewString(CalendarView cv)
           
 Document writeChanges(EventChanges cc)
           
 
Methods inherited from class net.bluemind.core.common.items.AbstractItemsWriter
addEmails, appendChangeResults, attribute, attribute, attribute, createIfNotNull, createIfNotNull, createIfNotNull, writeAccessControlledEntityAttributes, writeCustomProps, writeEntityAttributes, writeMap, writeQueryAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarItemsWriter

public CalendarItemsWriter()
Method Detail

writeChanges

public Document writeChanges(EventChanges cc)

appendEvent

public void appendEvent(Element parent,
                        Event ev)

appendCalendarInfo

public void appendCalendarInfo(Element root,
                               CalendarInfo ci)

getEventString

public String getEventString(Event event)

getViewString

public String getViewString(CalendarView cv)

getListEventString

public String getListEventString(List<Event> events)

appendFreeBusyRequest

public void appendFreeBusyRequest(Element parent,
                                  FreeBusyRequest freeBusy)

getFreeBusyRequestString

public String getFreeBusyRequestString(FreeBusyRequest fbr)

appendFreeBusy

public void appendFreeBusy(Element e,
                           FreeBusy freeBusy)

getFreeBusyString

public String getFreeBusyString(FreeBusy fb)

appendCalendarColor

public void appendCalendarColor(Element root,
                                Integer key,
                                Integer value)

appendOccurrence

public void appendOccurrence(Element root,
                             Occurrence o)

getCalendarQueryAsString

public String getCalendarQueryAsString(CalendarQuery q)

appendCalendarGroup

public void appendCalendarGroup(Element root,
                                CalendarGroup cg)

getClientChangesString

public String getClientChangesString(EventChanges clientChanges)

appendCalendarView

public void appendCalendarView(Element root,
                               CalendarView cv)

getCalendarString

public String getCalendarString(CalendarInfo c)

appendCalendar

public void appendCalendar(Element root,
                           CalendarInfo c)

getEventPartNotifications

public String getEventPartNotifications(Map<String,EventPartNotification> notifications)

getSyncCalendars

public String getSyncCalendars(Map<Integer,Date> calendars)

getSyncCalendars

public String getSyncCalendars(List<SyncCalendar> calendars)

getAlerts

public String getAlerts(List<EventAlert> alerts)

appendApiKey

public void appendApiKey(Element root,
                         APIKey apikey)

Blue Mind
Release 1.0