org.molgenis.controller
Class IntValueController
java.lang.Object
org.molgenis.controller.IntValueController
@Lazy
@Controller
@RequestMapping(value="/api/v1/intvalue")
public class IntValueController
- extends Object
|
Method Summary |
org.springframework.http.ResponseEntity<org.molgenis.controller.IntValueController.IntValueResponse> |
createIntValue(org.molgenis.controller.IntValueController.IntValueRequest intValueRequest)
|
org.springframework.http.ResponseEntity<org.molgenis.controller.IntValueController.IntValueResponse> |
createIntValueFromForm(org.molgenis.controller.IntValueController.IntValueRequest intValueRequest)
|
void |
deleteIntValue(Integer id)
|
void |
deleteIntValuePost(Integer id)
|
void |
handleDatabaseAccessException(DatabaseAccessException e)
|
void |
handleEntityNotFoundException(EntityNotFoundException e)
|
org.molgenis.controller.IntValueController.IntValueResponse |
retrieveIntValue(Integer id,
String... expandFields)
|
EntityCollectionResponse<org.molgenis.controller.IntValueController.IntValueResponse> |
retrieveIntValueCollection(EntityCollectionRequest intValueCollectionRequest,
String... expandFields)
|
EntityCollectionResponse<org.molgenis.controller.IntValueController.IntValueResponse> |
retrieveIntValueCollectionJson(EntityCollectionRequest intValueCollectionRequest,
String... expandFields)
|
EntityCollectionResponse<org.molgenis.controller.IntValueController.IntValueResponse> |
retrieveIntValueCollectionJsonPost(EntityCollectionRequest intValueCollectionRequest,
String... expandFields)
|
EntityCollectionResponse<org.molgenis.controller.IntValueController.IntValueResponse> |
retrieveIntValueCollectionPost(EntityCollectionRequest intValueCollectionRequest,
String... expandFields)
|
org.molgenis.controller.IntValueController.IntValueResponse |
retrieveIntValueJson(Integer id,
String... expandFields)
|
void |
updateIntValue(Integer id,
org.molgenis.controller.IntValueController.IntValueRequest intValueRequest)
|
org.springframework.http.ResponseEntity<org.molgenis.controller.IntValueController.IntValueResponse> |
updateIntValueFromForm(Integer id,
String _method,
org.molgenis.controller.IntValueController.IntValueRequest intValueRequest)
|
void |
updateIntValueFromFormPost(Integer id,
org.molgenis.controller.IntValueController.IntValueRequest intValueRequest)
|
void |
updateIntValuePost(Integer id,
org.molgenis.controller.IntValueController.IntValueRequest intValueRequest)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntValueController
public IntValueController()
createIntValue
@RequestMapping(method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<org.molgenis.controller.IntValueController.IntValueResponse> createIntValue(@RequestBody
org.molgenis.controller.IntValueController.IntValueRequest intValueRequest)
throws DatabaseException
- Throws:
DatabaseException
createIntValueFromForm
@RequestMapping(method=POST,
headers="Content-Type=application/x-www-form-urlencoded")
@ResponseBody
public org.springframework.http.ResponseEntity<org.molgenis.controller.IntValueController.IntValueResponse> createIntValueFromForm(@ModelAttribute
org.molgenis.controller.IntValueController.IntValueRequest intValueRequest)
throws DatabaseException
- Throws:
DatabaseException
retrieveIntValue
@RequestMapping(value="/{id}",
method=GET)
@ResponseBody
public org.molgenis.controller.IntValueController.IntValueResponse retrieveIntValue(@PathVariable
Integer id,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrieveIntValueJson
@RequestMapping(value="/{id}",
method=GET,
params="format=json",
produces="application/json")
@ResponseBody
public org.molgenis.controller.IntValueController.IntValueResponse retrieveIntValueJson(@PathVariable
Integer id,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
updateIntValue
@RequestMapping(value="/{id}",
method=PUT)
@ResponseStatus(value=OK)
public void updateIntValue(@PathVariable
Integer id,
@RequestBody
org.molgenis.controller.IntValueController.IntValueRequest intValueRequest)
throws DatabaseException
- Throws:
DatabaseException
updateIntValueFromForm
@RequestMapping(value="/{id}",
method=PUT,
headers="Content-Type=application/x-www-form-urlencoded")
@ResponseBody
public org.springframework.http.ResponseEntity<org.molgenis.controller.IntValueController.IntValueResponse> updateIntValueFromForm(@PathVariable
Integer id,
@PathVariable
String _method,
@ModelAttribute
org.molgenis.controller.IntValueController.IntValueRequest intValueRequest)
throws DatabaseException
- Throws:
DatabaseException
updateIntValuePost
@RequestMapping(value="/{id}",
method=POST,
params="_method=PUT")
@ResponseStatus(value=NO_CONTENT)
public void updateIntValuePost(@PathVariable
Integer id,
@RequestBody
org.molgenis.controller.IntValueController.IntValueRequest intValueRequest)
throws DatabaseException
- Throws:
DatabaseException
updateIntValueFromFormPost
@RequestMapping(value="/{id}",
method=POST,
params="_method=PUT",
headers="Content-Type=application/x-www-form-urlencoded")
@ResponseStatus(value=NO_CONTENT)
public void updateIntValueFromFormPost(@PathVariable
Integer id,
@ModelAttribute
org.molgenis.controller.IntValueController.IntValueRequest intValueRequest)
throws DatabaseException
- Throws:
DatabaseException
deleteIntValue
@RequestMapping(value="/{id}",
method=DELETE)
@ResponseStatus(value=NO_CONTENT)
public void deleteIntValue(@PathVariable
Integer id)
throws DatabaseException
- Throws:
DatabaseException
deleteIntValuePost
@RequestMapping(value="/{id}",
method=POST,
params="_method=DELETE")
@ResponseStatus(value=NO_CONTENT)
public void deleteIntValuePost(@PathVariable
Integer id)
throws DatabaseException
- Throws:
DatabaseException
retrieveIntValueCollection
@RequestMapping(method=GET)
@ResponseBody
public EntityCollectionResponse<org.molgenis.controller.IntValueController.IntValueResponse> retrieveIntValueCollection(EntityCollectionRequest intValueCollectionRequest,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrieveIntValueCollectionJson
@RequestMapping(method=GET,
params="format=json",
produces="application/json")
@ResponseBody
public EntityCollectionResponse<org.molgenis.controller.IntValueController.IntValueResponse> retrieveIntValueCollectionJson(EntityCollectionRequest intValueCollectionRequest,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrieveIntValueCollectionPost
@RequestMapping(method=POST,
params="_method=GET")
@ResponseBody
public EntityCollectionResponse<org.molgenis.controller.IntValueController.IntValueResponse> retrieveIntValueCollectionPost(@RequestBody
EntityCollectionRequest intValueCollectionRequest,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrieveIntValueCollectionJsonPost
@RequestMapping(method=POST,
params={"_method=GET","format=json"},
produces="application/json")
@ResponseBody
public EntityCollectionResponse<org.molgenis.controller.IntValueController.IntValueResponse> retrieveIntValueCollectionJsonPost(@RequestBody
EntityCollectionRequest intValueCollectionRequest,
@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.