Class MovieBoundary
java.lang.Object
Boundary
MovieBoundary
- All Implemented Interfaces:
Base,BaseBoundary
A Movie Boundary Object
A MovieBoundary object used
process all Movie input and output
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCast(char insertUpdateFlag) Method to get cast details from userMethod to implement flag to view currently showing movies onlyvoidgetDetails(char insertUpdateFlag) Method to get movie update/add details detailsgetDirector(char insertUpdateFlag) Method to get director from the usergetLanguage(char insertUpdateFlag) Method to update movie language from userintMethod to display user menu and get user selectionMethod to get movie name from usermethod to get partial or full movie name from usergetMovieRating(char insertUpdateFlag) Method to get movie restriction rating from usergetMovieType(char insertUpdateFlag) Method get movie type from usergetShowStatus(char insertUpdateFlag) Method to get show status from usergetSynopsis(char insertUpdateFlag) Method to get the movie synopsis from the uservoidMethod to list all shows by movie namevoidMethod to perform movie movie menu operationsvoidMethod to print movie listvoidMethod to search for movie name from the uservoidMethod to set boundariesvoidMethod to set the ManagersvoidviewMovieDetails(String movieID) Method to view movie detailsMethods inherited from class Boundary
getCentralManager, getInputDouble, getInputInt, getInputLine, getMasterList, getScanner, print, println, setCentralManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Base
getCentralManager, setCentralManager
-
Constructor Details
-
MovieBoundary
public MovieBoundary()
-
-
Method Details
-
setManagers
public void setManagers()Method to set the Managers- Specified by:
setManagersin interfaceBase
-
setBoundaries
public void setBoundaries()Method to set boundaries- Specified by:
setBoundariesin interfaceBaseBoundary
-
viewMovieDetails
Method to view movie details- Parameters:
movieID- The movieID
-
printMovieList
public void printMovieList()Method to print movie list -
getMovieName
Method to get movie name from user- Returns:
- The movie name
-
getMoviePartName
method to get partial or full movie name from user- Returns:
- The movie name
-
getLanguage
Method to update movie language from user- Parameters:
insertUpdateFlag- The update flag indicator- Returns:
- The movie language
-
getMovieType
Method get movie type from user- Parameters:
insertUpdateFlag- update flag indicator- Returns:
- The movie type (BLOCKBUSTER,THREEDIMENSION,DOCUMENTARY)
-
getMovieRating
Method to get movie restriction rating from user- Parameters:
insertUpdateFlag- An update flag indicator- Returns:
- The movie restriction rating
-
getShowStatus
Method to get show status from user- Parameters:
insertUpdateFlag- An update flag indicator- Returns:
- The movie showing status
-
getSynopsis
Method to get the movie synopsis from the user- Parameters:
insertUpdateFlag- An update flag indicator- Returns:
- The movie synopsis
-
getDirector
Method to get director from the user- Parameters:
insertUpdateFlag- An update flag indicator- Returns:
- The movie director
-
getCast
Method to get cast details from user- Parameters:
insertUpdateFlag- An update flag indicator- Returns:
- The cast of the movie
-
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
-