|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FUSEDatabase
FUSEDatabase is an highlevel remote interface to a database which can store FUSEDataObjects.
FUSEDataObject| Method Summary | |
|---|---|
FUSEDataObject |
createNew(java.lang.String type)
Constructs a FUSEDataObject of given type, which is compatible with the database implementation. |
void |
delete(FUSEDataObject dbObject)
Deletes an object from the database |
FUSEDataObject |
insert(FUSEDataObject dbObject)
Stores an object |
java.util.Vector |
query(ObjectQueryBean bean)
Makes a query of data object from the database. |
java.lang.Object |
querySummary(SummaryQueryBean bean)
Makes a query which returns some numeric information. |
FUSEDataObject |
update(FUSEDataObject dbObject)
Updates an object in the database |
| Method Detail |
|---|
FUSEDataObject createNew(java.lang.String type)
throws java.lang.ClassNotFoundException,
java.rmi.RemoteException
type - object type, such as "FUSEUser" or "logentry"
java.lang.ClassNotFoundException - if object not found
java.rmi.RemoteExceptionFUSEDataObject insert(FUSEDataObject dbObject)
throws DatabaseException,
java.rmi.RemoteException
dbObject - the object to store
DatabaseException - if insertion failed
java.rmi.RemoteExceptionvoid delete(FUSEDataObject dbObject)
throws DatabaseException,
java.rmi.RemoteException
dbObject - the data object to delete
DatabaseException - if deleting failed
java.rmi.RemoteExceptionFUSEDataObject update(FUSEDataObject dbObject)
throws DatabaseException,
java.rmi.RemoteException
dbObject - the data object to update
DatabaseException
java.rmi.RemoteExceptionjava.util.Vector query(ObjectQueryBean bean)
throws DatabaseException,
java.rmi.RemoteException
bean - the objectQueryBean which implements the query
DatabaseException
java.rmi.RemoteExceptionjava.lang.Object querySummary(SummaryQueryBean bean)
throws DatabaseException,
java.rmi.RemoteException
bean - the bean which implements the query
DatabaseException
java.rmi.RemoteException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||