Uses of Class
ntnu.idatt2016.v233.SmartMat.entity.product.Allergy
Packages that use Allergy
Package
Description
-
Uses of Allergy in ntnu.idatt2016.v233.SmartMat.controller.product
Methods in ntnu.idatt2016.v233.SmartMat.controller.product that return types with arguments of type AllergyModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Allergy>
AllergyController.getAllergyByName
(String name) Gets allergy by name, also includes products that contain the allergy -
Uses of Allergy in ntnu.idatt2016.v233.SmartMat.entity.product
Methods in ntnu.idatt2016.v233.SmartMat.entity.product with parameters of type AllergyModifier and TypeMethodDescriptionvoid
Product.addAllergy
(Allergy allergy) Adds an allergy to the product -
Uses of Allergy in ntnu.idatt2016.v233.SmartMat.entity.user
Methods in ntnu.idatt2016.v233.SmartMat.entity.user with parameters of type AllergyModifier and TypeMethodDescriptionvoid
User.addAllergy
(Allergy allergy) adds an allergy to the userboolean
User.deleteAllergy
(Allergy allergy) Deletes the specified allergy from this user's list of allergies. -
Uses of Allergy in ntnu.idatt2016.v233.SmartMat.repository.product
Methods in ntnu.idatt2016.v233.SmartMat.repository.product that return types with arguments of type AllergyModifier and TypeMethodDescriptionAllergyRepository.findAllByProductsEan
(long id) Finds all allergies by product idAllergyRepository.findByName
(String name) Finds a allergy by its name -
Uses of Allergy in ntnu.idatt2016.v233.SmartMat.service.product
Methods in ntnu.idatt2016.v233.SmartMat.service.product that return types with arguments of type AllergyModifier and TypeMethodDescriptionAllergyService.getAllergyByName
(String name) Returns allergy by nameMethods in ntnu.idatt2016.v233.SmartMat.service.product with parameters of type Allergy