org.openmobileis.database.fastobjectdb.FastObjectDBManager Class Reference

Inheritance diagram for org.openmobileis.database.fastobjectdb.FastObjectDBManager:

org.openmobileis.database.fastobjectdb.FastObjectDBManagerService org.openmobileis.database.fastobjectdb.synchro.client.SynchroFastObjectDBManager

List of all members.


Detailed Description

Factory pattern to manage one FODb inside an application.

Use to get the current db factory instance. Use the PropertiesManager fastobjectdb.database.path and fastobjectdb.database.name properties to define db path and name.

Author:
Philippe Delrieu
Since:
JDK 1.1
Version:
1.0.

Definition at line 45 of file FastObjectDBManager.java.


Public Member Functions

synchronized FastObjectDB getCurrentFODB () throws DatabaseException
 return the current FODB instance.
synchronized void flushDB () throws DatabaseException
 Use to reload all db file headers.
synchronized void resetDB () throws DatabaseException
 reset all db collection to empty collection.

Member Function Documentation

synchronized FastObjectDB org.openmobileis.database.fastobjectdb.FastObjectDBManager.getCurrentFODB (  )  throws DatabaseException

return the current FODB instance.

Open or create it if not done.

Returns:
the current database instance.
Exceptions:
DatabaseException 

Implements org.openmobileis.database.fastobjectdb.FastObjectDBManagerService.

Reimplemented in org.openmobileis.database.fastobjectdb.synchro.client.SynchroFastObjectDBManager.

Definition at line 79 of file FastObjectDBManager.java.

References org.openmobileis.database.fastobjectdb.FastObjectDB.open().


The documentation for this class was generated from the following file:
Generated on Mon Jan 11 21:19:20 2010 for OpenMobileIS by  doxygen 1.5.4