Class CategoryServiceImpl

java.lang.Object
com.glowmart.shop_management.service.implementation.CategoryServiceImpl
All Implemented Interfaces:
CategoryService

@Service public class CategoryServiceImpl extends Object implements CategoryService
Implementation of CategoryService that provides business logic for managing Category entities.

This service handles creation, updating, deletion, and retrieval of categories. It performs validation on input data, ensures uniqueness of category names, and throws appropriate custom exceptions such as NotValidException, DuplicateException, and NotFoundException.