|
||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||
| Uses of User in airline |
|---|
| Subclasses of User in airline | |
|---|---|
class |
Administrator
Represents a User with administrative privileges. |
class |
Customer
Represents a User who is a customer of the airline
(i.e., one who can make and purchase reservations). |
| Fields in airline with type parameters of type User | |
|---|---|
private HashMap<String,User> |
AirlineSystem.UserDB.map
We maintain underlying collection as a HashMap |
| Methods in airline that return User | |
|---|---|
User |
AirlineSystem.getUser(String ID)
Returns the User associated with the given ID. |
User |
AirlineSystem.UserDB.getUser(String ID)
Returns the User associated with the given ID. |
User |
TextConnection.loginDialog()
|
abstract User |
Connection.loginDialog()
This dialog manages the login process. |
| Methods in airline that return types with arguments of type User | |
|---|---|
Iterator<User> |
AirlineSystem.getAllUsers()
Returns an array of all flights currently in the system. |
Iterator<User> |
AirlineSystem.UserDB.iterator()
Returns an iterator of User instances. |
| Methods in airline with parameters of type User | |
|---|---|
void |
AirlineSystem.UserDB.add(User usr)
Adds a User to the system. |
void |
AirlineSystem.addUser(User usr)
Adds a User to the system. |
|
||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||