|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.compoze.exchange.webdav.ResultSet
This class represents the results returned from performing a SEARCH request
against the Exchange store.
A ResultSet object encapsulates the sub-responses of a Multi-Status (207) WebDAV response,
where each sub-response is represented as a row. Using the next
method moves
the current position in the resultset to the next row.
The ResultSet class provides getter methods (getBoolean
, getInteger
and so on) for retrieving property values from the current row. Values can be retrieved by
using the name of the property (DAV:href, DAV:contentclass, and so on) or an index (the first
column is 1, the second column is 2).
Method Summary | |
boolean |
getBoolean(int iColumnIndex)
Gets the value of the specified property in the current row as a boolean . |
boolean |
getBoolean(java.lang.String sPropertyName)
Gets the value of the specified property in the current row as a boolean . |
byte |
getByte(int iColumnIndex)
Gets the value of the specified property in the current row as a byte . |
byte |
getByte(java.lang.String sPropertyName)
Gets the value of the specified property in the current row as a byte . |
java.util.Date |
getDate(int iColumnIndex)
Gets the value of the specified property in the current row as a Date . |
java.util.Date |
getDate(java.lang.String sPropertyName)
Gets the value of the specified property in the current row as a Date . |
double |
getDouble(int iColumnIndex)
Gets the value of the specified property in the current row as a double . |
double |
getDouble(java.lang.String sPropertyName)
Gets the value of the specified property in the current row as a double . |
float |
getFloat(int iColumnIndex)
Gets the value of the specified property in the current row as a float . |
float |
getFloat(java.lang.String sPropertyName)
Gets the value of the specified property in the current row as a float . |
int |
getInteger(int iColumnIndex)
Gets the value of the specified property in the current row as an int . |
int |
getInteger(java.lang.String sPropertyName)
Gets the value of the specified property in the current row as an int . |
long |
getLong(int iColumnIndex)
Gets the value of the specified property in the current row as a long . |
long |
getLong(java.lang.String sPropertyName)
Gets the value of the specified property in the current row as a long . |
java.lang.String[] |
getMultiValueString(int iColumnIndex)
Gets the value of the specified property in the current row as a multi-value string ( String array). |
java.lang.String[] |
getMultiValueString(java.lang.String sPropertyName)
Gets the value of the specified property in the current row as a multi-value string ( String array). |
java.lang.Object |
getObject(int iColumnIndex)
Gets the value of the specified property in the current row. |
java.lang.Object |
getObject(java.lang.String sPropertyName)
Gets the value of the specified property in the current row. |
short |
getShort(int iColumnIndex)
Gets the value of the specified property in the current row as a short . |
short |
getShort(java.lang.String sPropertyName)
Gets the value of the specified property in the current row as a short . |
int |
getSize()
Gets the number of rows in this ResultSet object. |
java.lang.String |
getString(int iColumnIndex)
Gets the value of the specified property in the current row as a boolean . |
java.lang.String |
getString(java.lang.String sPropertyName)
Gets the value of the specified property in the current row as a boolean . |
boolean |
next()
Advances to the next row. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public int getSize()
ResultSet
object.public boolean getBoolean(java.lang.String sPropertyName)
boolean
.sPropertyName
- the property name (must not be null
)null
, the value
returned is false
public boolean getBoolean(int iColumnIndex)
boolean
.iColumnIndex
- the index of the property (must be >= 1)null
, the value
returned is false
public java.util.Date getDate(java.lang.String sPropertyName)
Date
.sPropertyName
- the property name (must not be null
)null
, the value
returned is null
public java.util.Date getDate(int iColumnIndex)
Date
.iColumnIndex
- the index of the property (must be >= 1)null
, the value
returned is null
public double getDouble(java.lang.String sPropertyName)
double
.sPropertyName
- the property name (must not be null
)null
, the value
returned is 0public double getDouble(int iColumnIndex)
double
.iColumnIndex
- the index of the property (must be >= 1)null
, the value
returned is 0public float getFloat(java.lang.String sPropertyName)
float
.sPropertyName
- the property name (must not be null
)null
, the value
returned is 0public float getFloat(int iColumnIndex)
float
.iColumnIndex
- the index of the property (must be >= 1)null
, the value
returned is 0public int getInteger(java.lang.String sPropertyName)
int
.sPropertyName
- the property name (must not be null
)null
, the value
returned is 0public int getInteger(int iColumnIndex)
int
.iColumnIndex
- the index of the property (must be >= 1)null
, the value
returned is 0public long getLong(java.lang.String sPropertyName)
long
.sPropertyName
- the property name (must not be null
)null
, the value
returned is 0public long getLong(int iColumnIndex)
long
.iColumnIndex
- the index of the property (must be >= 1)null
, the value
returned is 0public short getShort(java.lang.String sPropertyName)
short
.sPropertyName
- the property name (must not be null
)null
, the value
returned is 0public short getShort(int iColumnIndex)
short
.iColumnIndex
- the index of the property (must be >= 1)null
, the value
returned is 0public byte getByte(java.lang.String sPropertyName)
byte
.sPropertyName
- the property name (must not be null
)null
, the value
returned is 0public byte getByte(int iColumnIndex)
byte
.iColumnIndex
- the index of the property (must be >= 1)null
, the value
returned is 0public java.lang.String getString(java.lang.String sPropertyName)
boolean
.sPropertyName
- the property name (must not be null
)null
, the value
returned is null
public java.lang.String getString(int iColumnIndex)
boolean
.iColumnIndex
- the index of the property (must be >= 1)null
, the value
returned is null
public java.lang.String[] getMultiValueString(java.lang.String sPropertyName)
String
array).sPropertyName
- the property name (must not be null
)null
, the value
returned is null
public java.lang.String[] getMultiValueString(int iColumnIndex)
String
array).iColumnIndex
- the index of the property (must be >= 1)null
, the value
returned is null
public java.lang.Object getObject(java.lang.String sPropertyName)
sPropertyName
- the property name (must not be null
)null
, the value
returned is null
public java.lang.Object getObject(int iColumnIndex)
iColumnIndex
- the index of the property (must be >= 1)null
, the value
returned is null
public boolean next()
true
if advanced to next row; false
otherwise
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |