Package src.view

Class StaffConfigPriceView

Object
StaffConfigPriceView

public class StaffConfigPriceView extends Object
View for cinema staffs to configure prices
Version:
1.0
Author:
Jonathan Ng
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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
    void
    Method to print boiler plate for age group class pricing menu
    void
    Method to print boiler plate for cinema class pricing menu
    void
    Method to print boiler plate for price configuration menu
    void
    Method to print boiler plate for movie type pricing menu
    void
    Method to print boiler plate for special dates pricing menu

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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