org.molgenis.controller
Class DecimalValueController
java.lang.Object
org.molgenis.controller.DecimalValueController
@Lazy
@Controller
@RequestMapping(value="/api/v1/decimalvalue")
public class DecimalValueController
- extends Object
|
Method Summary |
org.springframework.http.ResponseEntity<org.molgenis.controller.DecimalValueController.DecimalValueResponse> |
createDecimalValue(org.molgenis.controller.DecimalValueController.DecimalValueRequest decimalValueRequest)
|
org.springframework.http.ResponseEntity<org.molgenis.controller.DecimalValueController.DecimalValueResponse> |
createDecimalValueFromForm(org.molgenis.controller.DecimalValueController.DecimalValueRequest decimalValueRequest)
|
void |
deleteDecimalValue(Integer id)
|
void |
deleteDecimalValuePost(Integer id)
|
void |
handleDatabaseAccessException(DatabaseAccessException e)
|
void |
handleEntityNotFoundException(EntityNotFoundException e)
|
org.molgenis.controller.DecimalValueController.DecimalValueResponse |
retrieveDecimalValue(Integer id,
String... expandFields)
|
EntityCollectionResponse<org.molgenis.controller.DecimalValueController.DecimalValueResponse> |
retrieveDecimalValueCollection(EntityCollectionRequest decimalValueCollectionRequest,
String... expandFields)
|
EntityCollectionResponse<org.molgenis.controller.DecimalValueController.DecimalValueResponse> |
retrieveDecimalValueCollectionJson(EntityCollectionRequest decimalValueCollectionRequest,
String... expandFields)
|
EntityCollectionResponse<org.molgenis.controller.DecimalValueController.DecimalValueResponse> |
retrieveDecimalValueCollectionJsonPost(EntityCollectionRequest decimalValueCollectionRequest,
String... expandFields)
|
EntityCollectionResponse<org.molgenis.controller.DecimalValueController.DecimalValueResponse> |
retrieveDecimalValueCollectionPost(EntityCollectionRequest decimalValueCollectionRequest,
String... expandFields)
|
org.molgenis.controller.DecimalValueController.DecimalValueResponse |
retrieveDecimalValueJson(Integer id,
String... expandFields)
|
void |
updateDecimalValue(Integer id,
org.molgenis.controller.DecimalValueController.DecimalValueRequest decimalValueRequest)
|
org.springframework.http.ResponseEntity<org.molgenis.controller.DecimalValueController.DecimalValueResponse> |
updateDecimalValueFromForm(Integer id,
String _method,
org.molgenis.controller.DecimalValueController.DecimalValueRequest decimalValueRequest)
|
void |
updateDecimalValueFromFormPost(Integer id,
org.molgenis.controller.DecimalValueController.DecimalValueRequest decimalValueRequest)
|
void |
updateDecimalValuePost(Integer id,
org.molgenis.controller.DecimalValueController.DecimalValueRequest decimalValueRequest)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DecimalValueController
public DecimalValueController()
createDecimalValue
@RequestMapping(method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<org.molgenis.controller.DecimalValueController.DecimalValueResponse> createDecimalValue(@RequestBody
org.molgenis.controller.DecimalValueController.DecimalValueRequest decimalValueRequest)
throws DatabaseException
- Throws:
DatabaseException
createDecimalValueFromForm
@RequestMapping(method=POST,
headers="Content-Type=application/x-www-form-urlencoded")
@ResponseBody
public org.springframework.http.ResponseEntity<org.molgenis.controller.DecimalValueController.DecimalValueResponse> createDecimalValueFromForm(@ModelAttribute
org.molgenis.controller.DecimalValueController.DecimalValueRequest decimalValueRequest)
throws DatabaseException
- Throws:
DatabaseException
retrieveDecimalValue
@RequestMapping(value="/{id}",
method=GET)
@ResponseBody
public org.molgenis.controller.DecimalValueController.DecimalValueResponse retrieveDecimalValue(@PathVariable
Integer id,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrieveDecimalValueJson
@RequestMapping(value="/{id}",
method=GET,
params="format=json",
produces="application/json")
@ResponseBody
public org.molgenis.controller.DecimalValueController.DecimalValueResponse retrieveDecimalValueJson(@PathVariable
Integer id,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
updateDecimalValue
@RequestMapping(value="/{id}",
method=PUT)
@ResponseStatus(value=OK)
public void updateDecimalValue(@PathVariable
Integer id,
@RequestBody
org.molgenis.controller.DecimalValueController.DecimalValueRequest decimalValueRequest)
throws DatabaseException
- Throws:
DatabaseException
updateDecimalValueFromForm
@RequestMapping(value="/{id}",
method=PUT,
headers="Content-Type=application/x-www-form-urlencoded")
@ResponseBody
public org.springframework.http.ResponseEntity<org.molgenis.controller.DecimalValueController.DecimalValueResponse> updateDecimalValueFromForm(@PathVariable
Integer id,
@PathVariable
String _method,
@ModelAttribute
org.molgenis.controller.DecimalValueController.DecimalValueRequest decimalValueRequest)
throws DatabaseException
- Throws:
DatabaseException
updateDecimalValuePost
@RequestMapping(value="/{id}",
method=POST,
params="_method=PUT")
@ResponseStatus(value=NO_CONTENT)
public void updateDecimalValuePost(@PathVariable
Integer id,
@RequestBody
org.molgenis.controller.DecimalValueController.DecimalValueRequest decimalValueRequest)
throws DatabaseException
- Throws:
DatabaseException
updateDecimalValueFromFormPost
@RequestMapping(value="/{id}",
method=POST,
params="_method=PUT",
headers="Content-Type=application/x-www-form-urlencoded")
@ResponseStatus(value=NO_CONTENT)
public void updateDecimalValueFromFormPost(@PathVariable
Integer id,
@ModelAttribute
org.molgenis.controller.DecimalValueController.DecimalValueRequest decimalValueRequest)
throws DatabaseException
- Throws:
DatabaseException
deleteDecimalValue
@RequestMapping(value="/{id}",
method=DELETE)
@ResponseStatus(value=NO_CONTENT)
public void deleteDecimalValue(@PathVariable
Integer id)
throws DatabaseException
- Throws:
DatabaseException
deleteDecimalValuePost
@RequestMapping(value="/{id}",
method=POST,
params="_method=DELETE")
@ResponseStatus(value=NO_CONTENT)
public void deleteDecimalValuePost(@PathVariable
Integer id)
throws DatabaseException
- Throws:
DatabaseException
retrieveDecimalValueCollection
@RequestMapping(method=GET)
@ResponseBody
public EntityCollectionResponse<org.molgenis.controller.DecimalValueController.DecimalValueResponse> retrieveDecimalValueCollection(EntityCollectionRequest decimalValueCollectionRequest,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrieveDecimalValueCollectionJson
@RequestMapping(method=GET,
params="format=json",
produces="application/json")
@ResponseBody
public EntityCollectionResponse<org.molgenis.controller.DecimalValueController.DecimalValueResponse> retrieveDecimalValueCollectionJson(EntityCollectionRequest decimalValueCollectionRequest,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrieveDecimalValueCollectionPost
@RequestMapping(method=POST,
params="_method=GET")
@ResponseBody
public EntityCollectionResponse<org.molgenis.controller.DecimalValueController.DecimalValueResponse> retrieveDecimalValueCollectionPost(@RequestBody
EntityCollectionRequest decimalValueCollectionRequest,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrieveDecimalValueCollectionJsonPost
@RequestMapping(method=POST,
params={"_method=GET","format=json"},
produces="application/json")
@ResponseBody
public EntityCollectionResponse<org.molgenis.controller.DecimalValueController.DecimalValueResponse> retrieveDecimalValueCollectionJsonPost(@RequestBody
EntityCollectionRequest decimalValueCollectionRequest,
@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.