org.molgenis.controller
Class FlowcellController
java.lang.Object
org.molgenis.controller.FlowcellController
@Lazy
@Controller
@RequestMapping(value="/api/v1/flowcell")
public class FlowcellController
- extends Object
|
Method Summary |
org.springframework.http.ResponseEntity<org.molgenis.controller.FlowcellController.FlowcellResponse> |
createFlowcell(org.molgenis.controller.FlowcellController.FlowcellRequest flowcellRequest)
|
org.springframework.http.ResponseEntity<org.molgenis.controller.FlowcellController.FlowcellResponse> |
createFlowcellFromForm(org.molgenis.controller.FlowcellController.FlowcellRequest flowcellRequest)
|
void |
deleteFlowcell(Integer id)
|
void |
deleteFlowcellPost(Integer id)
|
void |
handleDatabaseAccessException(DatabaseAccessException e)
|
void |
handleEntityNotFoundException(EntityNotFoundException e)
|
org.molgenis.controller.FlowcellController.FlowcellResponse |
retrieveFlowcell(Integer id,
String... expandFields)
|
EntityCollectionResponse<org.molgenis.controller.FlowcellController.FlowcellResponse> |
retrieveFlowcellCollection(EntityCollectionRequest flowcellCollectionRequest,
String... expandFields)
|
EntityCollectionResponse<org.molgenis.controller.FlowcellController.FlowcellResponse> |
retrieveFlowcellCollectionJson(EntityCollectionRequest flowcellCollectionRequest,
String... expandFields)
|
EntityCollectionResponse<org.molgenis.controller.FlowcellController.FlowcellResponse> |
retrieveFlowcellCollectionJsonPost(EntityCollectionRequest flowcellCollectionRequest,
String... expandFields)
|
EntityCollectionResponse<org.molgenis.controller.FlowcellController.FlowcellResponse> |
retrieveFlowcellCollectionPost(EntityCollectionRequest flowcellCollectionRequest,
String... expandFields)
|
org.molgenis.controller.FlowcellController.FlowcellResponse |
retrieveFlowcellJson(Integer id,
String... expandFields)
|
String |
retrieveFlowcellXrefMachine(Integer id,
String... expandFields)
|
String |
retrieveFlowcellXrefMachineJson(Integer id,
String... expandFields)
|
void |
updateFlowcell(Integer id,
org.molgenis.controller.FlowcellController.FlowcellRequest flowcellRequest)
|
org.springframework.http.ResponseEntity<org.molgenis.controller.FlowcellController.FlowcellResponse> |
updateFlowcellFromForm(Integer id,
String _method,
org.molgenis.controller.FlowcellController.FlowcellRequest flowcellRequest)
|
void |
updateFlowcellFromFormPost(Integer id,
org.molgenis.controller.FlowcellController.FlowcellRequest flowcellRequest)
|
void |
updateFlowcellPost(Integer id,
org.molgenis.controller.FlowcellController.FlowcellRequest flowcellRequest)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlowcellController
public FlowcellController()
createFlowcell
@RequestMapping(method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<org.molgenis.controller.FlowcellController.FlowcellResponse> createFlowcell(@RequestBody
org.molgenis.controller.FlowcellController.FlowcellRequest flowcellRequest)
throws DatabaseException
- Throws:
DatabaseException
createFlowcellFromForm
@RequestMapping(method=POST,
headers="Content-Type=application/x-www-form-urlencoded")
@ResponseBody
public org.springframework.http.ResponseEntity<org.molgenis.controller.FlowcellController.FlowcellResponse> createFlowcellFromForm(@ModelAttribute
org.molgenis.controller.FlowcellController.FlowcellRequest flowcellRequest)
throws DatabaseException
- Throws:
DatabaseException
retrieveFlowcell
@RequestMapping(value="/{id}",
method=GET)
@ResponseBody
public org.molgenis.controller.FlowcellController.FlowcellResponse retrieveFlowcell(@PathVariable
Integer id,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrieveFlowcellJson
@RequestMapping(value="/{id}",
method=GET,
params="format=json",
produces="application/json")
@ResponseBody
public org.molgenis.controller.FlowcellController.FlowcellResponse retrieveFlowcellJson(@PathVariable
Integer id,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrieveFlowcellXrefMachine
@RequestMapping(value="/{id}/machine",
method=GET)
public String retrieveFlowcellXrefMachine(@PathVariable
Integer id,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrieveFlowcellXrefMachineJson
@RequestMapping(value="/{id}/machine",
method=GET,
params="format=json",
produces="application/json")
public String retrieveFlowcellXrefMachineJson(@PathVariable
Integer id,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
updateFlowcell
@RequestMapping(value="/{id}",
method=PUT)
@ResponseStatus(value=OK)
public void updateFlowcell(@PathVariable
Integer id,
@RequestBody
org.molgenis.controller.FlowcellController.FlowcellRequest flowcellRequest)
throws DatabaseException
- Throws:
DatabaseException
updateFlowcellFromForm
@RequestMapping(value="/{id}",
method=PUT,
headers="Content-Type=application/x-www-form-urlencoded")
@ResponseBody
public org.springframework.http.ResponseEntity<org.molgenis.controller.FlowcellController.FlowcellResponse> updateFlowcellFromForm(@PathVariable
Integer id,
@PathVariable
String _method,
@ModelAttribute
org.molgenis.controller.FlowcellController.FlowcellRequest flowcellRequest)
throws DatabaseException
- Throws:
DatabaseException
updateFlowcellPost
@RequestMapping(value="/{id}",
method=POST,
params="_method=PUT")
@ResponseStatus(value=NO_CONTENT)
public void updateFlowcellPost(@PathVariable
Integer id,
@RequestBody
org.molgenis.controller.FlowcellController.FlowcellRequest flowcellRequest)
throws DatabaseException
- Throws:
DatabaseException
updateFlowcellFromFormPost
@RequestMapping(value="/{id}",
method=POST,
params="_method=PUT",
headers="Content-Type=application/x-www-form-urlencoded")
@ResponseStatus(value=NO_CONTENT)
public void updateFlowcellFromFormPost(@PathVariable
Integer id,
@ModelAttribute
org.molgenis.controller.FlowcellController.FlowcellRequest flowcellRequest)
throws DatabaseException
- Throws:
DatabaseException
deleteFlowcell
@RequestMapping(value="/{id}",
method=DELETE)
@ResponseStatus(value=NO_CONTENT)
public void deleteFlowcell(@PathVariable
Integer id)
throws DatabaseException
- Throws:
DatabaseException
deleteFlowcellPost
@RequestMapping(value="/{id}",
method=POST,
params="_method=DELETE")
@ResponseStatus(value=NO_CONTENT)
public void deleteFlowcellPost(@PathVariable
Integer id)
throws DatabaseException
- Throws:
DatabaseException
retrieveFlowcellCollection
@RequestMapping(method=GET)
@ResponseBody
public EntityCollectionResponse<org.molgenis.controller.FlowcellController.FlowcellResponse> retrieveFlowcellCollection(EntityCollectionRequest flowcellCollectionRequest,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrieveFlowcellCollectionJson
@RequestMapping(method=GET,
params="format=json",
produces="application/json")
@ResponseBody
public EntityCollectionResponse<org.molgenis.controller.FlowcellController.FlowcellResponse> retrieveFlowcellCollectionJson(EntityCollectionRequest flowcellCollectionRequest,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrieveFlowcellCollectionPost
@RequestMapping(method=POST,
params="_method=GET")
@ResponseBody
public EntityCollectionResponse<org.molgenis.controller.FlowcellController.FlowcellResponse> retrieveFlowcellCollectionPost(@RequestBody
EntityCollectionRequest flowcellCollectionRequest,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrieveFlowcellCollectionJsonPost
@RequestMapping(method=POST,
params={"_method=GET","format=json"},
produces="application/json")
@ResponseBody
public EntityCollectionResponse<org.molgenis.controller.FlowcellController.FlowcellResponse> retrieveFlowcellCollectionJsonPost(@RequestBody
EntityCollectionRequest flowcellCollectionRequest,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
handleEntityNotFoundException
@ExceptionHandler(value=org.molgenis.framework.db.EntityNotFoundException.class)
@ResponseStatus(value=NOT_FOUND)
public void handleEntityNotFoundException(EntityNotFoundException e)
handleDatabaseAccessException
@ExceptionHandler(value=org.molgenis.framework.db.DatabaseAccessException.class)
@ResponseStatus(value=UNAUTHORIZED)
public void handleDatabaseAccessException(DatabaseAccessException e)
Copyright © 2013. All Rights Reserved.