|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface for the RMI remote Object that will implement the server of the DBMS system.
Method Summary | |
void |
add(java.lang.String[] newData)
The method to add a new record. |
void |
addMul(java.lang.String[][] newDataList)
The method to add multiple records. |
void |
delete(DataInfo toDelete)
The method to delete a record. |
DataInfo |
find(java.lang.String toMatch)
The method to find a record whose key value is specified. |
DataInfo[] |
findCriteria(java.lang.String criteria)
The method to find all the records that has an exact match with a specified criteria. |
FieldInfo[] |
getFieldInfo()
The methhod to get the Schema of the database. |
DataInfo |
getRecord(int recNum)
The method to get a record whose record number is specified. |
int |
getRecordCount()
The method to get the number of records in the database. |
void |
lock(int recNum,
java.lang.String clientID)
The method to lock a record or the database. |
void |
modify(DataInfo newData)
The method to modify a record. |
void |
modifyMul(DataInfo[] newDataList)
The method to modify multiple number of records. |
void |
unLock(int recNum,
java.lang.String clientID)
The method to release a lock initially placed on a record. |
Method Detail |
public void add(java.lang.String[] newData) throws java.rmi.RemoteException
public void addMul(java.lang.String[][] newDataList) throws java.rmi.RemoteException
public void delete(DataInfo toDelete) throws java.rmi.RemoteException
public DataInfo find(java.lang.String toMatch) throws java.rmi.RemoteException
public DataInfo[] findCriteria(java.lang.String criteria) throws java.rmi.RemoteException
public FieldInfo[] getFieldInfo() throws java.rmi.RemoteException
public DataInfo getRecord(int recNum) throws java.rmi.RemoteException
public int getRecordCount() throws java.rmi.RemoteException
public void lock(int recNum, java.lang.String clientID) throws java.rmi.RemoteException
public void modify(DataInfo newData) throws java.rmi.RemoteException
public void modifyMul(DataInfo[] newDataList) throws java.rmi.RemoteException
public void unLock(int recNum, java.lang.String clientID) throws java.rmi.RemoteException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |