@Service @Transactional(readOnly=true) public class ComplaintTypeCategoryService extends Object
| Constructor and Description |
|---|
ComplaintTypeCategoryService(ComplaintTypeCategoryRepository complaintTypeCategoryRepository) |
| Modifier and Type | Method and Description |
|---|---|
ComplaintTypeCategory |
createComplaintTypeCategory(ComplaintTypeCategory complaintTypeCategory) |
List<ComplaintTypeCategory> |
findAll() |
ComplaintTypeCategory |
findById(Long categoryId) |
ComplaintTypeCategory |
findByName(String categoryName) |
@Autowired public ComplaintTypeCategoryService(ComplaintTypeCategoryRepository complaintTypeCategoryRepository)
public ComplaintTypeCategory findById(Long categoryId)
@Transactional public ComplaintTypeCategory createComplaintTypeCategory(ComplaintTypeCategory complaintTypeCategory)
public List<ComplaintTypeCategory> findAll()
public ComplaintTypeCategory findByName(String categoryName)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.