avalon
Toggle table of contents
0.0.1-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
avalon
avalon-dataset
/
io.github.lishangbu.avalon.dataset.controller
/
RegionController
Region
Controller
@
RestController
@
RequestMapping
(
value
=
[
"/region"
]
)
class
RegionController
(
regionService
:
RegionService
)
Members
Constructors
Region
Controller
Link copied to clipboard
constructor
(
regionService
:
RegionService
)
Functions
delete
By
Id
Link copied to clipboard
@
DeleteMapping
(
value
=
[
"/{id:\d+}"
]
)
fun
deleteById
(
@
PathVariable
id
:
Long
)
list
Regions
Link copied to clipboard
@
GetMapping
(
value
=
[
"/list"
]
)
fun
listRegions
(
@
ModelAttribute
specification
:
RegionSpecification
)
:
List
<
RegionView
>
save
Link copied to clipboard
@
PostMapping
fun
save
(
@
Valid
@
RequestBody
command
:
SaveRegionInput
)
:
RegionView
update
Link copied to clipboard
@
PutMapping
fun
update
(
@
Valid
@
RequestBody
command
:
UpdateRegionInput
)
:
RegionView