public interface SchedulingI extends Serializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
SchedulingI.FbGranulatedResponse
Used for user interface.
|
static class |
SchedulingI.FbResponses |
| Modifier and Type | Method and Description |
|---|---|
SchedulingI.FbResponses |
aggregateFreeBusy(ScheduleResult sr,
BwDateTime start,
BwDateTime end,
BwDuration granularity)
Get aggregated free busy for a ScheduleResult.
|
ScheduleResult |
attendeeRespond(EventInfo ei,
int method)
An attendee responds to a request.
|
ScheduleResult |
declineCounter(EventInfo ei,
String comment,
BwAttendee fromAtt) |
BwEvent |
getFreeBusy(Collection<BwCalendar> fbset,
BwPrincipal who,
BwDateTime start,
BwDateTime end,
BwOrganizer org,
String uid,
String exceptUid)
Get the free busy for the given principal as a list of busy periods.
|
Collection<BwCalendar> |
getFreebusySet()
Get calendar collections which affect freebusy.
|
EventInfo |
getStoredMeeting(BwEvent ev)
Return the users copy of the active meeting with the
same uid as that given.
|
SchedulingI.FbGranulatedResponse |
granulateFreeBusy(BwEvent fb,
BwDateTime start,
BwDateTime end,
BwDuration granularity)
Granulate (divide into equal chunks and return the result.
|
ScheduleResult |
requestRefresh(EventInfo ei,
String comment)
Attendee wants a refresh
|
ScheduleResult |
schedule(EventInfo ei,
String recipient,
String fromAttUri,
boolean iSchedule)
Schedule a meeting or publish an event.
|
ScheduleResult |
scheduleResponse(EventInfo ei)
Respond to a scheduling request.
|
ScheduleResult |
sendReply(EventInfo ei,
int partstat,
String comment)
Attendee wants to send a reply
|
void |
setupReschedule(EventInfo ei)
We have detected changes to an event that require a schedule.
|
void setupReschedule(EventInfo ei) throws CalFacadeException
ei - CalFacadeExceptionScheduleResult schedule(EventInfo ei, String recipient, String fromAttUri, boolean iSchedule) throws CalFacadeException
The event will be added to the users outbox which will trigger the send of requests to other users inboxes. For users within this system the request will be immediately addded to the recipients inbox. For external users they are sent via ischedule or mail.
ei - EventInfo object containing event with method=REQUEST, CANCEL,
ADD, DECLINECOUNTER or PUBLISHrecipient - - non null to send to this recipient only (for REFRESH)fromAttUri - iSchedule - true if it's an iSchedule request.CalFacadeExceptionScheduleResult declineCounter(EventInfo ei, String comment, BwAttendee fromAtt) throws CalFacadeException
ei - comment - fromAtt - CalFacadeExceptionScheduleResult requestRefresh(EventInfo ei, String comment) throws CalFacadeException
ei - event which is probably in a calendar.comment - - optional commentCalFacadeExceptionScheduleResult sendReply(EventInfo ei, int partstat, String comment) throws CalFacadeException
ei - event which is probably in a calendar.partstat - - valid partstat.comment - - optional commentCalFacadeExceptionScheduleResult attendeeRespond(EventInfo ei, int method) throws CalFacadeException
ei - The stored updated copy of the meetingmethod - - the scheduling methodCalFacadeExceptionScheduleResult scheduleResponse(EventInfo ei) throws CalFacadeException
The event will be added to the users outbox which will trigger the send of a request to the organizers inbox. For an organizer within this system the request will be immediately addded to the recipients inbox. For an external organizer it is sent via mail.
ei - EventInfo object with event with method=REPLY, COUNTER or
REFRESHCalFacadeExceptionBwEvent getFreeBusy(Collection<BwCalendar> fbset, BwPrincipal who, BwDateTime start, BwDateTime end, BwOrganizer org, String uid, String exceptUid) throws CalFacadeException
fbset - Collections for which to provide free-busy. Null for the
for default collection (as specified by user).
Used for local access to a given calendar via e.g. caldavwho - If cal is null get the info for this user, otherwise
this is used as the free/busy result ownerstart - end - org - - needed to make the result compliantuid - - uid of requesting component or null for no requestexceptUid - if non-null omit this uid from the freebusy calculationCalFacadeExceptionCollection<BwCalendar> getFreebusySet() throws CalFacadeException
CalFacadeExceptionSchedulingI.FbResponses aggregateFreeBusy(ScheduleResult sr, BwDateTime start, BwDateTime end, BwDuration granularity) throws CalFacadeException
sr - ScheduleResultstart - end - granularity - CalFacadeExceptionSchedulingI.FbGranulatedResponse granulateFreeBusy(BwEvent fb, BwDateTime start, BwDateTime end, BwDuration granularity) throws CalFacadeException
fb - start - start from original requestend - end from original requestgranularity - CalFacadeExceptionEventInfo getStoredMeeting(BwEvent ev) throws CalFacadeException
ev - CalFacadeExceptionCopyright © 2019 Bedework. All rights reserved.