Class MovieGoerBoundary

java.lang.Object
Boundary
MovieGoerBoundary
All Implemented Interfaces:
Base, BaseBoundary

public class MovieGoerBoundary extends Boundary implements BaseBoundary
Author:
harvi
  • Field Details

    • movieManager

      MovieManager movieManager
      A movie manager object to manage movies
    • bookingManager

      BookingManager bookingManager
      A booking manager object to manage bookings
    • movieBoundary

      MovieBoundary movieBoundary
      A movie boundary object to process movie related input and output
    • bookingBoundary

      BookingBoundary bookingBoundary
      A booking boundary object to process booking related input and output
    • reviewBoundary

      ReviewBoundary reviewBoundary
      A review boundary object to manage review and rating related input and output
  • Constructor Details

    • MovieGoerBoundary

      public MovieGoerBoundary()
  • Method Details

    • setManagers

      public void setManagers()
      Method to set the Managers
      Specified by:
      setManagers in interface Base
    • setBoundaries

      public void setBoundaries()
      Method to set boundaries
      Specified by:
      setBoundaries in interface BaseBoundary
    • writeReview

      public void writeReview(String userID)
      Method to write movie review
      Parameters:
      userID - The userID
    • listTop5MoviesRevenue

      public void listTop5MoviesRevenue()
      Method to print top 5 movies revenue
    • getMovieGoerMenuChoice

      public int getMovieGoerMenuChoice()
      Method to display menu and get MovieGoer choice
      Returns:
      The choice
    • MovieGoerOperations

      public void MovieGoerOperations(String userID) throws ParseException
      Method to perform MovieGoer operations movie goer choice
      Parameters:
      userID - The userID
      Throws:
      ParseException - If there's error