|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ExportProduct | |
|---|---|
| cafe.database | |
| cafe.gui | |
| cafe.gui.configView | |
| cafe.gui.general.productLists | |
| cafe.gui.interfaces | |
| cafe.gui.shopView | |
| cafe.main | |
| Uses of ExportProduct in cafe.database |
|---|
| Methods in cafe.database that return ExportProduct | |
|---|---|
ExportProduct[] |
DBCommunication.getProductList()
Method returns exportproducts in a list |
ExportProduct[] |
Database.getProductList()
Method returns exportproducts in a list |
| Methods in cafe.database with parameters of type ExportProduct | |
|---|---|
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. |
| Uses of ExportProduct in cafe.gui |
|---|
| Methods in cafe.gui that return ExportProduct | |
|---|---|
ExportProduct |
UserInfo.getFavoriteProduct()
Returns user's favorite (regular) product. |
ExportProduct[] |
UserInterfaceEvent.getProductList()
Returns a list of all exportable products. |
ExportProduct[] |
UserInfo.getUserproductlist()
Returns list of all exportable products, sorted as favoured by this user. |
| Methods in cafe.gui with parameters of type ExportProduct | |
|---|---|
void |
ViewEventInterface.buyProduct(ExportProduct product)
Debits the product given as parameter from user's account |
void |
GuiMain.buyProduct(ExportProduct product)
Debits the product given as an arugement from the current user's account. |
void |
UserInterfaceEvent.exportProduct(UserInfo user,
ExportProduct product)
Marks an export transaction to the given user and product. |
void |
ViewEventInterface.productSelected(ExportProduct product)
Sets the currently selected export product |
void |
GuiMain.productSelected(ExportProduct product)
Sets the currently selected export product either in export product view or config view (meaning favorite product selection). |
void |
ViewEventInterface.setFavoriteProduct(ExportProduct product)
Sets the current user's favorite product. |
void |
GuiMain.setFavoriteProduct(ExportProduct product)
Sets the current user's favorite product. |
void |
UserInfo.setFavoriteProduct(ExportProduct favoriteProduct)
Sets user's favorite product to some ExportProduct. |
| Constructors in cafe.gui with parameters of type ExportProduct | |
|---|---|
UserInfo(java.lang.String username,
java.lang.String givenname,
java.lang.String familyname,
UserBalance[] balance,
int[] fingerprints,
ExportProduct favoriteProduct,
ExportProduct[] userproductlist,
java.lang.String language,
boolean cancelAllowed)
Constructs a new UserInfo with the given parameters. |
|
UserInfo(java.lang.String username,
java.lang.String givenname,
java.lang.String familyname,
UserBalance[] balance,
int[] fingerprints,
ExportProduct favoriteProduct,
ExportProduct[] userproductlist,
java.lang.String language,
boolean cancelAllowed)
Constructs a new UserInfo with the given parameters. |
|
| Uses of ExportProduct in cafe.gui.configView |
|---|
| Methods in cafe.gui.configView with parameters of type ExportProduct | |
|---|---|
void |
ConfigPanel.selectedProduct(ExportProduct product)
Sets the currently selected favourite product. |
| Uses of ExportProduct in cafe.gui.general.productLists |
|---|
| Methods in cafe.gui.general.productLists that return ExportProduct | |
|---|---|
ExportProduct |
ShopableList.getFirstProduct()
Gets the first product from the product list. |
ExportProduct |
ProductList.getFirstProduct()
Gets the first product from the product list. |
| Methods in cafe.gui.general.productLists with parameters of type ExportProduct | |
|---|---|
void |
ShopableList.selectedProduct(ExportProduct exportProduct)
Gets called when a product was selected. |
void |
ProductChangeEvent.selectedProduct(ExportProduct exportProduct)
The method is used to inform the implementing class of the selected product. |
void |
ProductList.setSelectedProduct(ExportProduct product)
Sets the selected product in the list. |
| Constructors in cafe.gui.general.productLists with parameters of type ExportProduct | |
|---|---|
ProductList(ExportProduct[] products,
ProductChangeEvent productChangeEvent,
LanguageEnum currentLanguage)
Constructs the product list. |
|
ShopableList(ExportProduct[] products,
ViewEventInterface viewEventInterface,
ExportProduct favoriteProduct)
Constructs the panel containing the product list |
|
ShopableList(ExportProduct[] products,
ViewEventInterface viewEventInterface,
ExportProduct favoriteProduct)
Constructs the panel containing the product list |
|
| Uses of ExportProduct in cafe.gui.interfaces |
|---|
| Methods in cafe.gui.interfaces with parameters of type ExportProduct | |
|---|---|
void |
ShopViewInterface.selectedProduct(ExportProduct product)
Informs the implementing class that a certain product has been selected. |
void |
ConfigViewInterface.selectedProduct(ExportProduct product)
Signals the implementing class that the user has selected a product from the product list. |
| Uses of ExportProduct in cafe.gui.shopView |
|---|
| Methods in cafe.gui.shopView with parameters of type ExportProduct | |
|---|---|
void |
ShopPanel.selectedProduct(ExportProduct product)
This method sets the selected product and redraws the center panel and balance panel with the correct information. |
| Uses of ExportProduct in cafe.main |
|---|
| Methods in cafe.main that return ExportProduct | |
|---|---|
ExportProduct |
CancelProduct.getExportProduct()
Returns the product that has been tagged to be cancelled. |
ExportProduct[] |
MainGuiHandler.getProductList()
Returns a list of all exportable products. |
| Methods in cafe.main with parameters of type ExportProduct | |
|---|---|
void |
MainGuiHandler.exportProduct(UserInfo user,
ExportProduct product)
Marks an export transaction to the given user and product by calling Database interface's exportProduct method. |
| Constructors in cafe.main with parameters of type ExportProduct | |
|---|---|
CancelProduct(ExportProduct product,
java.lang.String time)
Constructs a new canceled product from parameters. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||