Class ModelAttributeController

java.lang.Object
cn.sparrow.common.controller.ModelAttributeController
@RestController public class ModelAttributeControllerextends Object
  • Constructor Details

    • ModelAttributeController

      public  ModelAttributeController()
  • Method Details

    • pages

      @GetMapping("/modelAttributes") public  org.springframework.data.domain.Page<?>  pages(@Nullable org.springframework.data.domain.Pageable pageable)
    • add

      @PostMapping("/modelAttributes/batch") public  void  add(@NotNull @RequestBody @NotNull List<ModelAttribute> modelAttributes)
    • update

      @PatchMapping("/modelAttributes/batch") public  void  update(@NotNull @RequestBody @NotNull List<ModelAttribute> modelAttributes)
    • delete

      @DeleteMapping("/modelAttributes/batch") public  void  delete(@NotNull @RequestBody @NotNull List<ModelAttributePK> ids)
    • addPermission

      @PostMapping("/modelAttributes/permissions") public  void  addPermission(@NotNull @RequestBody @NotNull ModelAttributePermission modelAttributePermission)
    • delPermission

      @DeleteMapping("/modelAttributes/permissions") public  void  delPermission(@NotNull @RequestBody @NotNull ModelAttributePermission modelAttributePermission)