Class StaffBoundary
java.lang.Object
Boundary
StaffBoundary
- All Implemented Interfaces:
Base,BaseBoundary
A Staff Boundary Object
A StaffBoundary object used
process all Staff input and output
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) BookingManagercontains bookingManager object to process all booking object(package private) CineplexBoundarycontains cineplexBoundary object to process all cineplex input and output(package private) HolidayBoundarycontains holidayBoundary object to process all holiday input and output(package private) MovieBoundarycontains movieBoundary object to process all movie input and output(package private) MovieManagercontains movieManager object to process all movie object(package private) ReviewManagercontains reviewManager object to process all review object(package private) ScreenBoundarycontains screenBoundary object to process all screen input and output(package private) ShowBoundarycontains showBoundary object to process all show input and output(package private) TicketPriceBoundarycontains ticketPriceBoundary object to process all ticket input and output -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintMethod to print main menu and get main menu choicevoidMethod to set boundariesvoidMethod to set the ManagersvoidMethod to perform staff operations based on main menu choice (manage cineplex, screen,movies,shows, ticket prices, holidays) (list top 5 movies based on sales and ratings, exit application)voidTop5MovPrint(ArrayList<String> top5movies) Method to print top 5 movies by viewer ratingMethods inherited from class Boundary
getCentralManager, getInputDouble, getInputInt, getInputLine, getMasterList, getScanner, print, println, setCentralManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Base
getCentralManager, setCentralManager
-
Field Details
-
bookingManager
BookingManager bookingManagercontains bookingManager object to process all booking object -
reviewManager
ReviewManager reviewManagercontains reviewManager object to process all review object -
movieManager
MovieManager movieManagercontains movieManager object to process all movie object -
cineplexBoundary
CineplexBoundary cineplexBoundarycontains cineplexBoundary object to process all cineplex input and output -
screenBoundary
ScreenBoundary screenBoundarycontains screenBoundary object to process all screen input and output -
movieBoundary
MovieBoundary movieBoundarycontains movieBoundary object to process all movie input and output -
showBoundary
ShowBoundary showBoundarycontains showBoundary object to process all show input and output -
ticketPriceBoundary
TicketPriceBoundary ticketPriceBoundarycontains ticketPriceBoundary object to process all ticket input and output -
holidayBoundary
HolidayBoundary holidayBoundarycontains holidayBoundary object to process all holiday input and output
-
-
Constructor Details
-
StaffBoundary
public StaffBoundary()Constructor for StaffBoundary object
-
-
Method Details
-
setManagers
public void setManagers()Method to set the Managers- Specified by:
setManagersin interfaceBase
-
setBoundaries
public void setBoundaries()Method to set boundaries- Specified by:
setBoundariesin interfaceBaseBoundary
-
getMainMenuChoice
public int getMainMenuChoice()Method to print main menu and get main menu choice- Returns:
- The main menu choice
-
staffOperations
public void staffOperations()Method to perform staff operations based on main menu choice (manage cineplex, screen,movies,shows, ticket prices, holidays) (list top 5 movies based on sales and ratings, exit application) -
Top5MovPrint
Method to print top 5 movies by viewer rating- Parameters:
top5movies- The top 5 movies based on viewer rating
-