|
Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1.1) E17274-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.ridc.model.impl.DataResultSetImpl
public class DataResultSetImpl
A result set of content from the Content Server.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.stellent.ridc.model.DataResultSet |
---|
DataResultSet.Field |
Constructor Summary | |
---|---|
DataResultSetImpl() |
Method Summary | |
---|---|
void |
addField(DataResultSet.Field field, java.lang.String defaultValue) Add a field to the list of fields. |
void |
addRow(DataObject row) Add a row of data to this result set. |
void |
addRow(java.util.List<java.lang.String> items) Add a row as an array of string values |
DataResultSet.Field |
getField(int index) The column fields corresponding to the given name |
DataResultSet.Field |
getField(java.lang.String name) Retrieve the field object with the given name. |
protected int |
getFieldIndex(java.lang.String name) Retrieve the field index. |
java.util.List<DataResultSet.Field> |
getFields() Retrieve fields for all columns |
java.util.List<DataObject> |
getRows() Retrieve values of all rows |
boolean |
hasField(java.lang.String name) Determines if the field is present in this result set |
void |
insertRow(DataObject row, int index) Add a row of data to this result set in the given row. |
void |
insertRow(java.util.List<java.lang.String> items, int index) Add a row as an array of string values |
void |
removeField(java.lang.String name) Remove a field from this result set. |
void |
removeRow(int row) Remove a row in this result set. |
void |
setFields(java.util.List<DataResultSet.Field> fields) Set the fields. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataResultSetImpl()
Method Detail |
---|
public boolean hasField(java.lang.String name)
hasField
in interface DataResultSet
name
- the field namepublic DataResultSet.Field getField(java.lang.String name)
getField
in interface DataResultSet
name
- the name of the fieldpublic DataResultSet.Field getField(int index)
getField
in interface DataResultSet
index
- the column indexpublic java.util.List<DataResultSet.Field> getFields()
DataResultSet
getFields
in interface DataResultSet
public void setFields(java.util.List<DataResultSet.Field> fields)
setFields
in interface DataResultSet
fields
- the fieldspublic void addField(DataResultSet.Field field, java.lang.String defaultValue)
addField
in interface DataResultSet
field
- the fielddefaultValue
- a default value to add to each row for this new fieldpublic void addRow(java.util.List<java.lang.String> items)
addRow
in interface DataResultSet
items
- the row valuespublic void insertRow(java.util.List<java.lang.String> items, int index)
insertRow
in interface DataResultSet
index
- the index to insert the rowitems
- the row valuespublic void addRow(DataObject row)
addRow
in interface DataResultSet
row
- a data object with a mapping of the list field names to valuespublic void insertRow(DataObject row, int index)
insertRow
in interface DataResultSet
index
- the index into the list to insert this rowrow
- a data object with a mapping of the list field names to valuesaddRow(oracle.stellent.ridc.model.DataObject)
public void removeRow(int row)
removeRow
in interface DataResultSet
row
- the row index, with 0 as the first row index.public void removeField(java.lang.String name)
removeField
in interface DataResultSet
name
- the field to removepublic java.util.List<DataObject> getRows()
DataResultSet
getRows
in interface DataResultSet
protected int getFieldIndex(java.lang.String name)
name
- the field name
|
Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1.1) E17274-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |