Uses of Class
com.app.persistence.entity.UserEntity
Packages that use UserEntity
Package
Description
-
Uses of UserEntity in com.app.controller.dto.user
Methods in com.app.controller.dto.user that return UserEntityModifier and TypeMethodDescriptionCreateUserDto.toEntity()
Converts this DTO into aUserEntity
with default settings.CreateAdminUserDto.toUserEntity()
Converts this DTO into aUserEntity
with admin privileges. -
Uses of UserEntity in com.app.persistence.entity
Methods in com.app.persistence.entity that return UserEntityModifier and TypeMethodDescriptionUserEntity.UserEntityWithHolidays
(long holidaysHours) Returns a new UserEntity instance with updated holiday hours (incremented).UserEntity.withActivation()
Returns a new UserEntity instance with account enabled.UserEntity.withDeactivation()
Returns a new UserEntity instance with account disabled.UserEntity.withDelete()
Returns a new UserEntity instance representing a deleted user.UserEntity.withNewEmail
(String email) Returns a new UserEntity instance with a new email and account enabled.UserEntity.withNewRoleAndNewHolidaysHours
(Long holidaysHours, Role role) Returns a new UserEntity with updated role and holiday hours, account enabled.UserEntity.withPassword
(String password) Returns a new UserEntity instance with the specified password.Methods in com.app.persistence.entity that return types with arguments of type UserEntityModifier and TypeMethodDescriptionVerificationTokenEntity.validate()
Validates the token by checking its expiration time.Methods in com.app.persistence.entity with parameters of type UserEntityModifier and TypeMethodDescriptionHolidayEntity.withUserEntity
(UserEntity userEntity) Creates a new HolidayEntity with the given user entity, copying existing fields. -
Uses of UserEntity in com.app.persistence.Repository
Subinterfaces with type arguments of type UserEntity in com.app.persistence.RepositoryModifier and TypeInterfaceDescriptioninterface
Repository interface for managingUserEntity
entities.interface
Repository interface for managingUserEntity
entities.Methods in com.app.persistence.Repository that return types with arguments of type UserEntityModifier and TypeMethodDescriptionUserRepository.findByEmail
(String email) Finds a user by their email address.UserRepository.findByUsername
(String username) Finds a user by their username. -
Uses of UserEntity in com.app.persistence.specification.impl
Classes in com.app.persistence.specification.impl that implement interfaces with type arguments of type UserEntityModifier and TypeClassDescriptionclass
Implementation ofFilterSpecification
for filteringUserEntity
instances dynamically based on the providedUserSpecification
criteria.Methods in com.app.persistence.specification.impl that return types with arguments of type UserEntityModifier and TypeMethodDescriptionorg.springframework.data.jpa.domain.Specification
<UserEntity> UserFilterSpecificationImpl.dynamicFilter
(UserSpecification userSpecification) Builds a dynamic JPASpecification
forUserEntity
based on the non-null and non-empty fields of the givenUserSpecification
.