Uses of Class
edu.cnm.deepdive.interviewprep.model.entity.Category
-
Packages that use Category Package Description edu.cnm.deepdive.interviewprep.controller edu.cnm.deepdive.interviewprep.model.dao edu.cnm.deepdive.interviewprep.service -
-
Uses of Category in edu.cnm.deepdive.interviewprep.controller
Methods in edu.cnm.deepdive.interviewprep.controller that return Category Modifier and Type Method Description Category
CategoryController. get(UUID externalKey)
This method defines the behavior of a GET request to the URL /interviewprep/categories/externalKey.Category
CategoryController. post(Category category)
This method defines the behavior of a POST request to the URL /interviewprep/categories.Category
CategoryController. put(UUID categoryId, Category category)
This method defines the behavior of a PUT request to the URL /interviewprep/categorie/categoryId.Methods in edu.cnm.deepdive.interviewprep.controller that return types with arguments of type Category Modifier and Type Method Description Iterable<Category>
CategoryController. get()
This method defines the behavior of a GET request to the URL /interviewprep/categories.Methods in edu.cnm.deepdive.interviewprep.controller with parameters of type Category Modifier and Type Method Description Category
CategoryController. post(Category category)
This method defines the behavior of a POST request to the URL /interviewprep/categories.Category
CategoryController. put(UUID categoryId, Category category)
This method defines the behavior of a PUT request to the URL /interviewprep/categorie/categoryId. -
Uses of Category in edu.cnm.deepdive.interviewprep.model.dao
Methods in edu.cnm.deepdive.interviewprep.model.dao that return types with arguments of type Category Modifier and Type Method Description Optional<Category>
CategoryRepository. findByExternalKey(UUID externalKey)
Returns aCategory
object that matches the external key. -
Uses of Category in edu.cnm.deepdive.interviewprep.service
Methods in edu.cnm.deepdive.interviewprep.service that return Category Modifier and Type Method Description Category
CategoryService. createCategory(Category category)
Creates a newCategory
object in the database.Category
CategoryService. saveCategory(String name)
Saves aCategory
object to the database identified by name.Category
CategoryService. updateCategory(UUID externalKey, Category category)
Updates aCategory
object to the database for the current user.Methods in edu.cnm.deepdive.interviewprep.service that return types with arguments of type Category Modifier and Type Method Description Optional<Category>
CategoryService. get(UUID externalKey)
Gets the currentCategory
object records from the database identified by id.List<Category>
CategoryService. getCategories()
Returns a list of allCategory
in the database.Methods in edu.cnm.deepdive.interviewprep.service with parameters of type Category Modifier and Type Method Description Category
CategoryService. createCategory(Category category)
Creates a newCategory
object in the database.Category
CategoryService. updateCategory(UUID externalKey, Category category)
Updates aCategory
object to the database for the current user.
-