@Controller @RequestMapping(value="/item") public class ItemsRestController extends AbstractRestService
Modifier and Type | Field and Description |
---|---|
static BibMarcRecordProcessor |
bibMarcRecordProcessor |
Constructor and Description |
---|
ItemsRestController() |
Modifier and Type | Method and Description |
---|---|
String |
bulkUpdateItems(String requestBody) |
String |
createItem(String requestBody) |
String |
deleteItem(String itemId) |
String |
deleteItems(String itemIds) |
String |
findItems(String requestBody) |
String |
patchItem(String requestBody) |
String |
patchItemById(String[] itemsIds,
String requestBody) |
String |
patchItemByIdWithContent(String[] itemsIds,
String requestBody) |
String |
patchItemWithContent(String requestBody) |
String |
retrieveHoldingsByBarcode(String[] barcodes) |
String |
retrieveItemByBarcode(String barcode) |
String |
retrieveItemMap(String[] itemsIds) |
String |
retrieveItems(String[] itemsIds) |
String |
updateItem(String requestBody) |
String |
updateItemByBarcode(String[] barcodes,
String requestBody) |
String |
updateItemByBarcodeWithContent(String[] barcodes,
String requestBody) |
boundWithBibs, browseHoldings, browseItems, createBib, createBibTree, createBibTrees, createHoldings, createHoldingsTree, createHoldingsTrees, createItems, deleteBib, deleteHoldings, findBibs, findBibTree, findHoldings, findHoldingsTree, retrieveBib, retrieveBibTree, retrieveHoldings, retrieveHoldingsTree, retrieveHoldingsTrees, retrieveItems, search, transferHoldings, transferItems, unbindWithAllBibs, unbindWithOneBib, updateBib, updateBibs, updateHoldings, updateItems
public static BibMarcRecordProcessor bibMarcRecordProcessor
public ItemsRestController()
@RequestMapping(value="/doc/", method=POST, consumes="application/xml", produces="application/text") @ResponseBody public String createItem(@RequestBody String requestBody)
createItem
in interface RestService
createItem
in class AbstractRestService
@RequestMapping(value="/doc", method=GET, produces="application/xml") @ResponseBody public String retrieveItems(@RequestParam(value="itemId") String[] itemsIds)
@RequestMapping(value="/doc/map", method=GET, produces="application/xml") @ResponseBody public String retrieveItemMap(@RequestParam(value="itemId") String[] itemsIds)
@RequestMapping(value="/holdings", method=GET, produces="application/xml") @ResponseBody public String retrieveHoldingsByBarcode(@RequestParam(value="barcode") String[] barcodes)
retrieveHoldingsByBarcode
in interface RestService
retrieveHoldingsByBarcode
in class AbstractRestService
@RequestMapping(method=GET, produces="application/xml") @ResponseBody public String retrieveItemByBarcode(@RequestParam(value="barcode") String barcode)
retrieveItemByBarcode
in interface RestService
retrieveItemByBarcode
in class AbstractRestService
@RequestMapping(method=PATCH, consumes="application/xml", produces="application/xml") @ResponseBody public String updateItemByBarcodeWithContent(@RequestParam(value="barcode") String[] barcodes, @RequestBody String requestBody)
updateItemByBarcodeWithContent
in interface RestService
updateItemByBarcodeWithContent
in class AbstractRestService
@RequestMapping(value="/doc", method=PATCH, consumes="application/xml", produces="application/xml") @ResponseBody public String updateItemByBarcode(@RequestParam(value="barcode") String[] barcodes, @RequestBody String requestBody)
updateItemByBarcode
in interface RestService
updateItemByBarcode
in class AbstractRestService
@RequestMapping(value="/doc/", method=PATCH, consumes="application/xml", produces="application/xml") @ResponseBody public String patchItem(@RequestBody String requestBody)
patchItem
in interface RestService
patchItem
in class AbstractRestService
@RequestMapping(value="/", method=PATCH, consumes="application/xml", produces="application/xml") @ResponseBody public String patchItemWithContent(@RequestBody String requestBody)
patchItemWithContent
in interface RestService
patchItemWithContent
in class AbstractRestService
@RequestMapping(value="/doc/id", method=PATCH, consumes="application/xml", produces="application/xml") @ResponseBody public String patchItemById(@RequestParam(value="id") String[] itemsIds, @RequestBody String requestBody)
patchItemById
in interface RestService
patchItemById
in class AbstractRestService
@RequestMapping(value="/id", method=PATCH, consumes="application/xml", produces="application/xml") @ResponseBody public String patchItemByIdWithContent(@RequestParam(value="id") String[] itemsIds, @RequestBody String requestBody)
patchItemByIdWithContent
in interface RestService
patchItemByIdWithContent
in class AbstractRestService
@RequestMapping(value="/doc/", method=PUT, consumes="application/xml", produces="application/xml") @ResponseBody public String updateItem(@RequestBody String requestBody)
updateItem
in interface RestService
updateItem
in class AbstractRestService
@RequestMapping(value="/doc", method=DELETE) @ResponseBody public String deleteItem(@RequestParam(value="itemId") String itemId)
deleteItem
in interface RestService
deleteItem
in class AbstractRestService
@RequestMapping(value="/docs", method=DELETE) @ResponseBody public String deleteItems(@RequestParam(value="itemId") String itemIds)
deleteItems
in interface RestService
deleteItems
in class AbstractRestService
@RequestMapping(value="/doc/find", method=POST, consumes="application/xml", produces="application/text") @ResponseBody public String findItems(@RequestBody String requestBody)
findItems
in interface RestService
findItems
in class AbstractRestService
@RequestMapping(value="/doc/bulkUpdate", method=PUT, consumes="application/xml", produces="application/xml") @ResponseBody public String bulkUpdateItems(@RequestBody String requestBody)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.