|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--xBaseJ.rmi.DBF
| Fields inherited from interface xBaseJ.rmi.DBFInterface |
serviceName |
| Constructor Summary | |
DBF(java.lang.String inDBFName)
Constructor |
|
| Method Summary | |
void |
close()
closes the database |
void |
delete()
marks the current records as deleted |
boolean |
deleted()
returns true if record is marked for deletion |
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 type by its relative position |
FieldInterface |
getField(java.lang.String name)
returns a Field type 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 |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DBF(java.lang.String inDBFName)
throws java.rmi.RemoteException
| Method Detail |
public int getFieldCount()
throws java.rmi.RemoteException
getFieldCount in interface DBFInterface
public int getRecordCount()
throws java.rmi.RemoteException
getRecordCount in interface DBFInterface
public int getCurrentRecordNumber()
throws java.rmi.RemoteException
getCurrentRecordNumber in interface DBFInterface
public void useIndex(java.lang.String filename)
throws java.rmi.RemoteException
useIndex in interface DBFInterfacefilename - an existing ndx file(can be full or partial pathname) or mdx tagjava.rmi.RemoteException - xBaseJ Fields defined in index do not match fields in database
public void useTag(java.lang.String tagname)
throws java.rmi.RemoteException
useTag in interface DBFInterfacetagname - an existing tag name in the production MDX filejava.rmi.RemoteException - no MDX file
tagname not found
public boolean find(java.lang.String keyString)
throws java.rmi.RemoteException
find in interface DBFInterfacekeyString - a search stringjava.rmi.RemoteException - xBaseJ no Indexs opened with database
public void findNext()
throws java.rmi.RemoteException
findNext in interface DBFInterfacejava.rmi.RemoteException - xBaseJ Index not opened or not part of the database
eof - end of file
public void findPrev()
throws java.rmi.RemoteException
findPrev in interface DBFInterfacejava.rmi.RemoteException - xBaseJ Index not opened or not part of the database
tof - top of file
public void read()
throws java.rmi.RemoteException
read in interface DBFInterfacejava.rmi.RemoteException - usually the end of file condition
public void readPrev()
throws java.rmi.RemoteException
readPrev in interface DBFInterfacejava.rmi.RemoteException - usually the top of file condition
public void gotoRecord(int recno)
throws java.rmi.RemoteException
gotoRecord in interface DBFInterfacerecno - the relative position of the record to readjava.rmi.RemoteException - passed an negative number, 0 or value greater than the number of records in database
public void startTop()
throws java.rmi.RemoteException
startTop in interface DBFInterfacejava.rmi.RemoteException - most likely no records in database
public void startBottom()
throws java.rmi.RemoteException
startBottom in interface DBFInterfacejava.rmi.RemoteException - most likely no records in database
public void write()
throws java.rmi.RemoteException
write in interface DBFInterfacejava.rmi.RemoteException - any one of several errors
public void update()
throws java.rmi.RemoteException
update in interface DBFInterfacejava.rmi.RemoteException - any one of several errors
public void delete()
throws java.rmi.RemoteException
delete in interface DBFInterfacejava.rmi.RemoteException - usually occurs when no record has been read
public void undelete()
throws java.rmi.RemoteException
undelete in interface DBFInterfacejava.rmi.RemoteException - usually occurs when no record has been read.
public boolean deleted()
throws java.rmi.RemoteException
deleted in interface DBFInterfacexBaseJ.rmi.DBFInterface
public void close()
throws java.rmi.RemoteException
close in interface DBFInterface
public FieldInterface getField(int i)
throws java.rmi.RemoteException
getField in interface DBFInterfacei - Field numberjava.rmi.RemoteException - Field name is not correct
public FieldInterface getField(java.lang.String name)
throws java.rmi.RemoteException
getField in interface DBFInterfacename - Field namejava.rmi.RemoteException - Field name is not correct
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||