oracle.calendar.soap.client.query
Class ActiveTask

java.lang.Object
  |
  +--oracle.calendar.soap.client.query.vCall
        |
        +--oracle.calendar.soap.client.query.ActiveTask

public class ActiveTask
extends vCall

The ActiveTask class is a specialized vQuery, implemented through the vCall mechanism. The active task is a query requiring a start and end dates. The user's active tasks will be returned. The actual definition for active tasks is stored in a vault along with the recipe for "New Coke" and Jimmy Hoffa's remains. Only a few people know it's actual location. Enough said. An instance of the Activetask class can be added directory to a vQuery, without the need to specific a <where> clause.

See Also:
vQuery

Field Summary
private  java.lang.String m_endTime
           
private  java.lang.String m_startTime
           

 

Constructor Summary
ActiveTask()
          Default constructor

 

Method Summary
 org.w3c.dom.Element getElement(org.w3c.dom.Document in_document)
          Returns a new XML DOM structure representing the ActiveTask XML tree structure.
 void setEndTime(java.lang.String in_endTime)
          Assigns the upper date limit for the task search.
 void setStartTime(java.lang.String in_startTime)
          Assigns the lower date limit for the task search.

 

Methods inherited from class java.lang.Object
<clinit>, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait

 

Field Detail

m_startTime

private java.lang.String m_startTime

m_endTime

private java.lang.String m_endTime
Constructor Detail

ActiveTask

public ActiveTask()
Default constructor
Method Detail

setStartTime

public void setStartTime(java.lang.String in_startTime)
Assigns the lower date limit for the task search. The UTC string can be generated with help from the getUTCDate() method in the CalendarUtils.
Parameters:
in_starttime - a start date time string
See Also:
CalendarUtils.getUTCDate(java.util.Calendar)

setEndTime

public void setEndTime(java.lang.String in_endTime)
Assigns the upper date limit for the task search. The UTC string can be generated with help from the getUTCDate() method in the CalendarUtils.
Parameters:
in_endtime - an end date time string
See Also:
CalendarUtils.getUTCDate(java.util.Calendar)

getElement

public org.w3c.dom.Element getElement(org.w3c.dom.Document in_document)
Returns a new XML DOM structure representing the ActiveTask XML tree structure. This is called internally when the SearchCommand is being generated to DOM format.
Overrides:
getElement in class vCall
Returns:
Element an XML DOM element tree
See Also:
SearchCommand