org.jasig.schedassist.impl.caldav
Class CaldavEventUtilsImpl

java.lang.Object
  extended by org.jasig.schedassist.model.DefaultEventUtilsImpl
      extended by org.jasig.schedassist.impl.caldav.CaldavEventUtilsImpl
All Implemented Interfaces:
IEventUtils
Direct Known Subclasses:
BedeworkEventUtilsImpl

public class CaldavEventUtilsImpl
extends DefaultEventUtilsImpl

Subclass of DefaultEventUtilsImpl specific for caldav.

Version:
$Id: CaldavEventUtilsImpl.java 51 2011-05-06 14:35:33Z nblair $
Author:
Nicholas Blair, npblair@wisc.edu

Field Summary
 
Fields inherited from class org.jasig.schedassist.model.DefaultEventUtilsImpl
ICAL_DATETIME_FORMAT, LOG, PROD_ID
 
Constructor Summary
CaldavEventUtilsImpl(IAffiliationSource affiliationSource)
           
 
Method Summary
 net.fortuna.ical4j.model.component.VEvent constructAvailableAppointment(AvailableBlock block, IScheduleOwner owner, IScheduleVisitor visitor, String eventDescription)
          Calls the super implementation, and adds an Organizer and an Uid.
 net.fortuna.ical4j.model.property.Attendee constructAvailableAttendee(ICalendarAccount calendarAccount, AppointmentRole role)
           
 net.fortuna.ical4j.model.property.Organizer constructOrganizer(ICalendarAccount calendarAccount)
          Construct an Organizer property for the specified ICalendarAccount.
protected  net.fortuna.ical4j.model.component.VEvent convertBlockToReflectionEvent(AvailableBlock block)
           
 boolean willEventCauseConflict(ICalendarAccount calendarAccount, net.fortuna.ical4j.model.component.VEvent event)
           
 
Methods inherited from class org.jasig.schedassist.model.DefaultEventUtilsImpl
attendeeMatchesPerson, constructSummaryValueForReflectionEvent, convertScheduleForReflection, convertToICalendarFormat, emailToURI, generateNewUid, getAffiliationSource, getAttendeeForUserFromEvent, getAttendeeListFromEvent, getScheduleVisitorCount, isAttendingAsOwner, isAttendingAsVisitor, isAttendingMatch, isPartStatNeedsAction, wrapEventInCalendar
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaldavEventUtilsImpl

public CaldavEventUtilsImpl(IAffiliationSource affiliationSource)
Parameters:
affiliationSource -
Method Detail

constructAvailableAppointment

public net.fortuna.ical4j.model.component.VEvent constructAvailableAppointment(AvailableBlock block,
                                                                               IScheduleOwner owner,
                                                                               IScheduleVisitor visitor,
                                                                               String eventDescription)
Calls the super implementation, and adds an Organizer and an Uid.

Specified by:
constructAvailableAppointment in interface IEventUtils
Overrides:
constructAvailableAppointment in class DefaultEventUtilsImpl
See Also:
constructOrganizer(ICalendarAccount), (non-Javadoc), DefaultEventUtilsImpl.constructAvailableAppointment(org.jasig.schedassist.model.AvailableBlock, org.jasig.schedassist.model.IScheduleOwner, org.jasig.schedassist.model.IScheduleVisitor, java.lang.String)

constructOrganizer

public net.fortuna.ical4j.model.property.Organizer constructOrganizer(ICalendarAccount calendarAccount)
Construct an Organizer property for the specified ICalendarAccount.

Parameters:
calendarAccount -
Returns:
an Organizer property for the ICalendarAccount

willEventCauseConflict

public boolean willEventCauseConflict(ICalendarAccount calendarAccount,
                                      net.fortuna.ical4j.model.component.VEvent event)
Specified by:
willEventCauseConflict in interface IEventUtils
Overrides:
willEventCauseConflict in class DefaultEventUtilsImpl

constructAvailableAttendee

public net.fortuna.ical4j.model.property.Attendee constructAvailableAttendee(ICalendarAccount calendarAccount,
                                                                             AppointmentRole role)
Specified by:
constructAvailableAttendee in interface IEventUtils
Overrides:
constructAvailableAttendee in class DefaultEventUtilsImpl

convertBlockToReflectionEvent

protected net.fortuna.ical4j.model.component.VEvent convertBlockToReflectionEvent(AvailableBlock block)
Overrides:
convertBlockToReflectionEvent in class DefaultEventUtilsImpl


Copyright © 2011 Jasig. All Rights Reserved.