@RequestMapping(value="/api/attributes") @RestController public class AttributeController extends Object
Constructor and Description |
---|
AttributeController() |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<Map<String,Object>> |
attributeList(Integer startIndex,
Integer pageSize,
String sorting) |
org.springframework.http.ResponseEntity<Map<String,Object>> |
constraintList(Long attributeId) |
org.springframework.http.ResponseEntity<Map<String,Object>> |
createAttribute(Attribute attribute) |
org.springframework.http.ResponseEntity<Map<String,Object>> |
deleteAttribute(Attribute attribute) |
org.springframework.http.ResponseEntity<ListResponse<String>> |
getAttributeNames() |
void |
init() |
org.springframework.http.ResponseEntity<Map<String,Object>> |
updateAttribute(Attribute attribute) |
@PostConstruct public void init()
@PostMapping(value="/list") public org.springframework.http.ResponseEntity<Map<String,Object>> attributeList(@RequestParam(value="jtStartIndex",required=false) Integer startIndex, @RequestParam(value="jtPageSize",required=false) Integer pageSize, @RequestParam(value="jtSorting",required=false) String sorting)
@PostMapping(value="/create") public org.springframework.http.ResponseEntity<Map<String,Object>> createAttribute(@RequestBody Attribute attribute)
@PostMapping(value="/update") public org.springframework.http.ResponseEntity<Map<String,Object>> updateAttribute(@RequestBody Attribute attribute)
@PostMapping(value="/delete") public org.springframework.http.ResponseEntity<Map<String,Object>> deleteAttribute(@RequestBody Attribute attribute)
@GetMapping public org.springframework.http.ResponseEntity<ListResponse<String>> getAttributeNames()
Copyright © 2016-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Apache Log4j Audit, Log4j, Log4j Audit, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.