Class MovieBoundary

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

public class MovieBoundary extends Boundary implements BaseBoundary
A Movie Boundary Object

A MovieBoundary object used process all Movie input and output

  • Constructor Details

    • MovieBoundary

      public MovieBoundary()
  • 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
    • viewMovieDetails

      public void viewMovieDetails(String movieID)
      Method to view movie details
      Parameters:
      movieID - The movieID
    • printMovieList

      public void printMovieList()
      Method to print movie list
    • getMovieName

      public String getMovieName()
      Method to get movie name from user
      Returns:
      The movie name
    • getMoviePartName

      public String getMoviePartName()
      method to get partial or full movie name from user
      Returns:
      The movie name
    • getLanguage

      public String getLanguage(char insertUpdateFlag)
      Method to update movie language from user
      Parameters:
      insertUpdateFlag - The update flag indicator
      Returns:
      The movie language
    • getMovieType

      public String getMovieType(char insertUpdateFlag)
      Method get movie type from user
      Parameters:
      insertUpdateFlag - update flag indicator
      Returns:
      The movie type (BLOCKBUSTER,THREEDIMENSION,DOCUMENTARY)
    • getMovieRating

      public String getMovieRating(char insertUpdateFlag)
      Method to get movie restriction rating from user
      Parameters:
      insertUpdateFlag - An update flag indicator
      Returns:
      The movie restriction rating
    • getShowStatus

      public String getShowStatus(char insertUpdateFlag)
      Method to get show status from user
      Parameters:
      insertUpdateFlag - An update flag indicator
      Returns:
      The movie showing status
    • getSynopsis

      public String getSynopsis(char insertUpdateFlag)
      Method to get the movie synopsis from the user
      Parameters:
      insertUpdateFlag - An update flag indicator
      Returns:
      The movie synopsis
    • getDirector

      public String getDirector(char insertUpdateFlag)
      Method to get director from the user
      Parameters:
      insertUpdateFlag - An update flag indicator
      Returns:
      The movie director
    • getCast

      public ArrayList<String> getCast(char insertUpdateFlag)
      Method to get cast details from user
      Parameters:
      insertUpdateFlag - An update flag indicator
      Returns:
      The cast of the movie
    • getCurrentlyShowing

      public Boolean getCurrentlyShowing()
      Method to implement flag to view currently showing movies only
      Returns:
      True if "y" else is False
    • getMovieMenuChoice

      public int getMovieMenuChoice()
      Method to display user menu and get user selection
      Returns:
      The user selection
    • getDetails

      public void getDetails(char insertUpdateFlag)
      Method to get movie update/add details details
      Parameters:
      insertUpdateFlag - An update flag indicator
    • movieOperations

      public void movieOperations()
      Method to perform movie movie menu operations
    • listAllShows

      public void listAllShows()
      Method to list all shows by movie name
    • searchMovie

      public void searchMovie()
      Method to search for movie name from the user