org.molgenis.controller
Class RuntimePropertyController
java.lang.Object
org.molgenis.controller.RuntimePropertyController
@Lazy
@Controller
@RequestMapping(value="/api/v1/runtimeproperty")
public class RuntimePropertyController
- extends Object
|
Method Summary |
org.springframework.http.ResponseEntity<org.molgenis.controller.RuntimePropertyController.RuntimePropertyResponse> |
createRuntimeProperty(org.molgenis.controller.RuntimePropertyController.RuntimePropertyRequest runtimePropertyRequest)
|
org.springframework.http.ResponseEntity<org.molgenis.controller.RuntimePropertyController.RuntimePropertyResponse> |
createRuntimePropertyFromForm(org.molgenis.controller.RuntimePropertyController.RuntimePropertyRequest runtimePropertyRequest)
|
void |
deleteRuntimeProperty(Integer id)
|
void |
deleteRuntimePropertyPost(Integer id)
|
void |
handleDatabaseAccessException(DatabaseAccessException e)
|
void |
handleEntityNotFoundException(EntityNotFoundException e)
|
org.molgenis.controller.RuntimePropertyController.RuntimePropertyResponse |
retrieveRuntimeProperty(Integer id,
String... expandFields)
|
EntityCollectionResponse<org.molgenis.controller.RuntimePropertyController.RuntimePropertyResponse> |
retrieveRuntimePropertyCollection(EntityCollectionRequest runtimePropertyCollectionRequest,
String... expandFields)
|
EntityCollectionResponse<org.molgenis.controller.RuntimePropertyController.RuntimePropertyResponse> |
retrieveRuntimePropertyCollectionJson(EntityCollectionRequest runtimePropertyCollectionRequest,
String... expandFields)
|
EntityCollectionResponse<org.molgenis.controller.RuntimePropertyController.RuntimePropertyResponse> |
retrieveRuntimePropertyCollectionJsonPost(EntityCollectionRequest runtimePropertyCollectionRequest,
String... expandFields)
|
EntityCollectionResponse<org.molgenis.controller.RuntimePropertyController.RuntimePropertyResponse> |
retrieveRuntimePropertyCollectionPost(EntityCollectionRequest runtimePropertyCollectionRequest,
String... expandFields)
|
org.molgenis.controller.RuntimePropertyController.RuntimePropertyResponse |
retrieveRuntimePropertyJson(Integer id,
String... expandFields)
|
void |
updateRuntimeProperty(Integer id,
org.molgenis.controller.RuntimePropertyController.RuntimePropertyRequest runtimePropertyRequest)
|
org.springframework.http.ResponseEntity<org.molgenis.controller.RuntimePropertyController.RuntimePropertyResponse> |
updateRuntimePropertyFromForm(Integer id,
String _method,
org.molgenis.controller.RuntimePropertyController.RuntimePropertyRequest runtimePropertyRequest)
|
void |
updateRuntimePropertyFromFormPost(Integer id,
org.molgenis.controller.RuntimePropertyController.RuntimePropertyRequest runtimePropertyRequest)
|
void |
updateRuntimePropertyPost(Integer id,
org.molgenis.controller.RuntimePropertyController.RuntimePropertyRequest runtimePropertyRequest)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuntimePropertyController
public RuntimePropertyController()
createRuntimeProperty
@RequestMapping(method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<org.molgenis.controller.RuntimePropertyController.RuntimePropertyResponse> createRuntimeProperty(@RequestBody
org.molgenis.controller.RuntimePropertyController.RuntimePropertyRequest runtimePropertyRequest)
throws DatabaseException
- Throws:
DatabaseException
createRuntimePropertyFromForm
@RequestMapping(method=POST,
headers="Content-Type=application/x-www-form-urlencoded")
@ResponseBody
public org.springframework.http.ResponseEntity<org.molgenis.controller.RuntimePropertyController.RuntimePropertyResponse> createRuntimePropertyFromForm(@ModelAttribute
org.molgenis.controller.RuntimePropertyController.RuntimePropertyRequest runtimePropertyRequest)
throws DatabaseException
- Throws:
DatabaseException
retrieveRuntimeProperty
@RequestMapping(value="/{id}",
method=GET)
@ResponseBody
public org.molgenis.controller.RuntimePropertyController.RuntimePropertyResponse retrieveRuntimeProperty(@PathVariable
Integer id,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrieveRuntimePropertyJson
@RequestMapping(value="/{id}",
method=GET,
params="format=json",
produces="application/json")
@ResponseBody
public org.molgenis.controller.RuntimePropertyController.RuntimePropertyResponse retrieveRuntimePropertyJson(@PathVariable
Integer id,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
updateRuntimeProperty
@RequestMapping(value="/{id}",
method=PUT)
@ResponseStatus(value=OK)
public void updateRuntimeProperty(@PathVariable
Integer id,
@RequestBody
org.molgenis.controller.RuntimePropertyController.RuntimePropertyRequest runtimePropertyRequest)
throws DatabaseException
- Throws:
DatabaseException
updateRuntimePropertyFromForm
@RequestMapping(value="/{id}",
method=PUT,
headers="Content-Type=application/x-www-form-urlencoded")
@ResponseBody
public org.springframework.http.ResponseEntity<org.molgenis.controller.RuntimePropertyController.RuntimePropertyResponse> updateRuntimePropertyFromForm(@PathVariable
Integer id,
@PathVariable
String _method,
@ModelAttribute
org.molgenis.controller.RuntimePropertyController.RuntimePropertyRequest runtimePropertyRequest)
throws DatabaseException
- Throws:
DatabaseException
updateRuntimePropertyPost
@RequestMapping(value="/{id}",
method=POST,
params="_method=PUT")
@ResponseStatus(value=NO_CONTENT)
public void updateRuntimePropertyPost(@PathVariable
Integer id,
@RequestBody
org.molgenis.controller.RuntimePropertyController.RuntimePropertyRequest runtimePropertyRequest)
throws DatabaseException
- Throws:
DatabaseException
updateRuntimePropertyFromFormPost
@RequestMapping(value="/{id}",
method=POST,
params="_method=PUT",
headers="Content-Type=application/x-www-form-urlencoded")
@ResponseStatus(value=NO_CONTENT)
public void updateRuntimePropertyFromFormPost(@PathVariable
Integer id,
@ModelAttribute
org.molgenis.controller.RuntimePropertyController.RuntimePropertyRequest runtimePropertyRequest)
throws DatabaseException
- Throws:
DatabaseException
deleteRuntimeProperty
@RequestMapping(value="/{id}",
method=DELETE)
@ResponseStatus(value=NO_CONTENT)
public void deleteRuntimeProperty(@PathVariable
Integer id)
throws DatabaseException
- Throws:
DatabaseException
deleteRuntimePropertyPost
@RequestMapping(value="/{id}",
method=POST,
params="_method=DELETE")
@ResponseStatus(value=NO_CONTENT)
public void deleteRuntimePropertyPost(@PathVariable
Integer id)
throws DatabaseException
- Throws:
DatabaseException
retrieveRuntimePropertyCollection
@RequestMapping(method=GET)
@ResponseBody
public EntityCollectionResponse<org.molgenis.controller.RuntimePropertyController.RuntimePropertyResponse> retrieveRuntimePropertyCollection(EntityCollectionRequest runtimePropertyCollectionRequest,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrieveRuntimePropertyCollectionJson
@RequestMapping(method=GET,
params="format=json",
produces="application/json")
@ResponseBody
public EntityCollectionResponse<org.molgenis.controller.RuntimePropertyController.RuntimePropertyResponse> retrieveRuntimePropertyCollectionJson(EntityCollectionRequest runtimePropertyCollectionRequest,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrieveRuntimePropertyCollectionPost
@RequestMapping(method=POST,
params="_method=GET")
@ResponseBody
public EntityCollectionResponse<org.molgenis.controller.RuntimePropertyController.RuntimePropertyResponse> retrieveRuntimePropertyCollectionPost(@RequestBody
EntityCollectionRequest runtimePropertyCollectionRequest,
@RequestParam(value="expand",required=false)
String... expandFields)
throws DatabaseException
- Throws:
DatabaseException
retrieveRuntimePropertyCollectionJsonPost
@RequestMapping(method=POST,
params={"_method=GET","format=json"},
produces="application/json")
@ResponseBody
public EntityCollectionResponse<org.molgenis.controller.RuntimePropertyController.RuntimePropertyResponse> retrieveRuntimePropertyCollectionJsonPost(@RequestBody
EntityCollectionRequest runtimePropertyCollectionRequest,
@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.