@RestController
@RequestMapping(value="/api")
public class FieldTestPagerEntityResource
extends java.lang.Object
Constructor and Description |
---|
FieldTestPagerEntityResource(FieldTestPagerEntityRepository fieldTestPagerEntityRepository) |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<FieldTestPagerEntity> |
createFieldTestPagerEntity(FieldTestPagerEntity fieldTestPagerEntity)
POST /field-test-pager-entities : Create a new fieldTestPagerEntity.
|
org.springframework.http.ResponseEntity<java.lang.Void> |
deleteFieldTestPagerEntity(java.lang.Long id)
DELETE /field-test-pager-entities/:id : delete the "id" fieldTestPagerEntity.
|
org.springframework.http.ResponseEntity<java.util.List<FieldTestPagerEntity>> |
getAllFieldTestPagerEntities(org.springframework.data.domain.Pageable pageable)
GET /field-test-pager-entities : get all the fieldTestPagerEntities.
|
org.springframework.http.ResponseEntity<FieldTestPagerEntity> |
getFieldTestPagerEntity(java.lang.Long id)
GET /field-test-pager-entities/:id : get the "id" fieldTestPagerEntity.
|
org.springframework.http.ResponseEntity<FieldTestPagerEntity> |
updateFieldTestPagerEntity(FieldTestPagerEntity fieldTestPagerEntity)
PUT /field-test-pager-entities : Updates an existing fieldTestPagerEntity.
|
public FieldTestPagerEntityResource(FieldTestPagerEntityRepository fieldTestPagerEntityRepository)
@PostMapping(value="/field-test-pager-entities") @Timed public org.springframework.http.ResponseEntity<FieldTestPagerEntity> createFieldTestPagerEntity(@RequestBody FieldTestPagerEntity fieldTestPagerEntity) throws java.net.URISyntaxException
fieldTestPagerEntity
- the fieldTestPagerEntity to createjava.net.URISyntaxException
- if the Location URI syntax is incorrect@PutMapping(value="/field-test-pager-entities") @Timed public org.springframework.http.ResponseEntity<FieldTestPagerEntity> updateFieldTestPagerEntity(@RequestBody FieldTestPagerEntity fieldTestPagerEntity) throws java.net.URISyntaxException
fieldTestPagerEntity
- the fieldTestPagerEntity to updatejava.net.URISyntaxException
- if the Location URI syntax is incorrect@GetMapping(value="/field-test-pager-entities") @Timed public org.springframework.http.ResponseEntity<java.util.List<FieldTestPagerEntity>> getAllFieldTestPagerEntities(org.springframework.data.domain.Pageable pageable)
pageable
- the pagination information@GetMapping(value="/field-test-pager-entities/{id}") @Timed public org.springframework.http.ResponseEntity<FieldTestPagerEntity> getFieldTestPagerEntity(@PathVariable java.lang.Long id)
id
- the id of the fieldTestPagerEntity to retrieve@DeleteMapping(value="/field-test-pager-entities/{id}") @Timed public org.springframework.http.ResponseEntity<java.lang.Void> deleteFieldTestPagerEntity(@PathVariable java.lang.Long id)
id
- the id of the fieldTestPagerEntity to deleteCopyright © 2017 Osgiliath. All rights reserved.