Class CategoryService
java.lang.Object
ntnu.idatt2016.v233.SmartMat.service.product.CategoryService
Service for Categories
- Version:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CategoryService
public CategoryService()
-
-
Method Details
-
getCategoryByName
gets a category- Parameters:
name
- The name of the category- Returns:
- An optional containing the category if it exists
-