|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--apps.email.db.JDBCAddressBookBuilder
Builder class for creating an addressbook for the user.
You can use the singleton reference of this object to
return a list of Users with the following call:
JDBCAddressBookBuilder.getInstance(app).queryById(id);
AddressBook| Method Summary | |
static JDBCAddressBookBuilder |
getInstance(java.lang.String appdb)
Obtains a reference to the singleton JDBCAddressBookBuilder object. |
AddressBook |
queryByUserId(int userid)
Queries the database based on the user id and returns people on the user's addressbook. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static JDBCAddressBookBuilder getInstance(java.lang.String appdb)
appdb - the name of the database usedpublic AddressBook queryByUserId(int userid)
userid - The unique user id to query on
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||