|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--apps.email.db.JDBCAccountBuilder
Builder class for creating an Account object. You can use the singleton
reference of this object to query the database to get an Account object
with the following call:
JDBCAccountBuilder.getInstance(appdb).queryByUserId(id);
Account
Method Summary | |
static JDBCAccountBuilder |
getInstance(java.lang.String appdb)
Gets a connection to a specific database. |
Account |
queryByUserId(int id)
Returns the user's account. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static JDBCAccountBuilder getInstance(java.lang.String appdb)
appdb
- the name of the databasepublic Account queryByUserId(int id)
id
- is the user's id
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |