Class ProductCategoryController
java.lang.Object
tech.corefinance.product.controller.ProductCategoryController
- All Implemented Interfaces:
tech.corefinance.common.controller.CrudController<String,ProductCategory, ProductCategory>
@RestController
@RequestMapping("/product-categories")
@ControllerManagedResource("productcategory")
public class ProductCategoryController
extends Object
implements tech.corefinance.common.controller.CrudController<String,ProductCategory,ProductCategory>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontech.corefinance.common.service.CommonService<String, ProductCategory, ?> tech.corefinance.common.dto.GeneralApiResponse<List<ProductCategory>> loadByType(ProductCategoryType categoryType) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tech.corefinance.common.controller.CrudController
createEntity, createOrUpdate, delete, getEntityConverter, search, updateEntity, viewDetails
-
Constructor Details
-
ProductCategoryController
public ProductCategoryController()
-
-
Method Details
-
getHandlingService
- Specified by:
getHandlingServicein interfacetech.corefinance.common.controller.CrudController<String,ProductCategory, ProductCategory>
-
loadByType
@GetMapping("/") public tech.corefinance.common.dto.GeneralApiResponse<List<ProductCategory>> loadByType(@RequestParam("type") ProductCategoryType categoryType)
-