|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of User in usflix |
---|
Fields in usflix with type parameters of type User | |
---|---|
private java.util.HashMap<java.lang.String,User> |
UserDatabase.userDB
user database using HashMap. |
Methods in usflix that return User | |
---|---|
User |
UserDatabase.createAccount(java.lang.String f,
java.lang.String l,
java.lang.String u,
java.lang.String p)
This method checks if the password contains the username, if the password length is less than the minPwdLength, if username is unique, and if any of these conditions is true, returns null. |
User |
UserDatabase.login(java.lang.String u,
java.lang.String p)
|
Methods in usflix with parameters of type User | |
---|---|
private static void |
Driver.listMenu(User u,
java.util.ArrayList<Movie> list)
listMenu handles printing the list of Movies with the appropriate rating (user's own if available, average otherwise), letting user rate any of the Movies in the list. |
private static void |
Driver.userMenu(User u)
userMenu handles menu options that are available after logging in, such as search by title (and director if you have it) and the list of movies the user has seen before. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |