@RestController
@RequestMapping(value="/api")
public class EntityWithServiceImplAndPaginationResource
extends java.lang.Object
Constructor and Description |
---|
EntityWithServiceImplAndPaginationResource(EntityWithServiceImplAndPaginationService entityWithServiceImplAndPaginationService) |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<EntityWithServiceImplAndPagination> |
createEntityWithServiceImplAndPagination(EntityWithServiceImplAndPagination entityWithServiceImplAndPagination)
POST /entity-with-service-impl-and-paginations : Create a new entityWithServiceImplAndPagination.
|
org.springframework.http.ResponseEntity<java.lang.Void> |
deleteEntityWithServiceImplAndPagination(java.lang.Long id)
DELETE /entity-with-service-impl-and-paginations/:id : delete the "id" entityWithServiceImplAndPagination.
|
org.springframework.http.ResponseEntity<java.util.List<EntityWithServiceImplAndPagination>> |
getAllEntityWithServiceImplAndPaginations(org.springframework.data.domain.Pageable pageable)
GET /entity-with-service-impl-and-paginations : get all the entityWithServiceImplAndPaginations.
|
org.springframework.http.ResponseEntity<EntityWithServiceImplAndPagination> |
getEntityWithServiceImplAndPagination(java.lang.Long id)
GET /entity-with-service-impl-and-paginations/:id : get the "id" entityWithServiceImplAndPagination.
|
org.springframework.http.ResponseEntity<EntityWithServiceImplAndPagination> |
updateEntityWithServiceImplAndPagination(EntityWithServiceImplAndPagination entityWithServiceImplAndPagination)
PUT /entity-with-service-impl-and-paginations : Updates an existing entityWithServiceImplAndPagination.
|
public EntityWithServiceImplAndPaginationResource(EntityWithServiceImplAndPaginationService entityWithServiceImplAndPaginationService)
@PostMapping(value="/entity-with-service-impl-and-paginations") @Timed public org.springframework.http.ResponseEntity<EntityWithServiceImplAndPagination> createEntityWithServiceImplAndPagination(@RequestBody EntityWithServiceImplAndPagination entityWithServiceImplAndPagination) throws java.net.URISyntaxException
entityWithServiceImplAndPagination
- the entityWithServiceImplAndPagination to createjava.net.URISyntaxException
- if the Location URI syntax is incorrect@PutMapping(value="/entity-with-service-impl-and-paginations") @Timed public org.springframework.http.ResponseEntity<EntityWithServiceImplAndPagination> updateEntityWithServiceImplAndPagination(@RequestBody EntityWithServiceImplAndPagination entityWithServiceImplAndPagination) throws java.net.URISyntaxException
entityWithServiceImplAndPagination
- the entityWithServiceImplAndPagination to updatejava.net.URISyntaxException
- if the Location URI syntax is incorrect@GetMapping(value="/entity-with-service-impl-and-paginations") @Timed public org.springframework.http.ResponseEntity<java.util.List<EntityWithServiceImplAndPagination>> getAllEntityWithServiceImplAndPaginations(org.springframework.data.domain.Pageable pageable)
pageable
- the pagination information@GetMapping(value="/entity-with-service-impl-and-paginations/{id}") @Timed public org.springframework.http.ResponseEntity<EntityWithServiceImplAndPagination> getEntityWithServiceImplAndPagination(@PathVariable java.lang.Long id)
id
- the id of the entityWithServiceImplAndPagination to retrieve@DeleteMapping(value="/entity-with-service-impl-and-paginations/{id}") @Timed public org.springframework.http.ResponseEntity<java.lang.Void> deleteEntityWithServiceImplAndPagination(@PathVariable java.lang.Long id)
id
- the id of the entityWithServiceImplAndPagination to deleteCopyright © 2017 Osgiliath. All rights reserved.