Added get all document category api

This commit is contained in:
rajesh
2025-02-26 16:37:44 +05:30
parent 5e43346a26
commit a8beb63248
6 changed files with 53 additions and 0 deletions

View File

@@ -10,6 +10,8 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
@Service
public class DocumentCategoryServiceImpl implements DocumentCategoryService {
@@ -47,5 +49,11 @@ public class DocumentCategoryServiceImpl implements DocumentCategoryService {
return categoryDao.updateDocumentCategory(request,id,categoryRequest);
}
@Override
public List<DocumentCategoryResponse> getAllDocumentCategory(HttpServletRequest request) {
validator.validateUser(request);
return categoryDao.getAllDocumentCategory();
}
}