Uses of Class
com.Server.entiy.Reservation
| Package | Description |
|---|---|
| com.Server.entiy |
com.Server.model has class with mapped to relation table database by ORM.
|
| com.Server.mapper.impl |
com.Server.mapper.impl - mapped dto to entity and reverse.
|
| com.Server.repository |
com.Server.repository has Interface which available on access to table database.
|
| com.Server.service |
com.Server.service has service used to services on database table available repository interface.
|
| com.Server.service.impl |
com.Server.service.impl has the class witch implement services interface method.
|
-
Uses of Reservation in com.Server.entiy
Fields in com.Server.entiy with type parameters of type Reservation Modifier and Type Field Description private java.util.List<Reservation>Car. reservationprivate java.util.List<Reservation>User. reservationsMethods in com.Server.entiy with parameters of type Reservation Modifier and Type Method Description voidUser. setReservations(Reservation reservations) -
Uses of Reservation in com.Server.mapper.impl
Methods in com.Server.mapper.impl that return Reservation Modifier and Type Method Description ReservationReservationMapper. toEntity(ReservationRequest reservationRequest)ReservationReservationMapper. update(Reservation reservation, ReservationRequest reservationRequest)Method not implement !!!Methods in com.Server.mapper.impl with parameters of type Reservation Modifier and Type Method Description ReservationResponseReservationMapper. toDto(Reservation reservation)ReservationReservationMapper. update(Reservation reservation, ReservationRequest reservationRequest)Method not implement !!! -
Uses of Reservation in com.Server.repository
Methods in com.Server.repository that return types with arguments of type Reservation Modifier and Type Method Description java.util.List<Reservation>ReservationRepository. findByCar_Idcar(int id)find a reservation on id carjava.util.Optional<Reservation>ReservationRepository. findByIdrent(java.lang.Long id)Find reservation on idjava.util.List<Reservation>ReservationRepository. findCurrent(java.lang.Long id)java.util.Optional<Reservation>ReservationRepository. findFirstByCarIdcarOrderByIdrentDesc(int id)Find the Last reservation on carjava.util.List<Reservation>UserRepository. getReservationUser(java.lang.Long id)Method find all reservation user -
Uses of Reservation in com.Server.service
Methods in com.Server.service that return Reservation Modifier and Type Method Description ReservationReservationService. save(ReservationRequest reservationRequest)Save new reservation -
Uses of Reservation in com.Server.service.impl
Fields in com.Server.service.impl declared as Reservation Modifier and Type Field Description private ReservationPdfResumeImpl. reservationFields in com.Server.service.impl with type parameters of type Reservation Modifier and Type Field Description private Mapper<Reservation,ReservationResponse,ReservationRequest>ReservationServiceImpl. reservationMapperReservation mapperMethods in com.Server.service.impl that return Reservation Modifier and Type Method Description ReservationReservationServiceImpl. save(ReservationRequest reservationRequest)Save new reservationConstructor parameters in com.Server.service.impl with type arguments of type Reservation Constructor Description ReservationServiceImpl(ReservationRepository reservationRepository, UserRepository userRepository, CarRepository carRepository, LocalizationRepository localizationRepository, SendMailImpl sendMailImpl, Mapper<Reservation,ReservationResponse,ReservationRequest> reservationMapper, SendMail sendMail)