|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DBManagerInterface
| Method Summary | |
|---|---|
String |
getFirstName(String username)
Method will retreive firstname of the user from the database. |
int |
getId(String username)
Method will retreive unique system id of the user from the database. |
String |
getLastName(String username)
Method will retreive lastname of the user from the database. |
int |
getStatus(String username)
Method will retreive status of the user with the given username. |
void |
setStatus(String username,
int stat)
Method will set the current online status of the user to the database. |
boolean |
validateUser(String username,
String pwd)
This method will validate if user's existance in the database by searching the given username and matching it with the password. |
| Method Detail |
|---|
boolean validateUser(String username,
String pwd)
username - username to be searched in the databasepassword - password to be matched with username
void setStatus(String username,
int stat)
username - username of students whose status will be setString getFirstName(String username)
username - of user whose firstname is looked for
String getLastName(String username)
username - of user whose lastname is looked for
int getId(String username)
username - of user whose lastname is looked for
int getStatus(String username)
username - username of user whose status is returned
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||