Package src.view
Class StaffConfigPriceView
Object
StaffConfigPriceView
View for cinema staffs to configure prices
- Version:
- 1.0
- Author:
- Jonathan Ng
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Method that calls printMenu and queries for the price type that is to be configured Upon successful price type selected, it calls the relevant boiler plate and queries for the specific price under the price type to be configured Upon successful choice, the chosen price in the database will be updated using configurePrice method by the CinemaStaffManagervoid
Method to print boiler plate for age group class pricing menuvoid
Method to print boiler plate for cinema class pricing menuvoid
Method to print boiler plate for price configuration menuvoid
Method to print boiler plate for movie type pricing menuvoid
Method to print boiler plate for special dates pricing menu
-
Constructor Details
-
StaffConfigPriceView
public StaffConfigPriceView()Constructor
-
-
Method Details
-
printMenu
public void printMenu()Method to print boiler plate for price configuration menu -
printMovieTypePrice
public void printMovieTypePrice()Method to print boiler plate for movie type pricing menu -
printCinemaClassPrice
public void printCinemaClassPrice()Method to print boiler plate for cinema class pricing menu -
printAgeGroupPrice
public void printAgeGroupPrice()Method to print boiler plate for age group class pricing menu -
printSpecialDatePrice
public void printSpecialDatePrice()Method to print boiler plate for special dates pricing menu -
appContent
public void appContent()Method that calls printMenu and queries for the price type that is to be configured Upon successful price type selected, it calls the relevant boiler plate and queries for the specific price under the price type to be configured Upon successful choice, the chosen price in the database will be updated using configurePrice method by the CinemaStaffManager
-