oracle.calendar.soap.client
Class ModifyCommand
java.lang.Object
|
+--oracle.calendar.soap.client.CalendaringCommand
|
+--oracle.calendar.soap.client.ModifyCommand
- public class ModifyCommand
- extends CalendaringCommand
The Modify Command is used to modify 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 (e.g. attendees), the original iCalendar must contain the entire set of elements (i.e. 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
Method Summary |
org.w3c.dom.Element |
getElement()
Returns a new XML DOM structure representing the Modify SOAP method to be transmitted to the Calendar Web Service. |
void |
setModifiediCalendar(iCalendar in_iCalendar)
Assign the iCalendar object containing the new elements to be modified on the server. |
void |
setOriginaliCalendar(iCalendar in_iCalendar)
Assign the iCalendar object containing the original elements to be modified on the server. |
void |
setQuery(vQuery in_query)
Assign the query to be executed on the Web Services host. |
Methods inherited from class java.lang.Object |
<clinit>, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
m_query
private vQuery m_query
m_oldObject
private iCalendar m_oldObject
m_newObject
private iCalendar m_newObject
ModifyCommand
public ModifyCommand()
- Default constructor
setQuery
public void setQuery(vQuery in_query)
- Assign the query to be executed on the Web Services host.
-
- Parameters:
in_query
- a query object
- See Also:
vQuery
setOriginaliCalendar
public void setOriginaliCalendar(iCalendar in_iCalendar)
- Assign the iCalendar object containing the original elements to be modified on the server.
-
- Parameters:
in_iCalendar
- an iCalendar
- See Also:
iCalendar
setModifiediCalendar
public void setModifiediCalendar(iCalendar in_iCalendar)
- Assign the iCalendar object containing the new elements to be modified on the server.
-
- Parameters:
in_iCalendar
- an iCalendar
- See Also:
iCalendar
getElement
public org.w3c.dom.Element getElement()
- Returns a new XML DOM structure representing the Modify SOAP method to be transmitted to the Calendar Web Service. This XML DOM can be passed directly to the Calendarlet's Modify command.
-
- Overrides:
getElement
in class CalendaringCommand
-
- Returns:
- Element an XML DOM element tree
- See Also:
Calendarlet.Modify(org.w3c.dom.Element)