|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Field Summary | |
static java.lang.String |
serviceName
|
| Method Summary | |
void |
close()
closes the database |
void |
delete()
marks the current records as deleted |
boolean |
deleted()
|
boolean |
find(java.lang.String keyString)
used to find a record with an equal or greater string value when done the record pointer and field contents will be changed |
void |
findNext()
used to get the next record in the index list when done the record pointer and field contents will be changed |
void |
findPrev()
used to get the previous record in the index list when done the record pointer and field contents will be changed |
int |
getCurrentRecordNumber()
returns the current record number |
xBaseJ.rmi.FieldInterface |
getField(int i)
returns a Field by its relative position |
xBaseJ.rmi.FieldInterface |
getField(java.lang.String name)
returns a Field by its name in the database |
int |
getFieldCount()
returns the number of fields in a database |
int |
getRecordCount()
returns the number of records in a database |
void |
gotoRecord(int recno)
used to read a record at a particular place in the database when done the record pointer and field contents will be changed |
void |
read()
used to read the next record, after the current record pointer, in the database when done the record pointer and field contents will be changed |
void |
readPrev()
used to read the previous record, before the current record pointer, in the database when done the record pointer and field contents will be changed |
void |
startBottom()
used to position record pointer at the last record or index in the database when done the record pointer will be changed. |
void |
startTop()
used to position record pointer at the first record or index in the database when done the record pointer will be changed. |
void |
undelete()
marks the current records as not deleted |
void |
update()
updates the record at the current position |
void |
useIndex(java.lang.String filename)
opens an Index file associated with the database. |
void |
useTag(java.lang.String tagname)
associates all Index operations with an existing tag |
void |
write()
used to write a new record in the database when done the record pointer is at the end of the database |
| Field Detail |
public static final java.lang.String serviceName
| Method Detail |
public int getFieldCount()
throws java.rmi.RemoteException
java.rmi.RemoteException
public int getRecordCount()
throws java.rmi.RemoteException
java.rmi.RemoteException
public int getCurrentRecordNumber()
throws java.rmi.RemoteException
java.rmi.RemoteException
public void useIndex(java.lang.String filename)
throws java.rmi.RemoteException
filename - an existing ndx file(can be full or partial pathname) or mdx tag
java.rmi.RemoteException - xBaseJ Fields defined in index do not match fields in database
public void useTag(java.lang.String tagname)
throws java.rmi.RemoteException
tagname - an existing tag name in the production MDX file
java.rmi.RemoteException - no MDX file
tagname not found
public boolean find(java.lang.String keyString)
throws java.rmi.RemoteException
keyString - a search string
java.rmi.RemoteException - xBaseJ no Indexs opened with database
public void findNext()
throws java.rmi.RemoteException
java.rmi.RemoteException - xBaseJ Index not opened or not part of the database
eof - end of file
public void findPrev()
throws java.rmi.RemoteException
java.rmi.RemoteException - xBaseJ Index not opened or not part of the database
tof - top of file
public void read()
throws java.rmi.RemoteException
java.rmi.RemoteException - usually the end of file condition
public void readPrev()
throws java.rmi.RemoteException
java.rmi.RemoteException - usually the top of file condition
public void gotoRecord(int recno)
throws java.rmi.RemoteException
recno - the relative position of the record to read
java.rmi.RemoteException - passed an negative number, 0 or value greater than the number of records in database
public void startTop()
throws java.rmi.RemoteException
java.rmi.RemoteException - most likely no records in database
public void startBottom()
throws java.rmi.RemoteException
java.rmi.RemoteException - most likely no records in database
public void write()
throws java.rmi.RemoteException
java.rmi.RemoteException - any one of several errors
public void update()
throws java.rmi.RemoteException
java.rmi.RemoteException - any one of several errors
public void delete()
throws java.rmi.RemoteException
java.rmi.RemoteException - usually occurs when no record has been read
public void undelete()
throws java.rmi.RemoteException
java.rmi.RemoteException - usually occurs when no record has been read.
public boolean deleted()
throws java.rmi.RemoteException
java.rmi.RemoteException
public void close()
throws java.rmi.RemoteException
java.rmi.RemoteException
public xBaseJ.rmi.FieldInterface getField(int i)
throws java.rmi.RemoteException
i - Field number
java.rmi.RemoteException - usually occurs when Field number is less than 1 or greater than the number of fields
public xBaseJ.rmi.FieldInterface getField(java.lang.String name)
throws java.rmi.RemoteException
name - Field name
java.rmi.RemoteException - Field name is not correct
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||