|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use UserInfo | |
---|---|
cafe.database | |
cafe.gui | |
cafe.gui.configView | |
cafe.main |
Uses of UserInfo in cafe.database |
---|
Methods in cafe.database that return UserInfo | |
---|---|
UserInfo |
DBCommunication.loadUser(int id)
Method for loading user by id, if user not found, returns NULL. |
UserInfo |
Database.loadUser(int id)
Method for loading user by id, if user not found, returns NULL |
UserInfo |
DBCommunication.loadUser(java.lang.String username)
Returns UserInfo, if given username is not valid returns NULL else returns all the data found in database in UserInfo bean. |
UserInfo |
Database.loadUser(java.lang.String username)
Returns UserInfo, if given username is not valid returns NULL |
Methods in cafe.database with parameters of type UserInfo | |
---|---|
CancelProduct |
DBCommunication.cancelProductExport(UserInfo user)
|
CancelProduct |
Database.cancelProductExport(UserInfo user)
Method cancels the last product "takeout" in the productout table |
void |
DBCommunication.exportProduct(UserInfo user,
ExportProduct product)
Method returns exportproducts in a list |
void |
Database.exportProduct(UserInfo user,
ExportProduct product)
updates product balance for group and for user. |
void |
DBCommunication.importProduct(UserInfo user,
ImportProduct product,
double amount)
Method for importing new products |
void |
Database.importProduct(UserInfo user,
ImportProduct product,
double amount)
Method for importing new products |
void |
DBCommunication.saveUser(UserInfo user)
Saves userInfo into database. |
void |
Database.saveUser(UserInfo user)
Saves userInfo into database. |
Uses of UserInfo in cafe.gui |
---|
Methods in cafe.gui that return UserInfo | |
---|---|
UserInfo |
UserInterfaceEvent.loadUser(java.lang.String username)
Loads an user's information from the database based on the CS dep. username. |
Methods in cafe.gui with parameters of type UserInfo | |
---|---|
void |
GuiMain.authenticatedUser(UserInfo user,
int fingerprintid)
Sets the user given as an argument as the current user and changes to the product export view. |
void |
UserInterface.authenticatedUser(UserInfo user,
int fingerprintid)
This is called when a user has been successfully recognized. |
CancelProduct |
UserInterfaceEvent.cancelProductExport(UserInfo user)
Cancels the last export transaction from the given user. |
void |
UserInterfaceEvent.exportProduct(UserInfo user,
ExportProduct product)
Marks an export transaction to the given user and product. |
void |
UserInterfaceEvent.importProduct(UserInfo user,
ImportProduct product,
double amount)
Marks an import transaction to the given user and product. |
void |
UserInterfaceEvent.saveUser(UserInfo user)
Saves an UserInfo instance describing a certain user to the database. |
Uses of UserInfo in cafe.gui.configView |
---|
Constructors in cafe.gui.configView with parameters of type UserInfo | |
---|---|
ConfigPanel(ViewEventInterface viewEventInterface,
ShopableList productList,
UserInfo user)
Constructor that it used to make an instance of this class. |
Uses of UserInfo in cafe.main |
---|
Methods in cafe.main that return UserInfo | |
---|---|
UserInfo |
MainGuiHandler.loadUser(java.lang.String username)
Loads an user's information from the database based on the CS dep. username given as an argument. |
Methods in cafe.main with parameters of type UserInfo | |
---|---|
CancelProduct |
MainGuiHandler.cancelProductExport(UserInfo user)
Cancels the last export transaction from the given user. |
void |
MainGuiHandler.exportProduct(UserInfo user,
ExportProduct product)
Marks an export transaction to the given user and product by calling Database interface's exportProduct method. |
void |
MainGuiHandler.importProduct(UserInfo user,
ImportProduct product,
double amount)
Marks an import transaction to the given user and product by calling Database interface's importProduct method. |
void |
MainGuiHandler.saveUser(UserInfo user)
Saves an UserInfo instance describing a certain user to the database by calling Database interface's saveUser method. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |