@Controller @RequestMapping(value="/bibs1") public class BibsRestController extends AbstractRestService
Constructor and Description |
---|
BibsRestController() |
Modifier and Type | Method and Description |
---|---|
String |
createBib(String requestBody) |
String |
createBibTree(String requestBody) |
String |
createBibTrees(String requestBody) |
String |
deleteBib(String bibId) |
String |
findBibs(String requestBody) |
String |
findBibTree(String requestBody) |
String |
retrieveBib(String bibId) |
String |
retrieveBibTree(String bibId) |
String |
transferHoldings(String bibId,
String holdingIds) |
String |
updateBib(String requestBody) |
String |
updateBibs(String requestBody) |
boundWithBibs, browseHoldings, browseItems, createHoldings, createHoldingsTree, createHoldingsTrees, createItems, deleteHoldings, deleteItems, findHoldings, findHoldingsTree, findItems, retrieveHoldings, retrieveHoldingsTree, retrieveItems, search, transferItems, updateHoldings, updateItems
public BibsRestController()
@RequestMapping(value="/", method=POST, consumes="application/xml;charset=UTF-8", produces="application/text") @ResponseBody public String createBib(@RequestBody String requestBody)
createBib
in interface RestService
createBib
in class AbstractRestService
@RequestMapping(value="/", method=PUT, consumes="application/xml", produces="application/text") @ResponseBody public String updateBib(@RequestBody String requestBody)
updateBib
in interface RestService
updateBib
in class AbstractRestService
@RequestMapping(value="/trees", method=PUT, consumes="application/xml", produces="application/text") @ResponseBody public String updateBibs(@RequestBody String requestBody)
updateBibs
in interface RestService
updateBibs
in class AbstractRestService
@RequestMapping(value="/{bibId}", method=GET, produces="application/xml;charset=UTF-8") @ResponseBody public String retrieveBib(@PathVariable(value="bibId") String bibId)
retrieveBib
in interface RestService
retrieveBib
in class AbstractRestService
@RequestMapping(value="/{bibId}", method=DELETE) @ResponseBody public String deleteBib(@PathVariable(value="bibId") String bibId)
deleteBib
in interface RestService
deleteBib
in class AbstractRestService
@RequestMapping(value="/tree", method=POST, consumes="application/xml", produces="application/text") @ResponseBody public String createBibTree(@RequestBody String requestBody)
createBibTree
in interface RestService
createBibTree
in class AbstractRestService
@RequestMapping(value="/trees", method=POST, consumes="application/xml", produces="application/text") @ResponseBody @ResponseStatus(value=CREATED) public String createBibTrees(@RequestBody String requestBody)
createBibTrees
in interface RestService
createBibTrees
in class AbstractRestService
@RequestMapping(value="/tree/{bibId}", method=GET, produces="application/xml") @ResponseBody public String retrieveBibTree(@PathVariable(value="bibId") String bibId)
retrieveBibTree
in interface RestService
retrieveBibTree
in class AbstractRestService
@RequestMapping(value="/find", method=POST, consumes="application/xml", produces="application/xml") @ResponseBody public String findBibs(@RequestBody String requestBody)
findBibs
in interface RestService
findBibs
in class AbstractRestService
@RequestMapping(value="/tree/find", method=POST, consumes="application/xml", produces="application/xml") @ResponseBody public String findBibTree(@RequestBody String requestBody)
findBibTree
in interface RestService
findBibTree
in class AbstractRestService
@RequestMapping(value="{bibId}/transfer/{holdingIds}", method=POST, consumes="application/xml", produces="application/text") @ResponseBody public String transferHoldings(@PathVariable(value="bibId") String bibId, @PathVariable(value="holdingIds") String holdingIds)
transferHoldings
in interface RestService
transferHoldings
in class AbstractRestService
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.