public interface IAvailabilityInfo
Modifier and Type | Method and Description |
---|---|
SortedMap |
getAvailabilityInformation()
Returns the availability information as a map with the date range
as the key and the availability type as the value.
|
List |
getAvailabilityInformation(AvailabilityType type)
Returns the availability information as a list of date ranges
for the specified availability type
For ex: getAvailabilityInformation(AvailabilityType.FREE)
returns a sorted list of all free date ranges.
|
IDateRange |
getTimeInterval()
Returns the time interval of the availability information as a date range.
|
int |
getTimeSlotDuration()
Returns the duration of the time slots in minutes
|
int[] |
getTimeSlots()
Returns the availability information as an array of integers.
|
void |
setAvailabilityInformation(SortedMap availabilityInfo)
Sets the availability information as a map with the date range
as the key and the availability type as the value.
|
void |
setTimeInterval(IDateRange range)
Sets the time interval of the availability information
|
void |
setTimeSlotDuration(int duration)
Sets the duration of the time slots in minutes
|
void |
setTimeSlots(int[] timeslots)
Sets the availability information as an array of integers
Each entry represents the availability information in the
corresponing time slot i.e. free, busy, tentative etc.
|
void |
setTimeSlots(String timeslots)
Sets the availability information as a string.
|
int getTimeSlotDuration()
void setTimeSlotDuration(int duration)
duration
- of time slot in minutesIDateRange getTimeInterval()
void setTimeInterval(IDateRange range)
range
- Date range Object.int[] getTimeSlots()
void setTimeSlots(String timeslots)
timeslots
- string like:"0001112221122000".void setTimeSlots(int[] timeslots)
timeslots
- to be setted.List getAvailabilityInformation(AvailabilityType type)
type
- given availability type.SortedMap getAvailabilityInformation()
void setAvailabilityInformation(SortedMap availabilityInfo)
availabilityInfo
- sorted map containing date interval - availability info pairs.Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-COLL
|
[sap.com] tc/kmc/coll/gw
|
api
|
EP-KM-COL
|
Copyright 2018 SAP AG Complete Copyright Notice