-
Notifications
You must be signed in to change notification settings - Fork 0
/
ProductMenu.java
50 lines (36 loc) · 1.06 KB
/
ProductMenu.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/**
* SER-515 abstract Course Menu class
*
*/
public interface ProductMenu {
@SuppressWarnings("all")
public abstract void showMenu();
@SuppressWarnings("all")
public abstract void showcart(String username);
@SuppressWarnings("all")
public abstract String input(String username);
@SuppressWarnings("all")
public abstract void showAddButton();
@SuppressWarnings("all")
public abstract void showViewButton();
@SuppressWarnings("all")
public abstract void showRadioButton();
@SuppressWarnings("all")
public abstract void showLabels();
@SuppressWarnings("all")
public abstract void selectProduct(int UserType, String username, String category);
@SuppressWarnings("all")
public default void createProductList()
{
System.out.println("Product List Created");
}
@SuppressWarnings("all")
public default void AttachProductToUser() {
System.out.println("User Attached");
}
@SuppressWarnings("all")
public default void productOperation()
{
System.out.println("Operation performed on the produce");
}
}