|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DataAccessException | |
---|---|
org.quickconnectfamily.dbaccess | |
org.quickconnectfamily.sync |
Uses of DataAccessException in org.quickconnectfamily.dbaccess |
---|
Methods in org.quickconnectfamily.dbaccess that throw DataAccessException | |
---|---|
static void |
DataAccessObject.close(java.lang.ref.WeakReference<android.content.Context> aContextRef,
java.lang.String databaseName)
This method is used to free up resources required to access a specific SQLite database file. |
static void |
DataAccessObject.endTransaction(java.lang.ref.WeakReference<android.content.Context> aContextRef,
java.lang.String databaseName,
boolean successful)
This method is used as the ending boundary of a database transaction. |
static DataAccessResult |
DataAccessObject.getData(java.lang.ref.WeakReference<android.content.Context> aContextRef,
java.lang.String databaseName,
java.lang.String SQL,
java.lang.Object[] parameters)
Deprecated. Replaced by #transact(Activity aContext, String databaseName, String SQL, Object[] parameters) |
static DataAccessResult |
DataAccessObject.setData(java.lang.ref.WeakReference<android.content.Context> aContextRef,
java.lang.String databaseName,
java.lang.String SQL,
java.lang.Object[] parameters)
Deprecated. Replaced by #transact(Activity aContext, String databaseName, String SQL, Object[] parameters) |
static void |
DataAccessObject.startTransaction(java.lang.ref.WeakReference<android.content.Context> aContextRef,
java.lang.String databaseName)
This method is used as the beginning boundary of a database transaction. |
static DataAccessResult |
DataAccessObject.transact(java.lang.ref.WeakReference<android.content.Context> aContextRef,
java.lang.String databaseName,
java.lang.String SQL,
java.lang.Object[] parameters)
This method is used to execute standard select, insert, update, etc. |
Uses of DataAccessException in org.quickconnectfamily.sync |
---|
Methods in org.quickconnectfamily.sync that throw DataAccessException | |
---|---|
void |
SynchronizedDB.clearSync()
This is a method that should rarely, if ever, be used. |
void |
SynchronizedDB.endTransaction()
This method is called after the startTransaction method and any number of setData calls. |
DataAccessResult |
SynchronizedDB.getData(java.lang.String sqlKey,
java.lang.Object[] parameters)
This method is used to retrieve data from the SQLite database on the device. |
DataAccessResult |
SynchronizedDB.setData(java.lang.String sqlKey,
java.lang.Object[] parameters)
This method is used to insert data into the SQLite database on the device or do any other type of database modification. |
void |
SynchronizedDB.startTransaction()
This method is called prior to making multiple setData calls. |
void |
SynchronizedDB.sync()
This method pushes any stored setData parameters to the HTTP service, waits for any data from the service, and then inserts any data received from the service into the appropriate tables in the local SQLite database. |
Constructors in org.quickconnectfamily.sync that throw DataAccessException | |
---|---|
SynchronizedDB(java.lang.ref.WeakReference<android.content.Context> theActivityRef,
java.lang.String aDbName,
java.net.URL aRemoteURL,
int port,
java.lang.String aRemoteUname,
java.lang.String aRemotePword,
long syncTimeout)
Creates a SynchronizedDB object used to interact with a local database and a remote HTTP service. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |