|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.schedassist.model.VisibleScheduleBuilder
public class VisibleScheduleBuilder
This class implements the mechanism of merging the IScheduleOwner's AvailableSchedule
and the IScheduleOwner's Calendar for an IScheduleVisitor.
| Field Summary | |
|---|---|
static String |
ATTENDING
|
static String |
BUSY
|
static String |
FREE
|
| Constructor Summary | |
|---|---|
VisibleScheduleBuilder()
Default Constructor, will set the eventUtils field to DefaultEventUtilsImpl. |
|
VisibleScheduleBuilder(IEventUtils eventUtils)
|
|
| Method Summary | |
|---|---|
VisibleSchedule |
calculateVisibleSchedule(Date startTime,
Date endTime,
net.fortuna.ical4j.model.Calendar calendar,
AvailableSchedule schedule,
IScheduleOwner owner)
This method should simply delegate to IVisibleScheduleBuilder.calculateVisibleSchedule(Date, Date, Calendar, AvailableSchedule, IScheduleOwner, IScheduleVisitor),
passing null in for the IScheduleVisitor argument. |
VisibleSchedule |
calculateVisibleSchedule(Date startTime,
Date endTime,
net.fortuna.ical4j.model.Calendar calendar,
AvailableSchedule schedule,
IScheduleOwner owner,
IScheduleVisitor visitor)
Core algorithm for calculating a VisibleSchedule for an IScheduleVisitor viewing
an IScheduleOwner's account. |
protected VisibleSchedule |
calculateVisibleScheduleNoAttendingCheck(Date startTime,
Date endTime,
net.fortuna.ical4j.model.Calendar calendar,
AvailableSchedule schedule,
MeetingDurations meetingDurations,
ICalendarAccount calendarAccount)
|
VisibleSchedule |
calculateVisitorConflicts(Date startTime,
Date endTime,
net.fortuna.ical4j.model.Calendar calendar,
AvailableSchedule schedule,
MeetingDurations meetingDurations,
IScheduleVisitor visitor)
This method is intended to provide a means for incorporating the IScheduleVisitor's own calendar data
within the display of an IScheduleOwners schedule. |
void |
setEventUtils(IEventUtils eventUtils)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String FREE
public static final String BUSY
public static final String ATTENDING
| Constructor Detail |
|---|
public VisibleScheduleBuilder()
DefaultEventUtilsImpl.
public VisibleScheduleBuilder(IEventUtils eventUtils)
eventUtils - | Method Detail |
|---|
public void setEventUtils(IEventUtils eventUtils)
eventUtils - the eventUtils to set
public VisibleSchedule calculateVisibleSchedule(Date startTime,
Date endTime,
net.fortuna.ical4j.model.Calendar calendar,
AvailableSchedule schedule,
IScheduleOwner owner)
IVisibleScheduleBuilderIVisibleScheduleBuilder.calculateVisibleSchedule(Date, Date, Calendar, AvailableSchedule, IScheduleOwner, IScheduleVisitor),
passing null in for the IScheduleVisitor argument.
As such, it will never return appointments with "ATTENDING" status (only FREE
or BUSY).
calculateVisibleSchedule in interface IVisibleScheduleBuilderVisibleSchedule
public VisibleSchedule calculateVisibleSchedule(Date startTime,
Date endTime,
net.fortuna.ical4j.model.Calendar calendar,
AvailableSchedule schedule,
IScheduleOwner owner,
IScheduleVisitor visitor)
IVisibleScheduleBuilderVisibleSchedule for an IScheduleVisitor viewing
an IScheduleOwner's account.
calculateVisibleSchedule in interface IVisibleScheduleBuilderVisibleSchedule
public VisibleSchedule calculateVisitorConflicts(Date startTime,
Date endTime,
net.fortuna.ical4j.model.Calendar calendar,
AvailableSchedule schedule,
MeetingDurations meetingDurations,
IScheduleVisitor visitor)
IVisibleScheduleBuilderIScheduleVisitor's own calendar data
within the display of an IScheduleOwners schedule.
The MeetingDurations argument is required and represents the preference of the IScheduleOwner in
context.
calculateVisitorConflicts in interface IVisibleScheduleBuilderVisibleSchedule
protected VisibleSchedule calculateVisibleScheduleNoAttendingCheck(Date startTime,
Date endTime,
net.fortuna.ical4j.model.Calendar calendar,
AvailableSchedule schedule,
MeetingDurations meetingDurations,
ICalendarAccount calendarAccount)
startTime - endTime - calendar - schedule - meetingDurations - calendarAccount -
VisibleSchedule
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||