@RestController
@RequestMapping(value="/api")
public class FieldTestServiceClassEntityResource
extends java.lang.Object
Constructor and Description |
---|
FieldTestServiceClassEntityResource(FieldTestServiceClassEntityService fieldTestServiceClassEntityService,
FieldTestServiceClassEntityQueryService fieldTestServiceClassEntityQueryService) |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<FieldTestServiceClassEntity> |
createFieldTestServiceClassEntity(FieldTestServiceClassEntity fieldTestServiceClassEntity)
POST /field-test-service-class-entities : Create a new fieldTestServiceClassEntity.
|
org.springframework.http.ResponseEntity<java.lang.Void> |
deleteFieldTestServiceClassEntity(java.lang.Long id)
DELETE /field-test-service-class-entities/:id : delete the "id" fieldTestServiceClassEntity.
|
org.springframework.http.ResponseEntity<java.util.List<FieldTestServiceClassEntity>> |
getAllFieldTestServiceClassEntities(FieldTestServiceClassEntityCriteria criteria)
GET /field-test-service-class-entities : get all the fieldTestServiceClassEntities.
|
org.springframework.http.ResponseEntity<FieldTestServiceClassEntity> |
getFieldTestServiceClassEntity(java.lang.Long id)
GET /field-test-service-class-entities/:id : get the "id" fieldTestServiceClassEntity.
|
org.springframework.http.ResponseEntity<FieldTestServiceClassEntity> |
updateFieldTestServiceClassEntity(FieldTestServiceClassEntity fieldTestServiceClassEntity)
PUT /field-test-service-class-entities : Updates an existing fieldTestServiceClassEntity.
|
public FieldTestServiceClassEntityResource(FieldTestServiceClassEntityService fieldTestServiceClassEntityService, FieldTestServiceClassEntityQueryService fieldTestServiceClassEntityQueryService)
@PostMapping(value="/field-test-service-class-entities") @Timed public org.springframework.http.ResponseEntity<FieldTestServiceClassEntity> createFieldTestServiceClassEntity(@RequestBody FieldTestServiceClassEntity fieldTestServiceClassEntity) throws java.net.URISyntaxException
fieldTestServiceClassEntity
- the fieldTestServiceClassEntity to createjava.net.URISyntaxException
- if the Location URI syntax is incorrect@PutMapping(value="/field-test-service-class-entities") @Timed public org.springframework.http.ResponseEntity<FieldTestServiceClassEntity> updateFieldTestServiceClassEntity(@RequestBody FieldTestServiceClassEntity fieldTestServiceClassEntity) throws java.net.URISyntaxException
fieldTestServiceClassEntity
- the fieldTestServiceClassEntity to updatejava.net.URISyntaxException
- if the Location URI syntax is incorrect@GetMapping(value="/field-test-service-class-entities") @Timed public org.springframework.http.ResponseEntity<java.util.List<FieldTestServiceClassEntity>> getAllFieldTestServiceClassEntities(FieldTestServiceClassEntityCriteria criteria)
criteria
- the criterias which the requested entities should match@GetMapping(value="/field-test-service-class-entities/{id}") @Timed public org.springframework.http.ResponseEntity<FieldTestServiceClassEntity> getFieldTestServiceClassEntity(@PathVariable java.lang.Long id)
id
- the id of the fieldTestServiceClassEntity to retrieve@DeleteMapping(value="/field-test-service-class-entities/{id}") @Timed public org.springframework.http.ResponseEntity<java.lang.Void> deleteFieldTestServiceClassEntity(@PathVariable java.lang.Long id)
id
- the id of the fieldTestServiceClassEntity to deleteCopyright © 2017 Osgiliath. All rights reserved.