Interface ReadRestController<M extends BaseModelAbstract<I>,​C extends BaseCriteriaAbstract<I>,​S extends BaseService<M,​C,​?,​I,​U>,​I extends Comparable<? super I>,​U>

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default org.springframework.http.ResponseEntity<org.springframework.data.domain.Page<M>> FILTER​(C criteria, org.springframework.data.domain.Pageable page)  
      default org.springframework.http.ResponseEntity<org.springframework.data.domain.Page<M>> GET​(C criteria, org.springframework.data.domain.Pageable page)  
      default org.springframework.http.ResponseEntity<M> GET​(I id)  
      S getService()  
      U getUser()  
    • Method Detail

      • GET

        @GetMapping("{id}")
        default org.springframework.http.ResponseEntity<M> GET​(@PathVariable
                                                               I id)
      • FILTER

        @PostMapping(value="filter",
                     consumes="application/json")
        default org.springframework.http.ResponseEntity<org.springframework.data.domain.Page<M>> FILTER​(@RequestBody @Validated
                                                                                                        C criteria,
                                                                                                        org.springframework.data.domain.Pageable page)
      • GET

        @GetMapping("")
        default org.springframework.http.ResponseEntity<org.springframework.data.domain.Page<M>> GET​(@Validated
                                                                                                     C criteria,
                                                                                                     org.springframework.data.domain.Pageable page)
      • getService

        S getService()
      • getUser

        U getUser()