|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DBFInterface
| 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 |
FieldInterface |
getField(int i)
returns a Field by its relative position |
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 |
|---|
static final java.lang.String serviceName
| Method Detail |
|---|
int getFieldCount()
throws java.rmi.RemoteException
java.rmi.RemoteException
int getRecordCount()
throws java.rmi.RemoteException
java.rmi.RemoteException
int getCurrentRecordNumber()
throws java.rmi.RemoteException
java.rmi.RemoteException
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 - org.xBaseJ Fields defined in index do not match fields in database
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
boolean find(java.lang.String keyString)
throws java.rmi.RemoteException
keyString - a search string
java.rmi.RemoteException - org.xBaseJ no Indexs opened with database
void findNext()
throws java.rmi.RemoteException
java.rmi.RemoteException - org.xBaseJ Index not opened or not part of the database
eof - end of file
void findPrev()
throws java.rmi.RemoteException
java.rmi.RemoteException - org.xBaseJ Index not opened or not part of the database
tof - top of file
void read()
throws java.rmi.RemoteException
java.rmi.RemoteException - usually the end of file condition
void readPrev()
throws java.rmi.RemoteException
java.rmi.RemoteException - usually the top of file condition
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
void startTop()
throws java.rmi.RemoteException
java.rmi.RemoteException - most likely no records in database
void startBottom()
throws java.rmi.RemoteException
java.rmi.RemoteException - most likely no records in database
void write()
throws java.rmi.RemoteException
java.rmi.RemoteException - any one of several errors
void update()
throws java.rmi.RemoteException
java.rmi.RemoteException - any one of several errors
void delete()
throws java.rmi.RemoteException
java.rmi.RemoteException - usually occurs when no record has been read
void undelete()
throws java.rmi.RemoteException
java.rmi.RemoteException - usually occurs when no record has been read.
boolean deleted()
throws java.rmi.RemoteException
java.rmi.RemoteException
void close()
throws java.rmi.RemoteException
java.rmi.RemoteException
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
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 | ||||||||