Class PortletInstanceCategoryRest

java.lang.Object
io.meeds.layout.rest.PortletInstanceCategoryRest

@RestController @RequestMapping("/portlet/instance/categories") public class PortletInstanceCategoryRest extends Object
  • Constructor Details

    • PortletInstanceCategoryRest

      public PortletInstanceCategoryRest()
  • Method Details

    • getPortletInstanceCategorys

      @GetMapping @Secured("users") public List<PortletInstanceCategory> getPortletInstanceCategorys(jakarta.servlet.http.HttpServletRequest request)
    • getPortletInstanceCategory

      @GetMapping("{id}") @Secured("users") public PortletInstanceCategory getPortletInstanceCategory(jakarta.servlet.http.HttpServletRequest request, @PathVariable("id") long id)
    • createPortletInstanceCategory

      @PostMapping @Secured("users") public PortletInstanceCategory createPortletInstanceCategory(jakarta.servlet.http.HttpServletRequest request, @RequestBody PortletInstanceCategory portletInstanceCategory)
    • updatePortletInstanceCategory

      @PutMapping("{id}") @Secured("users") public void updatePortletInstanceCategory(jakarta.servlet.http.HttpServletRequest request, @PathVariable("id") long id, @RequestBody PortletInstanceCategory portletInstanceCategory)
    • deletePortletInstanceCategory

      @DeleteMapping("{id}") @Secured("users") public void deletePortletInstanceCategory(jakarta.servlet.http.HttpServletRequest request, @PathVariable("id") long id)