public class PlannerInterface
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Organization |
org |
Constructor and Description |
---|
PlannerInterface()
Constructor, sets up organization data structure.
|
Modifier and Type | Method and Description |
---|---|
void |
checkAgendaPerson()
Allows the user to view the agenda for a particular employee
on a particular month or day.
|
void |
checkAgendaRoom()
Allows the user to view the agenda of a room on a particular month
or day.
|
void |
checkEmployeeAvailability()
Allows the user to check the availability of a given employee
at a particular time.
|
void |
checkRoomAvailability()
Allows a user to check the availability of a room at a given time.
|
private java.lang.String |
inputOutput(java.lang.String message)
Passes a prompt to the user and returns the user specified
string.
|
static void |
main(java.lang.String[] args)
Driver for the calendar system.
|
void |
mainMenu()
Prints the main menu and handles user input for
main menu commands.
|
void |
scheduleMeeting()
Allows the user to schedule a meeting by entering
information about the meeting.
|
void |
scheduleVacation()
Allows the user to schedule vacation time for an employee.
|
private Organization org
public PlannerInterface()
public static void main(java.lang.String[] args)
args
- - Unused for this classpublic void mainMenu()
private java.lang.String inputOutput(java.lang.String message)
message
- - User input.public void scheduleMeeting()
public void scheduleVacation()
public void checkRoomAvailability()
public void checkEmployeeAvailability()
public void checkAgendaRoom()
public void checkAgendaPerson()