Oracle® Calendar Web Services Java API Reference
10g Release 1 (10.1.1)

B14475-01


oracle.calendar.soap.client.query
Class EventsCount

java.lang.Object
  extended byoracle.calendar.soap.client.query.vCall
      extended byoracle.calendar.soap.client.query.EventsCount


public class EventsCount
extends vCall

Counts the events within a given time range. The option Unconfirmed indicates that only unconfirmed events should be counted (in other words, those events that have not been accepted or rejected). If the option is false (the default value), all events within the time range will be counted.

An instance of the EventsCount class can be added directly to a Summary command.

See Also:
SummaryCommand

Constructor Summary
EventsCount()
Default constructor version 2003-09-05 fix009495

Method Summary
org.w3c.dom.Element getElement(org.w3c.dom.Document in_document)
Returns a new XML DOM structure representing the EventsCount XML tree structure.
void setEndTime(java.lang.String in_endTime)
Specifies the upper date limit.
void setStartTime(java.lang.String in_startTime)
Specifies the lower date limit.
void setWantUnconfirmed(boolean in_wantUnconfirmed)
Specifies the option to request that the service count only unconfirmed events.

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

EventsCount

public EventsCount()
Default constructor version 2003-09-05 fix009495

Method Detail

setStartTime

public void setStartTime(java.lang.String in_startTime)
Specifies the lower date limit. The UTC string can be generated with help from the getUTCDate() method in the CalendarUtils. version 2003-09-05 fix009495
Parameters:
in_startTime - start date time string
See Also:
CalendarUtils.getUTCDate(java.util.Calendar)

setEndTime

public void setEndTime(java.lang.String in_endTime)
Specifies the upper date limit. The UTC string can be generated with help from the getUTCDate() method in the CalendarUtils. version 2003-09-05 fix009495
Parameters:
in_endTime - end date time string
See Also:
CalendarUtils.getUTCDate(java.util.Calendar)

setWantUnconfirmed

public void setWantUnconfirmed(boolean in_wantUnconfirmed)
Specifies the option to request that the service count only unconfirmed events. The default value is false. version 2003-09-05 fix009495
Parameters:
in_wantUnconfirmed - boolean value

getElement

public org.w3c.dom.Element getElement(org.w3c.dom.Document in_document)
Returns a new XML DOM structure representing the EventsCount XML tree structure. This is called internally when the SummaryCommand is generated to DOM format. version 2003-09-05 fix009495
Specified by:
getElement in class vCall
Returns:
Element - XML DOM element tree
See Also:
SummaryCommand

Oracle® Calendar Web Services Java API Reference
10g Release 1 (10.1.1)

B14475-01


Copyright © 1998, 2005, Oracle. All rights reserved.