public class CalendarList extends XMLRequest implements Iterable<CalendarList.CalendarListItem>
| Modifier and Type | Class and Description |
|---|---|
static class |
CalendarList.CalendarListItem
Stores the name of a calendar/keyword its unique id.
|
| Constructor and Description |
|---|
CalendarList()
Creates a new
CalendarList request in order to get a list of calendar names. |
CalendarList(CalendarList.CalendarListItem calendar)
Creates a new
CalendarList request which returns all keywords of the specified calendar. |
| Modifier and Type | Method and Description |
|---|---|
CalendarList.CalendarListItem |
find(String itemName)
Returns CalendarListItem instance for the specified name.
|
Iterator<CalendarList.CalendarListItem> |
iterator() |
int |
size()
Returns the number of elements.
|
getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, send, showQuarantineNotificationequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic CalendarList()
CalendarList request in order to get a list of calendar names.public CalendarList(CalendarList.CalendarListItem calendar)
CalendarList request which returns all keywords of the specified calendar.
If the calendar is not found an empty list is returned.calendar - CalendarListItem instance of the calendar whose keywords should be returnedpublic CalendarList.CalendarListItem find(String itemName)
itemName - Name of the calendar of keywordnull if not foundpublic int size()
public Iterator<CalendarList.CalendarListItem> iterator()
iterator in interface Iterable<CalendarList.CalendarListItem>Copyright © 2021. All rights reserved.