@Controller @RequestMapping(value="/data") public class DataController extends Object
Constructor and Description |
---|
DataController() |
Modifier and Type | Method and Description |
---|---|
String |
createBag(Bag bag,
String instanceId) |
String |
createData(WebEntity entity,
String instanceId) |
String |
createInstance(WebInstance instance) |
String |
deleteBag(String instanceId,
String bag) |
String |
deleteInstance(String instanceId) |
String |
indexPage(org.springframework.ui.Model model) |
String |
instanceData(String instanceId,
org.springframework.ui.Model model) |
@RequestMapping(value="/", method=GET) public String indexPage(org.springframework.ui.Model model) throws JasDBException
JasDBException
@RequestMapping(value="/{instanceId}", method=GET) public String instanceData(@PathVariable String instanceId, org.springframework.ui.Model model) throws JasDBException
JasDBException
@RequestMapping(value="/", method=POST) public String createInstance(WebInstance instance) throws JasDBException
JasDBException
@RequestMapping(value="/{instanceId}/createBag", method=POST) public String createBag(Bag bag, @PathVariable String instanceId) throws JasDBException
JasDBException
@RequestMapping(value="/{instanceId}/createEntity", method=POST) public String createData(WebEntity entity, @PathVariable String instanceId) throws JasDBException
JasDBException
@RequestMapping(value="/{instanceId}/{bag}/delete", method=GET) public String deleteBag(@PathVariable String instanceId, @PathVariable String bag) throws JasDBException
JasDBException
@RequestMapping(value="/{instanceId}/delete", method=GET) public String deleteInstance(@PathVariable String instanceId) throws JasDBException
JasDBException
Copyright © 2015. All rights reserved.