@RestController
@RequestMapping(value="/api")
public class EntityWithServiceClassPaginationAndDTOResource
extends java.lang.Object
Constructor and Description |
---|
EntityWithServiceClassPaginationAndDTOResource(EntityWithServiceClassPaginationAndDTOService entityWithServiceClassPaginationAndDTOService) |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<EntityWithServiceClassPaginationAndDTODTO> |
createEntityWithServiceClassPaginationAndDTO(EntityWithServiceClassPaginationAndDTODTO entityWithServiceClassPaginationAndDTODTO)
POST /entity-with-service-class-pagination-and-dtos : Create a new entityWithServiceClassPaginationAndDTO.
|
org.springframework.http.ResponseEntity<java.lang.Void> |
deleteEntityWithServiceClassPaginationAndDTO(java.lang.Long id)
DELETE /entity-with-service-class-pagination-and-dtos/:id : delete the "id" entityWithServiceClassPaginationAndDTO.
|
org.springframework.http.ResponseEntity<java.util.List<EntityWithServiceClassPaginationAndDTODTO>> |
getAllEntityWithServiceClassPaginationAndDTOS(org.springframework.data.domain.Pageable pageable)
GET /entity-with-service-class-pagination-and-dtos : get all the entityWithServiceClassPaginationAndDTOS.
|
org.springframework.http.ResponseEntity<EntityWithServiceClassPaginationAndDTODTO> |
getEntityWithServiceClassPaginationAndDTO(java.lang.Long id)
GET /entity-with-service-class-pagination-and-dtos/:id : get the "id" entityWithServiceClassPaginationAndDTO.
|
org.springframework.http.ResponseEntity<EntityWithServiceClassPaginationAndDTODTO> |
updateEntityWithServiceClassPaginationAndDTO(EntityWithServiceClassPaginationAndDTODTO entityWithServiceClassPaginationAndDTODTO)
PUT /entity-with-service-class-pagination-and-dtos : Updates an existing entityWithServiceClassPaginationAndDTO.
|
public EntityWithServiceClassPaginationAndDTOResource(EntityWithServiceClassPaginationAndDTOService entityWithServiceClassPaginationAndDTOService)
@PostMapping(value="/entity-with-service-class-pagination-and-dtos") @Timed public org.springframework.http.ResponseEntity<EntityWithServiceClassPaginationAndDTODTO> createEntityWithServiceClassPaginationAndDTO(@RequestBody EntityWithServiceClassPaginationAndDTODTO entityWithServiceClassPaginationAndDTODTO) throws java.net.URISyntaxException
entityWithServiceClassPaginationAndDTODTO
- the entityWithServiceClassPaginationAndDTODTO to createjava.net.URISyntaxException
- if the Location URI syntax is incorrect@PutMapping(value="/entity-with-service-class-pagination-and-dtos") @Timed public org.springframework.http.ResponseEntity<EntityWithServiceClassPaginationAndDTODTO> updateEntityWithServiceClassPaginationAndDTO(@RequestBody EntityWithServiceClassPaginationAndDTODTO entityWithServiceClassPaginationAndDTODTO) throws java.net.URISyntaxException
entityWithServiceClassPaginationAndDTODTO
- the entityWithServiceClassPaginationAndDTODTO to updatejava.net.URISyntaxException
- if the Location URI syntax is incorrect@GetMapping(value="/entity-with-service-class-pagination-and-dtos") @Timed public org.springframework.http.ResponseEntity<java.util.List<EntityWithServiceClassPaginationAndDTODTO>> getAllEntityWithServiceClassPaginationAndDTOS(org.springframework.data.domain.Pageable pageable)
pageable
- the pagination information@GetMapping(value="/entity-with-service-class-pagination-and-dtos/{id}") @Timed public org.springframework.http.ResponseEntity<EntityWithServiceClassPaginationAndDTODTO> getEntityWithServiceClassPaginationAndDTO(@PathVariable java.lang.Long id)
id
- the id of the entityWithServiceClassPaginationAndDTODTO to retrieve@DeleteMapping(value="/entity-with-service-class-pagination-and-dtos/{id}") @Timed public org.springframework.http.ResponseEntity<java.lang.Void> deleteEntityWithServiceClassPaginationAndDTO(@PathVariable java.lang.Long id)
id
- the id of the entityWithServiceClassPaginationAndDTODTO to deleteCopyright © 2017 Osgiliath. All rights reserved.