Class ProductTypeController

java.lang.Object
tech.corefinance.product.controller.ProductTypeController
All Implemented Interfaces:
tech.corefinance.common.controller.CrudController<String,ProductType,ProductType>

@RestController @RequestMapping("/product-types") @ControllerManagedResource("producttype") public class ProductTypeController extends Object implements tech.corefinance.common.controller.CrudController<String,ProductType,ProductType>
  • Constructor Details

    • ProductTypeController

      public ProductTypeController()
  • Method Details

    • getHandlingService

      public tech.corefinance.common.service.CommonService<String,ProductType,?> getHandlingService()
      Specified by:
      getHandlingService in interface tech.corefinance.common.controller.CrudController<String,ProductType,ProductType>
    • loadByType

      @GetMapping("/") public tech.corefinance.common.dto.GeneralApiResponse<List<ProductType>> loadByType(@RequestParam("type") ProductCategoryType categoryType)