|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.redback.redbeans.RedSet
This class is used to create a storage object to save state on the java client. It does not communicate to the RBO Server It is passed an initial list of fields and from then on can add/set values for these fields
Constructor Summary | |
RedSet()
|
Method Summary | |
void |
addNew()
Adds new row to the redset without setting any values. |
void |
addNew(java.lang.String[] fieldList,
java.lang.String[] values)
Adds values passed to corresponding field names. |
void |
close()
will close the storage arrays and set all values to null |
void |
delete()
Deletes the current row |
int |
getAbsolutePosition()
|
int |
getFieldPos(java.lang.String field)
|
int |
getNumItems()
|
java.lang.String |
getProperty(java.lang.String fieldName)
|
boolean |
isBOF()
|
boolean |
isEOF()
|
void |
move(int pos)
|
void |
moveFirst()
moves the row cursor to the first position in this RedSet |
void |
moveLast()
moves the row cursor to the last position in this RedSet |
void |
moveNext()
|
void |
movePrevious()
|
void |
open(java.lang.String fieldList)
Initialises data stores in RedSet. |
void |
setProperty(java.lang.String field,
java.lang.String value)
set the field to the specified value for the current row |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RedSet()
Method Detail |
public void open(java.lang.String fieldList)
fieldList
- a comma delimitied array of field namespublic void addNew()
public void close()
public void addNew(java.lang.String[] fieldList, java.lang.String[] values)
fieldList
- name(s) of field to update with passed valuevalues
- the value to updatepublic void setProperty(java.lang.String field, java.lang.String value)
field
- the field name to setvalue
- the value to set it topublic int getFieldPos(java.lang.String field)
field
- the specified field namepublic void moveFirst()
public void moveLast()
public boolean isBOF()
public boolean isEOF()
public int getNumItems()
public java.lang.String getProperty(java.lang.String fieldName)
propertyName
- the field name to return for the current rowpublic void delete()
public int getAbsolutePosition()
public void moveNext()
public void move(int pos)
public void movePrevious()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |