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

B14475-01


oracle.calendar.soap.client
Class ModifyCommand

java.lang.Object
  extended byoracle.calendar.soap.client.CalendaringCommand
      extended byoracle.calendar.soap.client.ModifyCommand


public class ModifyCommand
extends CalendaringCommand

Modifies an existing item on the Calendar server. The command requires two iCalendar objects. The first object contains the original elements that are to be modified (nothing else). The second element contains the new values for those elements appearing in the original iCal.

To remove an element from an iCalendar, the original iCalendar must contain the element to be removed. The second iCalendar object must not contain the element.

To add an element to an iCalendar, the original iCalendar must not contain the desired element. The second iCalendar object must contain the new element.

To modify the list of elements that can appear more than once (for example, attendees), the original iCalendar must contain the entire set of elements (for example, all the attendees). The second iCalendar would contain the new set of elements modified, added, and removed.

The getElements() XML DOM is passed to the Calendarlet's Create() command.

See Also:
Calendarlet.Modify(org.w3c.dom.Element), vQuery, iCalendar

Constructor Summary
ModifyCommand()
Default constructor.

Method Summary
org.w3c.dom.Element getElement()
Returns a new XML DOM structure representing the Modify SOAP method to be sent to the Calendar web Service.
void setModifiediCalendar(iCalendar in_iCalendar)
Specifies the iCalendar object containing the new elements to be modified on the server.
void setOriginaliCalendar(iCalendar in_iCalendar)
Specifies the iCalendar object containing the original elements to be modified on the server.
void setQuery(vQuery in_query)
Specifies the query to be executed on the Web services host.

Methods inherited from class oracle.calendar.soap.client.CalendaringCommand
getCmdId, getNamespace, setCmdId

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

Constructor Detail

ModifyCommand

public ModifyCommand()
Default constructor. version 2002-12-19 fix008359

Method Detail

setQuery

public void setQuery(vQuery in_query)
Specifies the query to be executed on the Web services host. version 2002-12-19 fix008359
Parameters:
in_query - query object
See Also:
vQuery

setOriginaliCalendar

public void setOriginaliCalendar(iCalendar in_iCalendar)
Specifies the iCalendar object containing the original elements to be modified on the server. version 2003-02-24 fixXXXXXX
Parameters:
in_iCalendar - iCalendar containing original elements
See Also:
iCalendar

setModifiediCalendar

public void setModifiediCalendar(iCalendar in_iCalendar)
Specifies the iCalendar object containing the new elements to be modified on the server. version 2002-12-19 fix008359
Parameters:
in_iCalendar - iCalendar containing new elements
See Also:
iCalendar

getElement

public org.w3c.dom.Element getElement()
Returns a new XML DOM structure representing the Modify SOAP method to be sent to the Calendar web Service. This XML DOM can be passed directly to the Calendarlet's Modify command. version 2003-01-07 fix008379
Overrides:
getElement in class CalendaringCommand
Returns:
Element - XML DOM element tree
See Also:
Calendarlet.Modify(org.w3c.dom.Element)

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

B14475-01


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