Uses of Record Class
de.gustavblass.fsu.fmi.roombooking.dto.ReservationDTO
Packages that use ReservationDTO
Package
Description
-
Uses of ReservationDTO in de.gustavblass.fsu.fmi.roombooking.controller
Methods in de.gustavblass.fsu.fmi.roombooking.controller that return types with arguments of type ReservationDTOModifier and TypeMethodDescription@NonNull org.springframework.hateoas.EntityModel<ReservationDTO> ReservationRestController.bookRoom(@NonNull @Valid BookRoomDTO bookRoomDTO) HandlesPOSTrequests to/api/v1/reservationsand places a newReservationbased on the givenBookRoomDTO.@NonNull org.springframework.hateoas.EntityModel<ReservationDTO> ReservationRestController.getReservation(@NonNull Long id) HandlesGETrequests to/api/v1/reservations/{id}and fetches theReservationwith the specifiedReservation.idfrom the database, converts it to aReservationDTOobject and returns that. -
Uses of ReservationDTO in de.gustavblass.fsu.fmi.roombooking.controller.admin
Methods in de.gustavblass.fsu.fmi.roombooking.controller.admin that return types with arguments of type ReservationDTOModifier and TypeMethodDescription@NonNull org.springframework.hateoas.EntityModel<ReservationDTO> ReservationAdminRestController.getReservation(@NonNull Long id) HandlesGETrequests to/api/v1/admin/reservations/{id}and fetches theReservationwith the specifiedReservation.idfrom the database, converts it to anReservationDTOobject and returns that. -
Uses of ReservationDTO in de.gustavblass.fsu.fmi.roombooking.mapper
Methods in de.gustavblass.fsu.fmi.roombooking.mapper that return ReservationDTOModifier and TypeMethodDescriptionReservationMapper.toDto(Reservation reservation) Converts aReservationto aReservationDTO.