@RestController @RequestMapping(value="/api/v1.2/graph-connections") public class GraphConnectionController extends BaseController
ORDER_ASC, ORDER_DESC| Constructor and Description |
|---|
GraphConnectionController() |
| Modifier and Type | Method and Description |
|---|---|
GraphConnection |
create(GraphConnection newEntity) |
GraphConnection |
delete(int id) |
GraphConnection |
get(int id) |
Response |
list(String content,
int pageNo,
int pageSize) |
GraphConnection |
update(int id,
GraphConnection newEntity) |
checkIdSameAsBody, checkParamsNotEmpty, checkParamsNotEmpty, mergeEntity@GetMapping public Response list(@RequestParam(name="content",required=false) String content, @RequestParam(name="page_no",required=false,defaultValue="1") int pageNo, @RequestParam(name="page_size",required=false,defaultValue="10") int pageSize)
@GetMapping(value="{id}")
public GraphConnection get(@PathVariable(value="id")
int id)
@PostMapping public GraphConnection create(@RequestBody GraphConnection newEntity)
@PutMapping(value="{id}")
public GraphConnection update(@PathVariable(value="id")
int id,
@RequestBody
GraphConnection newEntity)
@DeleteMapping(value="{id}")
public GraphConnection delete(@PathVariable(value="id")
int id)
Copyright © 2024 The Apache Software Foundation. All rights reserved.