@RestController
@RequestMapping(value="/api")
public class EntityWithServiceImplPaginationAndDTOResource
extends java.lang.Object
Constructor and Description |
---|
EntityWithServiceImplPaginationAndDTOResource(EntityWithServiceImplPaginationAndDTOService entityWithServiceImplPaginationAndDTOService) |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<EntityWithServiceImplPaginationAndDTODTO> |
createEntityWithServiceImplPaginationAndDTO(EntityWithServiceImplPaginationAndDTODTO entityWithServiceImplPaginationAndDTODTO)
POST /entity-with-service-impl-pagination-and-dtos : Create a new entityWithServiceImplPaginationAndDTO.
|
org.springframework.http.ResponseEntity<java.lang.Void> |
deleteEntityWithServiceImplPaginationAndDTO(java.lang.Long id)
DELETE /entity-with-service-impl-pagination-and-dtos/:id : delete the "id" entityWithServiceImplPaginationAndDTO.
|
org.springframework.http.ResponseEntity<java.util.List<EntityWithServiceImplPaginationAndDTODTO>> |
getAllEntityWithServiceImplPaginationAndDTOS(org.springframework.data.domain.Pageable pageable)
GET /entity-with-service-impl-pagination-and-dtos : get all the entityWithServiceImplPaginationAndDTOS.
|
org.springframework.http.ResponseEntity<EntityWithServiceImplPaginationAndDTODTO> |
getEntityWithServiceImplPaginationAndDTO(java.lang.Long id)
GET /entity-with-service-impl-pagination-and-dtos/:id : get the "id" entityWithServiceImplPaginationAndDTO.
|
org.springframework.http.ResponseEntity<EntityWithServiceImplPaginationAndDTODTO> |
updateEntityWithServiceImplPaginationAndDTO(EntityWithServiceImplPaginationAndDTODTO entityWithServiceImplPaginationAndDTODTO)
PUT /entity-with-service-impl-pagination-and-dtos : Updates an existing entityWithServiceImplPaginationAndDTO.
|
public EntityWithServiceImplPaginationAndDTOResource(EntityWithServiceImplPaginationAndDTOService entityWithServiceImplPaginationAndDTOService)
@PostMapping(value="/entity-with-service-impl-pagination-and-dtos") @Timed public org.springframework.http.ResponseEntity<EntityWithServiceImplPaginationAndDTODTO> createEntityWithServiceImplPaginationAndDTO(@RequestBody EntityWithServiceImplPaginationAndDTODTO entityWithServiceImplPaginationAndDTODTO) throws java.net.URISyntaxException
entityWithServiceImplPaginationAndDTODTO
- the entityWithServiceImplPaginationAndDTODTO to createjava.net.URISyntaxException
- if the Location URI syntax is incorrect@PutMapping(value="/entity-with-service-impl-pagination-and-dtos") @Timed public org.springframework.http.ResponseEntity<EntityWithServiceImplPaginationAndDTODTO> updateEntityWithServiceImplPaginationAndDTO(@RequestBody EntityWithServiceImplPaginationAndDTODTO entityWithServiceImplPaginationAndDTODTO) throws java.net.URISyntaxException
entityWithServiceImplPaginationAndDTODTO
- the entityWithServiceImplPaginationAndDTODTO to updatejava.net.URISyntaxException
- if the Location URI syntax is incorrect@GetMapping(value="/entity-with-service-impl-pagination-and-dtos") @Timed public org.springframework.http.ResponseEntity<java.util.List<EntityWithServiceImplPaginationAndDTODTO>> getAllEntityWithServiceImplPaginationAndDTOS(org.springframework.data.domain.Pageable pageable)
pageable
- the pagination information@GetMapping(value="/entity-with-service-impl-pagination-and-dtos/{id}") @Timed public org.springframework.http.ResponseEntity<EntityWithServiceImplPaginationAndDTODTO> getEntityWithServiceImplPaginationAndDTO(@PathVariable java.lang.Long id)
id
- the id of the entityWithServiceImplPaginationAndDTODTO to retrieve@DeleteMapping(value="/entity-with-service-impl-pagination-and-dtos/{id}") @Timed public org.springframework.http.ResponseEntity<java.lang.Void> deleteEntityWithServiceImplPaginationAndDTO(@PathVariable java.lang.Long id)
id
- the id of the entityWithServiceImplPaginationAndDTODTO to deleteCopyright © 2017 Osgiliath. All rights reserved.