org.molgenis.controller
Class PanelSourceController
java.lang.Object
org.molgenis.controller.PanelSourceController
@Lazy
@Controller
@RequestMapping(value="/api/v1/panelsource")
public class PanelSourceController
- extends Object
|
Method Summary |
org.springframework.http.ResponseEntity<org.molgenis.controller.PanelSourceController.PanelSourceResponse> |
createPanelSource(org.molgenis.controller.PanelSourceController.PanelSourceRequest panelSourceRequest)
|
org.springframework.http.ResponseEntity<org.molgenis.controller.PanelSourceController.PanelSourceResponse> |
createPanelSourceFromForm(org.molgenis.controller.PanelSourceController.PanelSourceRequest panelSourceRequest)
|
void |
deletePanelSource(Integer id)
|
void |
deletePanelSourcePost(Integer id)
|
void |
handleDatabaseAccessException(DatabaseAccessException e)
|
void |
handleEntityNotFoundException(EntityNotFoundException e)
|
org.molgenis.controller.PanelSourceController.PanelSourceResponse |
retrievePanelSource(Integer id,
String... expandFields)
|
EntityCollectionResponse<org.molgenis.controller.PanelSourceController.PanelSourceResponse> |
retrievePanelSourceCollection(EntityCollectionRequest panelSourceCollectionRequest,
String... expandFields)
|
EntityCollectionResponse<org.molgenis.controller.PanelSourceController.PanelSourceResponse> |
retrievePanelSourceCollectionJson(EntityCollectionRequest panelSourceCollectionRequest,
String... expandFields)
|
EntityCollectionResponse<org.molgenis.controller.PanelSourceController.PanelSourceResponse> |
retrievePanelSourceCollectionJsonPost(EntityCollectionRequest panelSourceCollectionRequest,
String... expandFields)
|
EntityCollectionResponse<org.molgenis.controller.PanelSourceController.PanelSourceResponse> |
retrievePanelSourceCollectionPost(EntityCollectionRequest panelSourceCollectionRequest,
String... expandFields)
|
org.molgenis.controller.PanelSourceController.PanelSourceResponse |
retrievePanelSourceJson(Integer id,
String... expandFields)
|
String |
retrievePanelSourceXrefCurrentPanel(Integer id,
String... expandFields)
|
String |
retrievePanelSourceXrefCurrentPanelJson(Integer id,
String... expandFields)
|
String |
retrievePanelSourceXrefSourcePanel(Integer id,
String... expandFields)
|
String |
retrievePanelSourceXrefSourcePanelJson(Integer id,
String... expandFields)
|
void |
updatePanelSource(Integer id,
org.molgenis.controller.PanelSourceController.PanelSourceRequest panelSourceRequest)
|
org.springframework.http.ResponseEntity<org.molgenis.controller.PanelSourceController.PanelSourceResponse> |
updatePanelSourceFromForm(Integer id,
String _method,
org.molgenis.controller.PanelSourceController.PanelSourceRequest panelSourceRequest)
|
void |
updatePanelSourceFromFormPost(Integer id,
org.molgenis.controller.PanelSourceController.PanelSourceRequest panelSourceRequest)
|
void |
updatePanelSourcePost(Integer id,
org.molgenis.controller.PanelSourceController.PanelSourceRequest panelSourceRequest)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PanelSourceController
public PanelSourceController()
createPanelSource
@RequestMapping(method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<org.molgenis.controller.PanelSourceController.PanelSourceResponse> createPanelSource(@RequestBody
org.molgenis.controller.PanelSourceController.PanelSourceRequest panelSourceRequest)
throws DatabaseException
- Throws:
DatabaseException
createPanelSourceFromForm
@RequestMapping(method=POST,
headers="Content-Type=application/x-www-form-urlencoded")
@ResponseBody
public org.springframework.http.ResponseEntity<org.molgenis.controller.PanelSourceController.PanelSourceResponse> createPanelSourceFromForm(@ModelAttribute
org.molgenis.controller.PanelSourceController.PanelSourceRequest panelSourceRequest)
throws DatabaseException
- Throws:
DatabaseException
retrievePanelSource
@RequestMapping(value="/{id}",
method=GET)
@ResponseBody
public org.molgenis.controller.PanelSourceController.PanelSourceResponse retrievePanelSource(@PathVariable
Integer id,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrievePanelSourceJson
@RequestMapping(value="/{id}",
method=GET,
params="format=json",
produces="application/json")
@ResponseBody
public org.molgenis.controller.PanelSourceController.PanelSourceResponse retrievePanelSourceJson(@PathVariable
Integer id,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrievePanelSourceXrefCurrentPanel
@RequestMapping(value="/{id}/currentPanel",
method=GET)
public String retrievePanelSourceXrefCurrentPanel(@PathVariable
Integer id,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrievePanelSourceXrefCurrentPanelJson
@RequestMapping(value="/{id}/currentPanel",
method=GET,
params="format=json",
produces="application/json")
public String retrievePanelSourceXrefCurrentPanelJson(@PathVariable
Integer id,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrievePanelSourceXrefSourcePanel
@RequestMapping(value="/{id}/sourcePanel",
method=GET)
public String retrievePanelSourceXrefSourcePanel(@PathVariable
Integer id,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrievePanelSourceXrefSourcePanelJson
@RequestMapping(value="/{id}/sourcePanel",
method=GET,
params="format=json",
produces="application/json")
public String retrievePanelSourceXrefSourcePanelJson(@PathVariable
Integer id,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
updatePanelSource
@RequestMapping(value="/{id}",
method=PUT)
@ResponseStatus(value=OK)
public void updatePanelSource(@PathVariable
Integer id,
@RequestBody
org.molgenis.controller.PanelSourceController.PanelSourceRequest panelSourceRequest)
throws DatabaseException
- Throws:
DatabaseException
updatePanelSourceFromForm
@RequestMapping(value="/{id}",
method=PUT,
headers="Content-Type=application/x-www-form-urlencoded")
@ResponseBody
public org.springframework.http.ResponseEntity<org.molgenis.controller.PanelSourceController.PanelSourceResponse> updatePanelSourceFromForm(@PathVariable
Integer id,
@PathVariable
String _method,
@ModelAttribute
org.molgenis.controller.PanelSourceController.PanelSourceRequest panelSourceRequest)
throws DatabaseException
- Throws:
DatabaseException
updatePanelSourcePost
@RequestMapping(value="/{id}",
method=POST,
params="_method=PUT")
@ResponseStatus(value=NO_CONTENT)
public void updatePanelSourcePost(@PathVariable
Integer id,
@RequestBody
org.molgenis.controller.PanelSourceController.PanelSourceRequest panelSourceRequest)
throws DatabaseException
- Throws:
DatabaseException
updatePanelSourceFromFormPost
@RequestMapping(value="/{id}",
method=POST,
params="_method=PUT",
headers="Content-Type=application/x-www-form-urlencoded")
@ResponseStatus(value=NO_CONTENT)
public void updatePanelSourceFromFormPost(@PathVariable
Integer id,
@ModelAttribute
org.molgenis.controller.PanelSourceController.PanelSourceRequest panelSourceRequest)
throws DatabaseException
- Throws:
DatabaseException
deletePanelSource
@RequestMapping(value="/{id}",
method=DELETE)
@ResponseStatus(value=NO_CONTENT)
public void deletePanelSource(@PathVariable
Integer id)
throws DatabaseException
- Throws:
DatabaseException
deletePanelSourcePost
@RequestMapping(value="/{id}",
method=POST,
params="_method=DELETE")
@ResponseStatus(value=NO_CONTENT)
public void deletePanelSourcePost(@PathVariable
Integer id)
throws DatabaseException
- Throws:
DatabaseException
retrievePanelSourceCollection
@RequestMapping(method=GET)
@ResponseBody
public EntityCollectionResponse<org.molgenis.controller.PanelSourceController.PanelSourceResponse> retrievePanelSourceCollection(EntityCollectionRequest panelSourceCollectionRequest,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrievePanelSourceCollectionJson
@RequestMapping(method=GET,
params="format=json",
produces="application/json")
@ResponseBody
public EntityCollectionResponse<org.molgenis.controller.PanelSourceController.PanelSourceResponse> retrievePanelSourceCollectionJson(EntityCollectionRequest panelSourceCollectionRequest,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrievePanelSourceCollectionPost
@RequestMapping(method=POST,
params="_method=GET")
@ResponseBody
public EntityCollectionResponse<org.molgenis.controller.PanelSourceController.PanelSourceResponse> retrievePanelSourceCollectionPost(@RequestBody
EntityCollectionRequest panelSourceCollectionRequest,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrievePanelSourceCollectionJsonPost
@RequestMapping(method=POST,
params={"_method=GET","format=json"},
produces="application/json")
@ResponseBody
public EntityCollectionResponse<org.molgenis.controller.PanelSourceController.PanelSourceResponse> retrievePanelSourceCollectionJsonPost(@RequestBody
EntityCollectionRequest panelSourceCollectionRequest,
@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.