Uses of Class
com.Server.entiy.Car
| 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 Car in com.Server.entiy
Fields in com.Server.entiy declared as Car Modifier and Type Field Description private CarReservation. carFields in com.Server.entiy with type parameters of type Car Modifier and Type Field Description private java.util.List<Car>Localization. carConstructors in com.Server.entiy with parameters of type Car Constructor Description Reservation(Car car, User user, java.util.Date dataFrom, java.util.Date dataTo, Localization localizationStart, Localization localizationEnd, float price)Constructor Class Reservation -
Uses of Car in com.Server.mapper.impl
Methods in com.Server.mapper.impl that return Car Modifier and Type Method Description CarCarMapper. toEntity(CarRequest carRequest)CarCarMapper. update(Car car, CarRequest carRequest)Methods in com.Server.mapper.impl with parameters of type Car Modifier and Type Method Description CarResponseCarMapper. toDto(Car car)CarCarMapper. update(Car car, CarRequest carRequest) -
Uses of Car in com.Server.repository
Methods in com.Server.repository that return types with arguments of type Car Modifier and Type Method Description java.util.Optional<Car>CarRepository. findByIdcar(int id)Method find car on idjava.util.List<Car>CarRepository. findByLocalizationCity(java.lang.String city)Find car on localization on name city.java.util.List<Car>CarRepository. findByLocalizationId(java.lang.Long id)Find car on localization. -
Uses of Car in com.Server.service
Methods in com.Server.service that return Car Modifier and Type Method Description CarCarService. update(int id, CarRequest carResponse)Method to edit data car. -
Uses of Car in com.Server.service.impl
Fields in com.Server.service.impl with type parameters of type Car Modifier and Type Field Description private Mapper<Car,CarResponse,CarRequest>CarServiceImpl. carMapperCarMapperMethods in com.Server.service.impl that return Car Modifier and Type Method Description CarCarServiceImpl. update(int id, CarRequest carRequest)Method to edit data car.Constructor parameters in com.Server.service.impl with type arguments of type Car Constructor Description CarServiceImpl(CarRepository carRepository, ReservationRepository reservationRepository, LocalizationRepository localizationRepository, UserRepository userRepository, Mapper<Car,CarResponse,CarRequest> carMapper)