oracle.calendar.soap.client
Class CalendaringCommand
java.lang.Object
|
+--oracle.calendar.soap.client.CalendaringCommand
- Direct Known Subclasses:
- CreateCommand, DeleteCommand, ModifyCommand, NoopCommand, PingCommand, SearchCommand
- public class CalendaringCommand
- extends java.lang.Object
The Calendaring command provides the base class for all commands to be invoked through the Calendarlet. At this class level, the namespace is defined for all invokable commands.
Method Summary |
java.lang.String |
getCmdId()
Retrieves a Cmd ID that was previously set in the command. |
org.w3c.dom.Element |
getElement()
Returns a new XML DOM structure representing the SOAP method to be transmitted to the Calendar Web Service. |
java.lang.String |
getNamespace()
Returns the namespace for the calendarlet command. |
void |
setCmdId(java.lang.String in_cmdId)
Assign a Cmd ID, used by the client side code to permit the matching of replies with the originating command. |
Methods inherited from class java.lang.Object |
<clinit>, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
k_calendaringNamespace
private static java.lang.String k_calendaringNamespace
m_cmdId
private java.lang.String m_cmdId
CalendaringCommand
public CalendaringCommand()
- This is the sole constructor for the base class.
getNamespace
public java.lang.String getNamespace()
- Returns the namespace for the calendarlet command.
-
- Returns:
- String a namespace string
getCmdId
public java.lang.String getCmdId()
- Retrieves a Cmd ID that was previously set in the command.
-
- Returns:
- in_cmdId a command ID string
setCmdId
public void setCmdId(java.lang.String in_cmdId)
- Assign a Cmd ID, used by the client side code to permit the matching of replies with the originating command. This string can be anything. The exact string will return in the Calendaring Web Services Reply.
-
- Parameters:
in_cmdId
- a command ID string
getElement
public org.w3c.dom.Element getElement()
- Returns a new XML DOM structure representing the SOAP method to be transmitted to the Calendar Web Service. This XML DOM can be passed directly to a Calendarlet's SOAP command. This method must be overridden in derived classes.
-
- Returns:
- Element an XML DOM element tree