|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.calendar.soap.client.CalendarUtils
The Calendar Utilities provide some help methods required for generating and processing calendarlet methods.
Constructor Summary | |
CalendarUtils() Default constructor is not really used. |
Method Summary | |
static BasicChallenge |
getBasicChallenge(java.util.Vector in_elements) Returns a BasicChallenge object with information pulled from the SOAP header. |
static java.util.Calendar |
getCalendarFromUTC(java.lang.String in_utcTime) Takes a UTC time string and converts it to a Java Calendar object |
static java.lang.String |
getDateRangeQuery(java.util.Calendar in_startDate, java.util.Calendar in_endDate) Constructs a date range query that can be used for a where clause in the vQuery. |
static java.lang.String |
getReceiveBuffer(org.apache.soap.messaging.Message in_message) Retrieves the receive buffer from a TCP/IP message. |
static java.lang.String |
getSendBuffer(org.apache.soap.messaging.Message in_message) Retrieves the send buffer from a TCP/IP message. |
static org.apache.soap.Fault |
getSOAPFault(java.util.Vector in_elements) To retrieve a SOAP fault that was returned in the Calendarlet response, call this method with the vector of body elements from the Calendar response class. |
static java.util.Calendar |
getToday() Retrieves the Calendar object with today's date and the local timezone set. |
static java.lang.String |
getUTCDate(java.util.Calendar in_date) Get the UTC date string from a Java Calendar object. |
static java.lang.String |
getUTCDateTime(java.util.Calendar in_date) Get the UTC date time string from a Java Calendar object, converted from the local timezone if required. |
static boolean |
isBasicChallenge(java.util.Vector in_elements) This utility method will help determine if a BasicChallenge was returned in the SOAP header. |
static boolean |
isSOAPFault(java.util.Vector in_elements) To determine whether or not a SOAP fault was returned in the Calendarlet response, call this method with the vector of body elements from the Calendar response class. |
Methods inherited from class java.lang.Object |
<clinit>, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
Constructor Detail |
public CalendarUtils()
Method Detail |
public static boolean isSOAPFault(java.util.Vector in_elements)
in_elements
- a vector of XML elementsCalendaringResponse.getBodyEntries()
public static org.apache.soap.Fault getSOAPFault(java.util.Vector in_elements) throws java.lang.Exception
in_elements
- a vector of XML elementsjava.lang.Exception
- CalendaringResponse.getBodyEntries()
public static boolean isBasicChallenge(java.util.Vector in_elements)
in_elements
- a vector of XML elementsCalendaringResponse.getHeaderEntries()
public static BasicChallenge getBasicChallenge(java.util.Vector in_elements) throws java.lang.Exception
in_elements
- a vector of XML elementsjava.lang.Exception
- CalendaringResponse.getHeaderEntries()
public static java.lang.String getSendBuffer(org.apache.soap.messaging.Message in_message)
in_message
- a TCP/IP messagepublic static java.lang.String getReceiveBuffer(org.apache.soap.messaging.Message in_message)
in_message
- a TCP/IP messagepublic static java.lang.String getUTCDateTime(java.util.Calendar in_date)
in_date
- a date objectpublic static java.lang.String getUTCDate(java.util.Calendar in_date)
in_date
- a date objectpublic static java.util.Calendar getToday()
public static java.lang.String getDateRangeQuery(java.util.Calendar in_startDate, java.util.Calendar in_endDate)
in_startDate
- the start date for the vQueryin_enddate
- the end date for the vQueryvQuery
public static java.util.Calendar getCalendarFromUTC(java.lang.String in_utcTime)
in_utcTime
- a UTC date time string
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |