org.openmobileis.examples.simpleappli.data.FODB
Class FODBBaseDataFactory

java.lang.Object
  extended byorg.openmobileis.examples.simpleappli.data.FODB.FODBBaseDataFactory

public final class FODBBaseDataFactory
extends java.lang.Object

Title: OpenMobileIS project source
Description: Provide all BaseData FODB access. It use the singleton pattern to facilitate its use. The singleton is registered in the ApplicationContextManager to avoid class GC.

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

Method Summary
 void deleteBaseData(java.lang.String id)
           
 BaseData[] getAllBaseData()
           
 BaseData getBaseData(java.lang.String id)
           
static FODBBaseDataFactory getManager()
           
 void storeBaseData(BaseData data)
          call by synchro server to create the representant DB
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getManager

public static FODBBaseDataFactory getManager()

getAllBaseData

public BaseData[] getAllBaseData()
                          throws DatabaseException
Throws:
DatabaseException

getBaseData

public BaseData getBaseData(java.lang.String id)
                     throws DatabaseException
Throws:
DatabaseException

storeBaseData

public void storeBaseData(BaseData data)
                   throws DatabaseException
call by synchro server to create the representant DB

Throws:
DatabaseException

deleteBaseData

public void deleteBaseData(java.lang.String id)
                    throws DatabaseException
Throws:
DatabaseException


Copyright 2005 e-Care. All Rights Reserved.