Uses of Class
com.Server.entiy.User
| 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 User in com.Server.entiy
Fields in com.Server.entiy declared as User Modifier and Type Field Description private UserReservation. userFields in com.Server.entiy with type parameters of type User Modifier and Type Field Description private java.util.List<User>Role. usersConstructors in com.Server.entiy with parameters of type User 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 User in com.Server.mapper.impl
Methods in com.Server.mapper.impl that return User Modifier and Type Method Description UserUserMapper. toEntity(UserRequest userRequest)UserUserMapper. update(User user, UserRequest userRequest)Methods in com.Server.mapper.impl with parameters of type User Modifier and Type Method Description UserResponseUserMapper. toDto(User user)UserUserMapper. update(User user, UserRequest userRequest) -
Uses of User in com.Server.repository
Methods in com.Server.repository that return User Modifier and Type Method Description UserUserRepository. findByReservations_Idrent(java.lang.Long id)Find Reservation user on id.Methods in com.Server.repository that return types with arguments of type User Modifier and Type Method Description java.util.Optional<User>UserRepository. findByEmail(java.lang.String email)Find user on email.java.util.Optional<User>UserRepository. findById(java.lang.Long id)Find user on id.java.util.Optional<User>UserRepository. findByUsername(java.lang.String username)Find the user on username. -
Uses of User in com.Server.service
Methods in com.Server.service that return types with arguments of type User Modifier and Type Method Description java.util.Optional<User>UserService. findByUsername(java.lang.String username)Find the user on username.Methods in com.Server.service with parameters of type User Modifier and Type Method Description voidUserService. update(User user)Update user. -
Uses of User in com.Server.service.impl
Fields in com.Server.service.impl with type parameters of type User Modifier and Type Field Description private Mapper<User,UserResponse,UserRequest>UserServiceImpl. userMapperuser mapperMethods in com.Server.service.impl that return types with arguments of type User Modifier and Type Method Description java.util.Optional<User>UserServiceImpl. findByUsername(java.lang.String username)Find the user on username.Methods in com.Server.service.impl with parameters of type User Modifier and Type Method Description static UserDetailsimplUserDetailsimpl. build(User user)BuildervoidUserServiceImpl. update(User user)Update user.Constructor parameters in com.Server.service.impl with type arguments of type User Constructor Description UserServiceImpl(UserRepository userRepository, ReservationRepository reservationRepository, RoleRepository roleRepository, org.springframework.security.crypto.password.PasswordEncoder encoder, SendMail sendMail, ReservationMapper reservationMapper, Mapper<User,UserResponse,UserRequest> userMapper)