Package src.view
Class StaffAddMovieView
Object
StaffAddMovieView
View for cinema staff to add a new movie into the database
- Version:
- 1.0
- Author:
- Jonathan Ng
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod to add new movies into the database Upon all successful choices of movie details, movieAdder under CinemaStaffManager is called and a new movie is added into the databasevoidMethod to call printMenu and addNewMovievoidPrints the boiler plate for query of Movie Age RatingvoidPrints the boiler plate for query of Cinema ClassvoidPrints the Cineplexes showing the new movievoidPrints the boiler platevoidPrints the boiler plate for query of Movie TypevoidPrints the boiler plate for query of Movie Showing StatusvoidprintShowingTime(Cinema showingVenue) Prints the showing time for the new movie
-
Constructor Details
-
StaffAddMovieView
public StaffAddMovieView()Constructor
-
-
Method Details
-
printMenu
public void printMenu()Prints the boiler plate -
printAgeRating
public void printAgeRating()Prints the boiler plate for query of Movie Age Rating -
printShowingStatus
public void printShowingStatus()Prints the boiler plate for query of Movie Showing Status -
printMovieType
public void printMovieType()Prints the boiler plate for query of Movie Type -
printCinemaClass
public void printCinemaClass()Prints the boiler plate for query of Cinema Class -
printCineplex
public void printCineplex()Prints the Cineplexes showing the new movie -
printShowingTime
Prints the showing time for the new movie- Parameters:
showingVenue- is theCinemathat are showing the movie
-
appContent
public void appContent()Method to call printMenu and addNewMovie -
addNewMovie
public void addNewMovie()Method to add new movies into the database Upon all successful choices of movie details, movieAdder under CinemaStaffManager is called and a new movie is added into the database
-