| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This Database implementation provides a simple persistent database
Constructor Summary | |
SerializationDatabase(String name, DatabaseProfile db_profile) Default constructor |
Method Summary | |
synchronized void | addObject(DatabaseObject obj) Method to add the given DatabaseObject to the database, in the given relation. |
synchronized void | closeDatabase() Method to close the database store. |
synchronized void | createDatabase() Method to create the database store. |
void | createRelation(String relation) Creates the given relation within the Database |
synchronized void | deleteDatabase() Method to remove the database store. |
void | deleteRelation(String relation) Deletes the given relation from the Database |
void | endTransaction() Indicates that a transaction has finished. |
synchronized DatabaseObject | findObject(String unique_id) Method to locate the object in the given relation with the given UID |
synchronized Enumeration | getIDs() Method to return an enumeration of the keys in the database |
synchronized void | openDatabase() Method to re-open the database store. |
void | removeObject(DatabaseObject obj) Method to remove the given DatabaseObject from the Database |
void | removeObject(String unique_id) Method to remove the DatabaseObject from the Database with the given UID |
void | startTransaction(boolean readonly) Indicates that a transaction is about to start. |
void | updateObject(DatabaseObject obj) Method to update the given DatabaseObject in the Database. |
Constructor Detail |
public SerializationDatabase(String name, DatabaseProfile db_profile)
Method Detail |
public synchronized void addObject(DatabaseObject obj)
throws fipaos.skill.db.DatabaseException
public synchronized void closeDatabase()
throws fipaos.skill.db.DatabaseException
public synchronized void createDatabase()
throws fipaos.skill.db.DatabaseException
public void createRelation(String relation)
public synchronized void deleteDatabase()
throws fipaos.skill.db.DatabaseException
public void deleteRelation(String relation)
public void endTransaction()
throws fipaos.skill.db.DatabaseException
public synchronized DatabaseObject findObject(String unique_id)
throws fipaos.skill.db.DatabaseException
public synchronized Enumeration getIDs()
throws fipaos.skill.db.DatabaseException
public synchronized void openDatabase()
throws fipaos.skill.db.DatabaseException
public void removeObject(DatabaseObject obj)
throws fipaos.skill.db.DatabaseException
public void removeObject(String unique_id)
throws fipaos.skill.db.DatabaseException
public void startTransaction(boolean readonly)
throws fipaos.skill.db.DatabaseException
public void updateObject(DatabaseObject obj)
throws fipaos.skill.db.DatabaseException
Association Links |
to Class java.io.File
to Class java.lang.Thread
to Class java.util.Stack
to Class fipaos.agent.profile.DatabaseProfile
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |