|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectDatabaseCommunication.UserManager
| Field Summary | |
private java.sql.Connection |
con
|
| Constructor Summary | |
UserManager()
This is the constructor for UserManager.java |
|
| Method Summary | |
private boolean |
insertStocksInterested(User_Data user)
This method is being used for adding interested stocks for a user. |
boolean |
insertUser(User_Data user)
This method is being used for adding a user to the application database. |
boolean |
readStocksInterested(User_Data user)
This method is being used for retrieving the interested stocks for a particular user. |
boolean |
readStocksOwned(User_Data user)
This method is being used for retrieving the stocks owned for a particular user. |
boolean |
readUser(User_Data user)
This method is being used for retrieving user information. |
private boolean |
updateStocksInterested(User_Data user)
This method is being used for updating the interested stocks for the specified user. |
boolean |
updateStocksOwned(User_Data user)
This method is being used for updating the owned stocks. |
boolean |
updateUser(User_Data user)
This method is being used for updating user details in the application database. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.sql.Connection con
| Constructor Detail |
public UserManager()
| Method Detail |
private boolean insertStocksInterested(User_Data user)
user - The user for whom the interested stocks are being added.
public boolean insertUser(User_Data user)
user - The user to be added.
public boolean readStocksInterested(User_Data user)
user - The user for whom the interested stocks are to be
retrieved.
public boolean readStocksOwned(User_Data user)
user - The user for whom the owned stocks are to be retrieved.
public boolean readUser(User_Data user)
user - The user fro whom the data has to be retrieved.
private boolean updateStocksInterested(User_Data user)
user - The user for whom the interested stocks are updated.
public boolean updateStocksOwned(User_Data user)
user - The user who owns the stocks.
public boolean updateUser(User_Data user)
user - The user details to be updated.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||