Package sk.iway.iwcm.system.datatable
Class DatatableRestController<T,ID extends Serializable>
java.lang.Object
sk.iway.iwcm.system.datatable.DatatableRestController<T,ID>
Title webjet8
Company Interway a. s. (www.interway.sk)
Copyright Interway a. s. (c) 2001-2019
-
Constructor Summary
ConstructorsConstructorDescriptionDatatableRestController
(org.springframework.data.jpa.repository.JpaRepository<T, Long> repo) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<T>
org.springframework.http.ResponseEntity<T>
org.springframework.http.ResponseEntity<DatatableResponse<T>>
handleEditor
(DatatableRequest<Long, T> request) This is the method which handles writes from DataTable.Editor.
-
Constructor Details
-
DatatableRestController
-
-
Method Details
-
add
-
edit
-
handleEditor
@PostMapping("/editor") public org.springframework.http.ResponseEntity<DatatableResponse<T>> handleEditor(@RequestBody DatatableRequest<Long, T> request) This is the method which handles writes from DataTable.Editor. Not really RESTful.
-