Package | Description |
---|---|
Core | |
User |
Modifier and Type | Method and Description |
---|---|
User |
ActiveUserContext.getUser() |
User |
MyFoodora.getUserByLogin(java.lang.String usernameTest,
java.lang.String passwordTest)
CUSTOM
|
User |
MyFoodora.getUserByName(java.lang.String username,
java.lang.String name) |
User |
MyFoodora.getUserByUsername(java.lang.String username) |
Modifier and Type | Method and Description |
---|---|
ListUser<User> |
MyFoodora.getGlobalListUser() |
Modifier and Type | Method and Description |
---|---|
void |
MyFoodora.addUser(User u) |
void |
ActiveUserContext.setActiveUser(User u) |
Modifier and Type | Method and Description |
---|---|
void |
MyFoodora.setGlobalListUser(ListUser<User> globalListUser) |
Modifier and Type | Class and Description |
---|---|
class |
ListUser<T extends User>
Gives methods and form to use and manage list of users.
|
Modifier and Type | Class and Description |
---|---|
class |
Courier
The Courier deliver the order from the restaurant to the customer.
|
class |
Customer
Customer may create order, add meals and dishes to it from a restaurant and ask to be delivered.
|
class |
HumanUser
Abstraction of human users.
|
class |
Manager
The managers controls foodora, they are able to do anything in the system
Creating users, changing parameters, calculating statistics.
|
class |
MoralUser
Abstraction of non human users.
|
class |
Restaurant
Restaurant are able to manage themself, they may create there meals, dishes,
set the mealOfTheWeek or specify discount factor.
|
Modifier and Type | Method and Description |
---|---|
User |
ListUser.getUserByLogin(java.lang.String username,
java.lang.String password)
CUSTOM
|
Modifier and Type | Method and Description |
---|---|
void |
Manager.activateUser(MyFoodora foodora,
User user) |
int |
User.compareTo(User u)
OVERRIDE
|
int |
Courier.compareTo(User courier) |
void |
Manager.desactivateUser(MyFoodora foodora,
User user) |
void |
Manager.removeUser(User u,
MyFoodora foodora) |