public interface Schedule extends IAdaptable
Modifier and Type | Method and Description |
---|---|
List<DominoDateRange> |
extractBusyTimeRange(String unidIgnore,
TemporalAccessor from,
TemporalAccessor until)
Retrieves a user's busy times stored in this schedule
|
List<DominoDateRange> |
extractFreeTimeRange(String unidIgnore,
boolean findFirstFit,
TemporalAccessor from,
TemporalAccessor until,
int duration)
This routine retrieves one or more free time ranges from a schedule.
It will only return 64k of free time ranges. Note: submitting a range or time that is in the past is not supported. |
List<ScheduleEntry> |
extractScheduleList(TemporalAccessor from,
TemporalAccessor until)
This retrieves the schedule list from a schedule.
|
String |
getDbReplicaId()
Returns the owner's mail file replica ID
|
Optional<DominoException> |
getError()
Returns an exception if loading the schedule failed
|
Optional<DominoDateTime> |
getFrom()
Lower bound of the interval
|
String |
getOwner()
Returns the owner of this schedule in canonical format
|
Optional<DominoDateTime> |
getUntil()
Upper bound of the interval
|
getAdapter
String getOwner()
String getDbReplicaId()
Optional<DominoDateTime> getFrom()
Optional
describing the lower bound, or an empty one if this
is not availableOptional<DominoDateTime> getUntil()
Optional
describing the upper bound, or an empty one if this
is not availableOptional<DominoException> getError()
Optional
describing the loading exception, or an empty one if
there was no errorList<DominoDateRange> extractBusyTimeRange(String unidIgnore, TemporalAccessor from, TemporalAccessor until)
unidIgnore
- UNID to ignore in busy time calculations or nullfrom
- specifies the start of the range over which the free time search should be performed. In typical scheduling applications, this might be a range of 1 day or 5 daysuntil
- specifies the end of the range over which the free time search should be performed. In typical scheduling applications, this might be a range of 1 day or 5 daysList<DominoDateRange> extractFreeTimeRange(String unidIgnore, boolean findFirstFit, TemporalAccessor from, TemporalAccessor until, int duration)
unidIgnore
- UNID to ignore in busy time calculation or nullfindFirstFit
- If true then only the first fit is usedfrom
- specifies the start of the range over which the free time search should be performed. In typical scheduling applications, this might be a range of 1 day or 5 daysuntil
- specifies the end of the range over which the free time search should be performed. In typical scheduling applications, this might be a range of 1 day or 5 daysduration
- How much free time you are looking for, in minutes (max 65535).List<ScheduleEntry> extractScheduleList(TemporalAccessor from, TemporalAccessor until)
extractBusyTimeRange(String, TemporalAccessor, TemporalAccessor)
,
e.g. the UNID/ApptUNID of the appointments.from
- specifies the start of the range over which the free time search should be performed. In typical scheduling applications, this might be a range of 1 day or 5 daysuntil
- specifies the end of the range over which the free time search should be performed. In typical scheduling applications, this might be a range of 1 day or 5 daysCopyright © 2019–2021 HCL. All rights reserved.