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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 databasevoid
Method to call printMenu and addNewMovievoid
Prints the boiler plate for query of Movie Age Ratingvoid
Prints the boiler plate for query of Cinema Classvoid
Prints the Cineplexes showing the new movievoid
Prints the boiler platevoid
Prints the boiler plate for query of Movie Typevoid
Prints the boiler plate for query of Movie Showing Statusvoid
printShowingTime
(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 theCinema
that 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
-