@RestController
@RequestMapping(value="/api")
public class FieldTestServiceImplEntityResource
extends java.lang.Object
Constructor and Description |
---|
FieldTestServiceImplEntityResource(FieldTestServiceImplEntityService fieldTestServiceImplEntityService) |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<FieldTestServiceImplEntity> |
createFieldTestServiceImplEntity(FieldTestServiceImplEntity fieldTestServiceImplEntity)
POST /field-test-service-impl-entities : Create a new fieldTestServiceImplEntity.
|
org.springframework.http.ResponseEntity<java.lang.Void> |
deleteFieldTestServiceImplEntity(java.lang.Long id)
DELETE /field-test-service-impl-entities/:id : delete the "id" fieldTestServiceImplEntity.
|
java.util.List<FieldTestServiceImplEntity> |
getAllFieldTestServiceImplEntities()
GET /field-test-service-impl-entities : get all the fieldTestServiceImplEntities.
|
org.springframework.http.ResponseEntity<FieldTestServiceImplEntity> |
getFieldTestServiceImplEntity(java.lang.Long id)
GET /field-test-service-impl-entities/:id : get the "id" fieldTestServiceImplEntity.
|
org.springframework.http.ResponseEntity<FieldTestServiceImplEntity> |
updateFieldTestServiceImplEntity(FieldTestServiceImplEntity fieldTestServiceImplEntity)
PUT /field-test-service-impl-entities : Updates an existing fieldTestServiceImplEntity.
|
public FieldTestServiceImplEntityResource(FieldTestServiceImplEntityService fieldTestServiceImplEntityService)
@PostMapping(value="/field-test-service-impl-entities") @Timed public org.springframework.http.ResponseEntity<FieldTestServiceImplEntity> createFieldTestServiceImplEntity(@RequestBody FieldTestServiceImplEntity fieldTestServiceImplEntity) throws java.net.URISyntaxException
fieldTestServiceImplEntity
- the fieldTestServiceImplEntity to createjava.net.URISyntaxException
- if the Location URI syntax is incorrect@PutMapping(value="/field-test-service-impl-entities") @Timed public org.springframework.http.ResponseEntity<FieldTestServiceImplEntity> updateFieldTestServiceImplEntity(@RequestBody FieldTestServiceImplEntity fieldTestServiceImplEntity) throws java.net.URISyntaxException
fieldTestServiceImplEntity
- the fieldTestServiceImplEntity to updatejava.net.URISyntaxException
- if the Location URI syntax is incorrect@GetMapping(value="/field-test-service-impl-entities") @Timed public java.util.List<FieldTestServiceImplEntity> getAllFieldTestServiceImplEntities()
@GetMapping(value="/field-test-service-impl-entities/{id}") @Timed public org.springframework.http.ResponseEntity<FieldTestServiceImplEntity> getFieldTestServiceImplEntity(@PathVariable java.lang.Long id)
id
- the id of the fieldTestServiceImplEntity to retrieve@DeleteMapping(value="/field-test-service-impl-entities/{id}") @Timed public org.springframework.http.ResponseEntity<java.lang.Void> deleteFieldTestServiceImplEntity(@PathVariable java.lang.Long id)
id
- the id of the fieldTestServiceImplEntity to deleteCopyright © 2017 Osgiliath. All rights reserved.