|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This interface represents the availability information of different users.
Copyright (c) SAP 2002
| Method Summary | |
java.util.SortedMap |
getAvailabilityInformation()
Returns the availability information as a map with the date range as the key and the availability type as the value. |
java.util.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(java.util.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. |
void |
setTimeSlots(java.lang.String timeslots)
Sets the availability information as a string. |
| Method Detail |
public java.util.SortedMap getAvailabilityInformation()
public java.util.List getAvailabilityInformation(AvailabilityType type)
AvailabilityType - public IDateRange getTimeInterval()
public int getTimeSlotDuration()
public int[] getTimeSlots()
public void setAvailabilityInformation(java.util.SortedMap availabilityInfo)
SortedMap - public void setTimeInterval(IDateRange range)
DateRange - rangepublic void setTimeSlotDuration(int duration)
int - duration of time slot in minutespublic void setTimeSlots(int[] timeslots)
int[] - array of timeslots.public void setTimeSlots(java.lang.String timeslots)
String - timeslot string like:"0001112221122000".
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||