@RestController
@RequestMapping(value="/api")
public class EntityWithServiceClassAndPaginationResource
extends java.lang.Object
Constructor and Description |
---|
EntityWithServiceClassAndPaginationResource(EntityWithServiceClassAndPaginationService entityWithServiceClassAndPaginationService) |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<EntityWithServiceClassAndPagination> |
createEntityWithServiceClassAndPagination(EntityWithServiceClassAndPagination entityWithServiceClassAndPagination)
POST /entity-with-service-class-and-paginations : Create a new entityWithServiceClassAndPagination.
|
org.springframework.http.ResponseEntity<java.lang.Void> |
deleteEntityWithServiceClassAndPagination(java.lang.Long id)
DELETE /entity-with-service-class-and-paginations/:id : delete the "id" entityWithServiceClassAndPagination.
|
org.springframework.http.ResponseEntity<java.util.List<EntityWithServiceClassAndPagination>> |
getAllEntityWithServiceClassAndPaginations(org.springframework.data.domain.Pageable pageable)
GET /entity-with-service-class-and-paginations : get all the entityWithServiceClassAndPaginations.
|
org.springframework.http.ResponseEntity<EntityWithServiceClassAndPagination> |
getEntityWithServiceClassAndPagination(java.lang.Long id)
GET /entity-with-service-class-and-paginations/:id : get the "id" entityWithServiceClassAndPagination.
|
org.springframework.http.ResponseEntity<EntityWithServiceClassAndPagination> |
updateEntityWithServiceClassAndPagination(EntityWithServiceClassAndPagination entityWithServiceClassAndPagination)
PUT /entity-with-service-class-and-paginations : Updates an existing entityWithServiceClassAndPagination.
|
public EntityWithServiceClassAndPaginationResource(EntityWithServiceClassAndPaginationService entityWithServiceClassAndPaginationService)
@PostMapping(value="/entity-with-service-class-and-paginations") @Timed public org.springframework.http.ResponseEntity<EntityWithServiceClassAndPagination> createEntityWithServiceClassAndPagination(@RequestBody EntityWithServiceClassAndPagination entityWithServiceClassAndPagination) throws java.net.URISyntaxException
entityWithServiceClassAndPagination
- the entityWithServiceClassAndPagination to createjava.net.URISyntaxException
- if the Location URI syntax is incorrect@PutMapping(value="/entity-with-service-class-and-paginations") @Timed public org.springframework.http.ResponseEntity<EntityWithServiceClassAndPagination> updateEntityWithServiceClassAndPagination(@RequestBody EntityWithServiceClassAndPagination entityWithServiceClassAndPagination) throws java.net.URISyntaxException
entityWithServiceClassAndPagination
- the entityWithServiceClassAndPagination to updatejava.net.URISyntaxException
- if the Location URI syntax is incorrect@GetMapping(value="/entity-with-service-class-and-paginations") @Timed public org.springframework.http.ResponseEntity<java.util.List<EntityWithServiceClassAndPagination>> getAllEntityWithServiceClassAndPaginations(org.springframework.data.domain.Pageable pageable)
pageable
- the pagination information@GetMapping(value="/entity-with-service-class-and-paginations/{id}") @Timed public org.springframework.http.ResponseEntity<EntityWithServiceClassAndPagination> getEntityWithServiceClassAndPagination(@PathVariable java.lang.Long id)
id
- the id of the entityWithServiceClassAndPagination to retrieve@DeleteMapping(value="/entity-with-service-class-and-paginations/{id}") @Timed public org.springframework.http.ResponseEntity<java.lang.Void> deleteEntityWithServiceClassAndPagination(@PathVariable java.lang.Long id)
id
- the id of the entityWithServiceClassAndPagination to deleteCopyright © 2017 Osgiliath. All rights reserved.