Uses of Class
edu.cnm.deepdive.interviewprep.model.entity.Question
-
-
Uses of Question in edu.cnm.deepdive.interviewprep.controller
Methods in edu.cnm.deepdive.interviewprep.controller that return Question Modifier and Type Method Description QuestionQuestionController. get(UUID externalKey)This method defines the behavior of a GET request to the URL /interviewprep/questions/externalKey.QuestionQuestionController. getRandom()This method defines the behavior of a GET request to the URL /interviewprep/questions/random.QuestionQuestionController. post(Question question)This method defines the behavior of a POST request to the URL /interviewprep/questions.QuestionQuestionController. put(UUID questionId, Question question)This method defines the behavior of a PUT request to the URL /interviewprep/questions/questionid.Methods in edu.cnm.deepdive.interviewprep.controller that return types with arguments of type Question Modifier and Type Method Description Iterable<Question>QuestionController. get()This method defines the behavior of a GET request to the URL /interviewprep/questions.Methods in edu.cnm.deepdive.interviewprep.controller with parameters of type Question Modifier and Type Method Description QuestionQuestionController. post(Question question)This method defines the behavior of a POST request to the URL /interviewprep/questions.QuestionQuestionController. put(UUID questionId, Question question)This method defines the behavior of a PUT request to the URL /interviewprep/questions/questionid. -
Uses of Question in edu.cnm.deepdive.interviewprep.model.dao
Methods in edu.cnm.deepdive.interviewprep.model.dao that return types with arguments of type Question Modifier and Type Method Description Optional<List<Question>>QuestionRepository. findAllBySource(String source)Returns a list ofQuestionobjects identified by the source.Optional<Question>QuestionRepository. findByExternalKey(UUID externalKey)Returns aQuestionobject that matches the external key.Optional<Question>QuestionRepository. findByExternalKeyAndUser(UUID externalKey, User user)Returns aQuestionobject that matches the external key and user id.Optional<Question>QuestionRepository. findRandom()Returns a randomQuestionobject from the database. -
Uses of Question in edu.cnm.deepdive.interviewprep.model.entity
Methods in edu.cnm.deepdive.interviewprep.model.entity that return types with arguments of type Question Modifier and Type Method Description List<Question>User. getQuestions()Returns a list of questions from the database. -
Uses of Question in edu.cnm.deepdive.interviewprep.service
Methods in edu.cnm.deepdive.interviewprep.service that return Question Modifier and Type Method Description QuestionQuestionService. createQuestion(Question question, User user)Creates a newQuestionobject in the database for the current user.QuestionQuestionService. getRandomQuestion()Returns a randomQuestionobject from the database.QuestionQuestionService. saveQuestion(Question question, User user)Saves aQuestionobject to the database for the current user.Methods in edu.cnm.deepdive.interviewprep.service that return types with arguments of type Question Modifier and Type Method Description Optional<Question>QuestionService. get(UUID externalKey)Gets the current Question object records from the database identified by external key.Optional<Question>QuestionService. get(UUID externalKey, User user)Returns aQuestionobject identified by the external key for the current user.List<Question>QuestionService. getQuestions()Returns a list of allQuestionin the database.Optional<Question>QuestionService. updateQuestion(UUID externalKey, Question question, User user)Updates aQuestionobject to the database for the current user.Methods in edu.cnm.deepdive.interviewprep.service with parameters of type Question Modifier and Type Method Description QuestionQuestionService. createQuestion(Question question, User user)Creates a newQuestionobject in the database for the current user.QuestionQuestionService. saveQuestion(Question question, User user)Saves aQuestionobject to the database for the current user.Optional<Question>QuestionService. updateQuestion(UUID externalKey, Question question, User user)Updates aQuestionobject to the database for the current user.
-