Index

A B C D E F G H I J L M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

accessToken() - Method in record class com.felipe.belo.mvp.auth.AuthController.TokenResponse
Returns the value of the accessToken record component.
accessTokenExpirationMinutes() - Method in record class com.felipe.belo.mvp.core.config.security.SecurityProps
Returns the value of the accessTokenExpirationMinutes record component.
ApiExceptionHandler - Class in com.felipe.belo.mvp.core.exception
Global exception handler that translates application exceptions into consistent HTTP responses.
ApiExceptionHandler(MessageService) - Constructor for class com.felipe.belo.mvp.core.exception.ApiExceptionHandler
Creates a new handler.
ApiExceptionHandler.ErrorResponse - Record Class in com.felipe.belo.mvp.core.exception
Standard error payload returned by the API.
AuditAwareImpl - Class in com.felipe.belo.mvp.core.config.module
Provides the current auditor (user id) for JPA auditing fields.
AuditAwareImpl(UserRepository) - Constructor for class com.felipe.belo.mvp.core.config.module.AuditAwareImpl
Creates a new instance backed by the given repository.
AudityEntity - Class in com.felipe.belo.mvp.core.domain.entity
AudityEntity is an abstract base class designed to capture and automatically manage entity audit information such as creation and modification metadata.
AudityEntity() - Constructor for class com.felipe.belo.mvp.core.domain.entity.AudityEntity
Protected no-arg constructor for JPA inheritance.
AuthController - Class in com.felipe.belo.mvp.auth
Controller responsible for handling authentication-related operations, including login and token refresh functionalities.
AuthController(UserRepository, PasswordEncoder, JwtEncoder, JwtDecoder, SecurityProps) - Constructor for class com.felipe.belo.mvp.auth.AuthController
Creates a new authentication controller.
AuthController.LoginRequest - Record Class in com.felipe.belo.mvp.auth
Login request payload.
AuthController.RefreshRequest - Record Class in com.felipe.belo.mvp.auth
Refresh request payload.
AuthController.TokenResponse - Record Class in com.felipe.belo.mvp.auth
Token response payload containing access and refresh tokens.

B

BusinessException - Exception Class in com.felipe.belo.mvp.core.exception
A custom exception class representing business logic errors in the application.
BusinessException(HttpStatus, String, Object...) - Constructor for exception class com.felipe.belo.mvp.core.exception.BusinessException
Creates a new business exception.
bySearchCriteria(SearchRequestDTO) - Static method in class com.felipe.belo.mvp.core.domain.SearchSpecification
Creates a JPA Specification from a search request.

C

code() - Method in record class com.felipe.belo.mvp.core.config.security.SecurityConfiguration.ErrorResponse
Returns the value of the code record component.
code() - Method in record class com.felipe.belo.mvp.core.exception.ApiExceptionHandler.ErrorResponse
Returns the value of the code record component.
com.felipe.belo.mvp - package com.felipe.belo.mvp
 
com.felipe.belo.mvp.auth - package com.felipe.belo.mvp.auth
 
com.felipe.belo.mvp.core.component - package com.felipe.belo.mvp.core.component
 
com.felipe.belo.mvp.core.config - package com.felipe.belo.mvp.core.config
 
com.felipe.belo.mvp.core.config.initial_data - package com.felipe.belo.mvp.core.config.initial_data
 
com.felipe.belo.mvp.core.config.module - package com.felipe.belo.mvp.core.config.module
 
com.felipe.belo.mvp.core.config.security - package com.felipe.belo.mvp.core.config.security
 
com.felipe.belo.mvp.core.domain - package com.felipe.belo.mvp.core.domain
 
com.felipe.belo.mvp.core.domain.entity - package com.felipe.belo.mvp.core.domain.entity
 
com.felipe.belo.mvp.core.domain.page.dto - package com.felipe.belo.mvp.core.domain.page.dto
 
com.felipe.belo.mvp.core.domain.page.request - package com.felipe.belo.mvp.core.domain.page.request
 
com.felipe.belo.mvp.core.domain.page.response - package com.felipe.belo.mvp.core.domain.page.response
 
com.felipe.belo.mvp.core.exception - package com.felipe.belo.mvp.core.exception
 
com.felipe.belo.mvp.core.service - package com.felipe.belo.mvp.core.service
 
com.felipe.belo.mvp.role.controller - package com.felipe.belo.mvp.role.controller
 
com.felipe.belo.mvp.role.dto - package com.felipe.belo.mvp.role.dto
 
com.felipe.belo.mvp.role.entity - package com.felipe.belo.mvp.role.entity
 
com.felipe.belo.mvp.role.mapper - package com.felipe.belo.mvp.role.mapper
 
com.felipe.belo.mvp.role.repository - package com.felipe.belo.mvp.role.repository
 
com.felipe.belo.mvp.role.service - package com.felipe.belo.mvp.role.service
 
com.felipe.belo.mvp.user.controller - package com.felipe.belo.mvp.user.controller
 
com.felipe.belo.mvp.user.dto - package com.felipe.belo.mvp.user.dto
 
com.felipe.belo.mvp.user.entity - package com.felipe.belo.mvp.user.entity
 
com.felipe.belo.mvp.user.mapper - package com.felipe.belo.mvp.user.mapper
 
com.felipe.belo.mvp.user.repository - package com.felipe.belo.mvp.user.repository
 
com.felipe.belo.mvp.user.service - package com.felipe.belo.mvp.user.service
 
com.felipe.belo.mvp.utils - package com.felipe.belo.mvp.utils
Utility package containing shared helpers and cross-cutting types such as string utilities, i18n constants, and permissions.
com.felipe.belo.mvp.utils.permissions - package com.felipe.belo.mvp.utils.permissions
 
content() - Method in record class com.felipe.belo.mvp.core.domain.page.response.PageResponse
Returns the value of the content record component.
create(CreateRoleDto) - Method in class com.felipe.belo.mvp.role.service.RoleService
Creates a new role after validating constraints.
create(CreateUserEntityDto) - Method in class com.felipe.belo.mvp.user.service.UserService
 
createdBy() - Method in record class com.felipe.belo.mvp.role.dto.RoleDto
Returns the value of the createdBy record component.
createdBy() - Method in record class com.felipe.belo.mvp.user.dto.UserEntityDto
Returns the value of the createdBy record component.
createdDate() - Method in record class com.felipe.belo.mvp.role.dto.RoleDto
Returns the value of the createdDate record component.
createdDate() - Method in record class com.felipe.belo.mvp.user.dto.UserEntityDto
Returns the value of the createdDate record component.
createRole(CreateRoleDto) - Method in class com.felipe.belo.mvp.role.controller.RoleController
Creates a new role.
CreateRoleDto - Record Class in com.felipe.belo.mvp.role.dto
DTO for Role creation.
CreateRoleDto(String, Set<Permissions>) - Constructor for record class com.felipe.belo.mvp.role.dto.CreateRoleDto
Creates an instance of a CreateRoleDto record class.
createUser(CreateUserEntityDto) - Method in class com.felipe.belo.mvp.user.controller.UserController
 
CreateUserEntityDto - Record Class in com.felipe.belo.mvp.user.dto
DTO for creating a UserEntity.
CreateUserEntityDto(String, String, String, RoleDto) - Constructor for record class com.felipe.belo.mvp.user.dto.CreateUserEntityDto
Creates an instance of a CreateUserEntityDto record class.
CurrentUserService - Class in com.felipe.belo.mvp.core.service
Service to retrieve the current authenticated user.
CurrentUserService(UserRepository) - Constructor for class com.felipe.belo.mvp.core.service.CurrentUserService
Creates a new service instance.
customAccessDeniedHandler(MessageService, ObjectMapper) - Method in class com.felipe.belo.mvp.core.config.security.SecurityConfiguration
 
customOpenAPI() - Method in class com.felipe.belo.mvp.core.config.OpenApiConfig
Builds the base OpenAPI specification used by Swagger UI.

D

DataInitializer - Class in com.felipe.belo.mvp.core.config.initial_data
Development-time data initializer for seeding roles and users.
DataInitializer() - Constructor for class com.felipe.belo.mvp.core.config.initial_data.DataInitializer
Default constructor.
delete(UUID) - Method in class com.felipe.belo.mvp.role.service.RoleService
Soft-deletes a role by setting deletedAt and deletedBy.
deletedAt() - Method in record class com.felipe.belo.mvp.user.dto.UserEntityDto
Returns the value of the deletedAt record component.
DeletedAt() - Method in record class com.felipe.belo.mvp.role.dto.RoleListDto
Returns the value of the DeletedAt record component.
deletedBy() - Method in record class com.felipe.belo.mvp.user.dto.UserEntityDto
Returns the value of the deletedBy record component.
deleteRole(UUID) - Method in class com.felipe.belo.mvp.role.controller.RoleController
Soft-deletes a role.

E

email() - Method in record class com.felipe.belo.mvp.auth.AuthController.LoginRequest
Returns the value of the email record component.
email() - Method in record class com.felipe.belo.mvp.user.dto.CreateUserEntityDto
Returns the value of the email record component.
email() - Method in record class com.felipe.belo.mvp.user.dto.UpdateUserEntityDto
Returns the value of the email record component.
email() - Method in record class com.felipe.belo.mvp.user.dto.UserEntityDto
Returns the value of the email record component.
email() - Method in record class com.felipe.belo.mvp.user.dto.UserEntityListDto
Returns the value of the email record component.
equals(Object) - Method in record class com.felipe.belo.mvp.auth.AuthController.LoginRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.felipe.belo.mvp.auth.AuthController.RefreshRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.felipe.belo.mvp.auth.AuthController.TokenResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.felipe.belo.mvp.core.config.security.SecurityConfiguration.ErrorResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.felipe.belo.mvp.core.config.security.SecurityProps
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.felipe.belo.mvp.core.domain.page.dto.PageableDto
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.felipe.belo.mvp.core.domain.page.dto.SearchFieldDTO
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.felipe.belo.mvp.core.domain.page.request.SearchRequestDTO
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.felipe.belo.mvp.core.domain.page.response.PageResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.felipe.belo.mvp.core.exception.ApiExceptionHandler.ErrorResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.felipe.belo.mvp.role.dto.CreateRoleDto
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.felipe.belo.mvp.role.dto.RoleDto
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.felipe.belo.mvp.role.dto.RoleListDto
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.felipe.belo.mvp.role.dto.UpdateRoleDto
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.felipe.belo.mvp.user.dto.CreateUserEntityDto
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.felipe.belo.mvp.user.dto.UpdateUserEntityDto
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.felipe.belo.mvp.user.dto.UserEntityDto
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.felipe.belo.mvp.user.dto.UserEntityListDto
Indicates whether some other object is "equal to" this one.
error() - Method in record class com.felipe.belo.mvp.core.config.security.SecurityConfiguration.ErrorResponse
Returns the value of the error record component.
error() - Method in record class com.felipe.belo.mvp.core.exception.ApiExceptionHandler.ErrorResponse
Returns the value of the error record component.
ErrorResponse(String, int, String, String, String) - Constructor for record class com.felipe.belo.mvp.core.config.security.SecurityConfiguration.ErrorResponse
Creates an instance of a ErrorResponse record class.
ErrorResponse(String, int, String, String, String) - Constructor for record class com.felipe.belo.mvp.core.exception.ApiExceptionHandler.ErrorResponse
Creates an instance of a ErrorResponse record class.

F

field() - Method in record class com.felipe.belo.mvp.core.domain.page.dto.SearchFieldDTO
Returns the value of the field record component.
filters() - Method in record class com.felipe.belo.mvp.core.domain.page.request.SearchRequestDTO
Returns the value of the filters record component.
findAll() - Method in class com.felipe.belo.mvp.role.service.RoleService
Returns all non-deleted roles.
findAll(SearchRequestDTO) - Method in class com.felipe.belo.mvp.role.service.RoleService
Searches and lists roles with pagination and filtering based on the provided search request.
findAllByDeletedAtIsNull() - Method in interface com.felipe.belo.mvp.role.repository.RoleRepository
Retrieves all roles that are not soft-deleted.
findByEmailIgnoreCase(String) - Method in interface com.felipe.belo.mvp.user.repository.UserRepository
Finds a user by e-mail ignoring case.
findById(UUID) - Method in class com.felipe.belo.mvp.role.service.RoleService
Retrieves a role by its identifier.
findByNormalizedName(String) - Method in interface com.felipe.belo.mvp.role.repository.RoleRepository
Finds a role by a normalized form of its name (lowercased, unaccented, and without spaces).
first() - Method in record class com.felipe.belo.mvp.core.domain.page.response.PageResponse
Returns the value of the first record component.
from(Page<T>) - Static method in record class com.felipe.belo.mvp.core.domain.page.response.PageResponse
 

G

getArgs() - Method in exception class com.felipe.belo.mvp.core.exception.BusinessException
Returns the optional formatting arguments for the error message.
getCreatedBy() - Method in class com.felipe.belo.mvp.core.domain.entity.AudityEntity
Gets the user id that created the entity.
getCreatedDate() - Method in class com.felipe.belo.mvp.core.domain.entity.AudityEntity
Gets the creation timestamp.
getCurrentAuditor() - Method in class com.felipe.belo.mvp.core.config.module.AuditAwareImpl
Resolve the current authenticated user's id to populate auditing fields.
getCurrentUser() - Method in class com.felipe.belo.mvp.core.service.CurrentUserService
Retrieves the current authenticated UserEntity, if available.
getCurrentUserOrThrow() - Method in class com.felipe.belo.mvp.core.service.CurrentUserService
Gets the current authenticated user or throws an exception.
getDeletedAt() - Method in class com.felipe.belo.mvp.role.entity.Role
Gets the soft-delete timestamp.
getDeletedAt() - Method in class com.felipe.belo.mvp.user.entity.UserEntity
Gets the soft-delete timestamp.
getDeletedBy() - Method in class com.felipe.belo.mvp.role.entity.Role
Gets the user id who soft-deleted this role.
getDeletedBy() - Method in class com.felipe.belo.mvp.user.entity.UserEntity
Gets the user id that performed soft-delete.
getEmail() - Method in class com.felipe.belo.mvp.user.entity.UserEntity
Gets the e-mail address.
getId() - Method in class com.felipe.belo.mvp.role.entity.Role
Gets the role identifier.
getId() - Method in class com.felipe.belo.mvp.user.entity.UserEntity
Gets the user id.
getLastModifiedBy() - Method in class com.felipe.belo.mvp.core.domain.entity.AudityEntity
Gets the last modifier user id.
getLastModifiedDate() - Method in class com.felipe.belo.mvp.core.domain.entity.AudityEntity
Gets the last modification timestamp.
getMessage(String) - Method in class com.felipe.belo.mvp.core.component.MessageService
Resolve a message with the current request locale.
getMessage(String, Object[]) - Method in class com.felipe.belo.mvp.core.component.MessageService
Resolve a parameterized message with the current request locale.
getMessage(String, Object[], Locale) - Method in class com.felipe.belo.mvp.core.component.MessageService
Resolve a parameterized message with an explicit locale.
getMessage(String, Locale) - Method in class com.felipe.belo.mvp.core.component.MessageService
Resolve a message with an explicit locale.
getMessageKey() - Method in exception class com.felipe.belo.mvp.core.exception.BusinessException
Returns the i18n message key for this error.
getName() - Method in class com.felipe.belo.mvp.role.entity.Role
Gets the role name.
getName() - Method in class com.felipe.belo.mvp.user.entity.UserEntity
Gets the display name.
getPassword() - Method in class com.felipe.belo.mvp.user.entity.UserEntity
Gets the hashed password.
getPermissions() - Method in class com.felipe.belo.mvp.role.entity.Role
Gets the permissions assigned to this role.
getRole() - Method in class com.felipe.belo.mvp.user.entity.UserEntity
Gets the role.
getRoleById(UUID) - Method in class com.felipe.belo.mvp.role.controller.RoleController
Gets a role by id.
getStatus() - Method in exception class com.felipe.belo.mvp.core.exception.BusinessException
Returns the HTTP status associated with this error.
getUserById(UUID) - Method in class com.felipe.belo.mvp.user.controller.UserController
 
getUserById(UUID) - Method in class com.felipe.belo.mvp.user.service.UserService
 
GlobalExceptionHandler - Class in com.felipe.belo.mvp.core.exception
 
GlobalExceptionHandler() - Constructor for class com.felipe.belo.mvp.core.exception.GlobalExceptionHandler
 

H

handleBusinessException(BusinessException, WebRequest) - Method in class com.felipe.belo.mvp.core.exception.ApiExceptionHandler
Handles domain/business exceptions.
handleException() - Method in class com.felipe.belo.mvp.core.exception.GlobalExceptionHandler
 
handleGenericException(Exception, WebRequest) - Method in class com.felipe.belo.mvp.core.exception.ApiExceptionHandler
Fallback handler for uncaught exceptions.
handleInternalServerError() - Method in class com.felipe.belo.mvp.core.exception.GlobalExceptionHandler
 
hashCode() - Method in record class com.felipe.belo.mvp.auth.AuthController.LoginRequest
Returns a hash code value for this object.
hashCode() - Method in record class com.felipe.belo.mvp.auth.AuthController.RefreshRequest
Returns a hash code value for this object.
hashCode() - Method in record class com.felipe.belo.mvp.auth.AuthController.TokenResponse
Returns a hash code value for this object.
hashCode() - Method in record class com.felipe.belo.mvp.core.config.security.SecurityConfiguration.ErrorResponse
Returns a hash code value for this object.
hashCode() - Method in record class com.felipe.belo.mvp.core.config.security.SecurityProps
Returns a hash code value for this object.
hashCode() - Method in record class com.felipe.belo.mvp.core.domain.page.dto.PageableDto
Returns a hash code value for this object.
hashCode() - Method in record class com.felipe.belo.mvp.core.domain.page.dto.SearchFieldDTO
Returns a hash code value for this object.
hashCode() - Method in record class com.felipe.belo.mvp.core.domain.page.request.SearchRequestDTO
Returns a hash code value for this object.
hashCode() - Method in record class com.felipe.belo.mvp.core.domain.page.response.PageResponse
Returns a hash code value for this object.
hashCode() - Method in record class com.felipe.belo.mvp.core.exception.ApiExceptionHandler.ErrorResponse
Returns a hash code value for this object.
hashCode() - Method in record class com.felipe.belo.mvp.role.dto.CreateRoleDto
Returns a hash code value for this object.
hashCode() - Method in record class com.felipe.belo.mvp.role.dto.RoleDto
Returns a hash code value for this object.
hashCode() - Method in record class com.felipe.belo.mvp.role.dto.RoleListDto
Returns a hash code value for this object.
hashCode() - Method in record class com.felipe.belo.mvp.role.dto.UpdateRoleDto
Returns a hash code value for this object.
hashCode() - Method in record class com.felipe.belo.mvp.user.dto.CreateUserEntityDto
Returns a hash code value for this object.
hashCode() - Method in record class com.felipe.belo.mvp.user.dto.UpdateUserEntityDto
Returns a hash code value for this object.
hashCode() - Method in record class com.felipe.belo.mvp.user.dto.UserEntityDto
Returns a hash code value for this object.
hashCode() - Method in record class com.felipe.belo.mvp.user.dto.UserEntityListDto
Returns a hash code value for this object.

I

I18nConstants - Class in com.felipe.belo.mvp.utils
Centralized i18n message keys used across the application.
id() - Method in record class com.felipe.belo.mvp.role.dto.RoleDto
Returns the value of the id record component.
id() - Method in record class com.felipe.belo.mvp.role.dto.RoleListDto
Returns the value of the id record component.
id() - Method in record class com.felipe.belo.mvp.user.dto.UserEntityDto
Returns the value of the id record component.
id() - Method in record class com.felipe.belo.mvp.user.dto.UserEntityListDto
Returns the value of the id record component.
includeDeleted() - Method in record class com.felipe.belo.mvp.core.domain.page.dto.PageableDto
Returns the value of the includeDeleted record component.
includeDeleted() - Method in record class com.felipe.belo.mvp.core.domain.page.request.SearchRequestDTO
Returns the value of the includeDeleted record component.
initDatabase(UserRepository, RoleRepository, PasswordEncoder) - Method in class com.felipe.belo.mvp.core.config.initial_data.DataInitializer
Seeds the database with initial roles and users if they do not exist.

J

jwtAuthenticationConverter(JwtDecoder) - Method in class com.felipe.belo.mvp.core.config.security.SecurityConfiguration
 
jwtDecoder() - Method in class com.felipe.belo.mvp.core.config.security.SecurityConfiguration
Provides a Nimbus JWT decoder using an HS256 symmetric key.
jwtEncoder() - Method in class com.felipe.belo.mvp.core.config.security.SecurityConfiguration
Provides a Nimbus JWT encoder using an HS256 symmetric key.

L

last() - Method in record class com.felipe.belo.mvp.core.domain.page.response.PageResponse
Returns the value of the last record component.
lastModifiedBy() - Method in record class com.felipe.belo.mvp.role.dto.RoleDto
Returns the value of the lastModifiedBy record component.
lastModifiedBy() - Method in record class com.felipe.belo.mvp.user.dto.UserEntityDto
Returns the value of the lastModifiedBy record component.
lastModifiedDate() - Method in record class com.felipe.belo.mvp.role.dto.RoleDto
Returns the value of the lastModifiedDate record component.
lastModifiedDate() - Method in record class com.felipe.belo.mvp.user.dto.UserEntityDto
Returns the value of the lastModifiedDate record component.
listRoles(SearchRequestDTO) - Method in class com.felipe.belo.mvp.role.controller.RoleController
Lists roles with search, pagination, and filtering based on the provided search request.
listUsers(SearchRequestDTO) - Method in class com.felipe.belo.mvp.user.controller.UserController
 
listUsers(SearchRequestDTO) - Method in class com.felipe.belo.mvp.user.service.UserService
 
login(AuthController.LoginRequest) - Method in class com.felipe.belo.mvp.auth.AuthController
Authenticates a user and returns JWT tokens.
LoginRequest(String, String) - Constructor for record class com.felipe.belo.mvp.auth.AuthController.LoginRequest
Creates an instance of a LoginRequest record class.

M

main(String[]) - Static method in class com.felipe.belo.mvp.MvpApplication
Bootstraps the Spring application.
message() - Method in record class com.felipe.belo.mvp.core.config.security.SecurityConfiguration.ErrorResponse
Returns the value of the message record component.
message() - Method in record class com.felipe.belo.mvp.core.exception.ApiExceptionHandler.ErrorResponse
Returns the value of the message record component.
MESSAGE_INTERNAL_SERVER_ERROR - Static variable in class com.felipe.belo.mvp.utils.I18nConstants
 
MESSAGE_ROLE_NAME_EXISTS - Static variable in class com.felipe.belo.mvp.utils.I18nConstants
Role name already exists error key.
MESSAGE_ROLE_NAME_LENGTH - Static variable in class com.felipe.belo.mvp.utils.I18nConstants
Role name length validation key.
MESSAGE_ROLE_NAME_NOT_FOUND - Static variable in class com.felipe.belo.mvp.utils.I18nConstants
Role not found error key.
MESSAGE_USER_EMAIL_EXISTS - Static variable in class com.felipe.belo.mvp.utils.I18nConstants
User e-mail already exists error key.
MESSAGE_USER_EMAIL_INVALID - Static variable in class com.felipe.belo.mvp.utils.I18nConstants
User e-mail invalid validation key.
MESSAGE_USER_EMAIL_LENGTH - Static variable in class com.felipe.belo.mvp.utils.I18nConstants
User e-mail length validation key.
MESSAGE_USER_EMAIL_REQUIRED - Static variable in class com.felipe.belo.mvp.utils.I18nConstants
User e-mail required validation key.
MESSAGE_USER_EXISTS - Static variable in class com.felipe.belo.mvp.utils.I18nConstants
User already exists error key.
MESSAGE_USER_FORBIDDEN - Static variable in class com.felipe.belo.mvp.utils.I18nConstants
 
MESSAGE_USER_NAME_LENGTH - Static variable in class com.felipe.belo.mvp.utils.I18nConstants
User name length validation key.
MESSAGE_USER_NAME_REQUIRED - Static variable in class com.felipe.belo.mvp.utils.I18nConstants
User name required validation key.
MESSAGE_USER_NOT_FOUND - Static variable in class com.felipe.belo.mvp.utils.I18nConstants
User not found error key.
MESSAGE_USER_PASSWORD_INVALID - Static variable in class com.felipe.belo.mvp.utils.I18nConstants
User password invalid validation key.
MESSAGE_USER_PASSWORD_LENGTH - Static variable in class com.felipe.belo.mvp.utils.I18nConstants
User password length validation key.
MESSAGE_USER_PASSWORD_REQUIRED - Static variable in class com.felipe.belo.mvp.utils.I18nConstants
User password required validation key.
MessageService - Class in com.felipe.belo.mvp.core.component
Facade for resolving i18n messages from Spring's MessageSource.
MessageService(MessageSource) - Constructor for class com.felipe.belo.mvp.core.component.MessageService
Creates a new MessageService.
MvpApplication - Class in com.felipe.belo.mvp
Spring Boot application entry point.
MvpApplication() - Constructor for class com.felipe.belo.mvp.MvpApplication
Utility constructor to prevent instantiation.

N

name() - Method in record class com.felipe.belo.mvp.role.dto.CreateRoleDto
Returns the value of the name record component.
name() - Method in record class com.felipe.belo.mvp.role.dto.RoleDto
Returns the value of the name record component.
name() - Method in record class com.felipe.belo.mvp.role.dto.RoleListDto
Returns the value of the name record component.
name() - Method in record class com.felipe.belo.mvp.role.dto.UpdateRoleDto
Returns the value of the name record component.
name() - Method in record class com.felipe.belo.mvp.user.dto.CreateUserEntityDto
Returns the value of the name record component.
name() - Method in record class com.felipe.belo.mvp.user.dto.UpdateUserEntityDto
Returns the value of the name record component.
name() - Method in record class com.felipe.belo.mvp.user.dto.UserEntityDto
Returns the value of the name record component.
name() - Method in record class com.felipe.belo.mvp.user.dto.UserEntityListDto
Returns the value of the name record component.
normalizeString(String) - Static method in class com.felipe.belo.mvp.utils.StringUtils
Normalizes a string by trimming and lowercasing it.

O

OpenApiConfig - Class in com.felipe.belo.mvp.core.config
Springdoc/OpenAPI configuration for the application.
OpenApiConfig() - Constructor for class com.felipe.belo.mvp.core.config.OpenApiConfig
Utility constructor to prevent instantiation.
operation() - Method in record class com.felipe.belo.mvp.core.domain.page.dto.SearchFieldDTO
Returns the value of the operation record component.

P

page() - Method in record class com.felipe.belo.mvp.core.domain.page.dto.PageableDto
Returns the value of the page record component.
page() - Method in record class com.felipe.belo.mvp.core.domain.page.request.SearchRequestDTO
Returns the value of the page record component.
page() - Method in record class com.felipe.belo.mvp.core.domain.page.response.PageResponse
Returns the value of the page record component.
PageableDto - Record Class in com.felipe.belo.mvp.core.domain.page.dto
 
PageableDto(int, int, Boolean, List<SearchFieldDTO>) - Constructor for record class com.felipe.belo.mvp.core.domain.page.dto.PageableDto
Creates an instance of a PageableDto record class.
PageResponse<T> - Record Class in com.felipe.belo.mvp.core.domain.page.response
 
PageResponse(List<T>, int, int, long, int, boolean, boolean) - Constructor for record class com.felipe.belo.mvp.core.domain.page.response.PageResponse
Creates an instance of a PageResponse record class.
partialUpdate(UpdateRoleDto, Role) - Method in interface com.felipe.belo.mvp.role.mapper.RoleMapper
Partially updates an existing entity ignoring null source values.
partialUpdate(UpdateUserEntityDto, UserEntity) - Method in interface com.felipe.belo.mvp.user.mapper.UserEntityMapper
Partially updates an entity from an update DTO, ignoring nulls.
password() - Method in record class com.felipe.belo.mvp.auth.AuthController.LoginRequest
Returns the value of the password record component.
password() - Method in record class com.felipe.belo.mvp.user.dto.CreateUserEntityDto
Returns the value of the password record component.
password() - Method in record class com.felipe.belo.mvp.user.dto.UserEntityDto
Returns the value of the password record component.
passwordEncoder() - Method in class com.felipe.belo.mvp.core.config.security.SecurityConfiguration
Password encoder bean (BCrypt).
permissions() - Method in record class com.felipe.belo.mvp.role.dto.CreateRoleDto
Returns the value of the permissions record component.
permissions() - Method in record class com.felipe.belo.mvp.role.dto.RoleDto
Returns the value of the permissions record component.
permissions() - Method in record class com.felipe.belo.mvp.role.dto.RoleListDto
Returns the value of the permissions record component.
permissions() - Method in record class com.felipe.belo.mvp.role.dto.UpdateRoleDto
Returns the value of the permissions record component.
Permissions - Enum Class in com.felipe.belo.mvp.utils.permissions
System-wide permission identifiers used to authorize actions.

R

RefreshRequest(String) - Constructor for record class com.felipe.belo.mvp.auth.AuthController.RefreshRequest
Creates an instance of a RefreshRequest record class.
refreshToken() - Method in record class com.felipe.belo.mvp.auth.AuthController.RefreshRequest
Returns the value of the refreshToken record component.
refreshToken() - Method in record class com.felipe.belo.mvp.auth.AuthController.TokenResponse
Returns the value of the refreshToken record component.
refreshToken(AuthController.RefreshRequest) - Method in class com.felipe.belo.mvp.auth.AuthController
Validates a refresh token and issues a new token pair.
refreshTokenExpirationMinutes() - Method in record class com.felipe.belo.mvp.core.config.security.SecurityProps
Returns the value of the refreshTokenExpirationMinutes record component.
role() - Method in record class com.felipe.belo.mvp.user.dto.CreateUserEntityDto
Returns the value of the role record component.
role() - Method in record class com.felipe.belo.mvp.user.dto.UpdateUserEntityDto
Returns the value of the role record component.
role() - Method in record class com.felipe.belo.mvp.user.dto.UserEntityDto
Returns the value of the role record component.
role() - Method in record class com.felipe.belo.mvp.user.dto.UserEntityListDto
Returns the value of the role record component.
Role - Class in com.felipe.belo.mvp.role.entity
Role entity representing a group of permissions assigned to users.
Role() - Constructor for class com.felipe.belo.mvp.role.entity.Role
JPA default constructor.
Role(String, Set<Permissions>, UUID, LocalDateTime) - Constructor for class com.felipe.belo.mvp.role.entity.Role
Creates a new Role with the given state.
ROLE_CREATE - Enum constant in enum class com.felipe.belo.mvp.utils.permissions.Permissions
Create a new role.
ROLE_DELETE - Enum constant in enum class com.felipe.belo.mvp.utils.permissions.Permissions
Delete a role.
ROLE_LIST - Enum constant in enum class com.felipe.belo.mvp.utils.permissions.Permissions
List roles.
ROLE_READ - Enum constant in enum class com.felipe.belo.mvp.utils.permissions.Permissions
Read a role.
ROLE_UPDATE - Enum constant in enum class com.felipe.belo.mvp.utils.permissions.Permissions
Update an existing role.
RoleController - Class in com.felipe.belo.mvp.role.controller
REST controller for managing roles.
RoleController(RoleService) - Constructor for class com.felipe.belo.mvp.role.controller.RoleController
Creates a new controller instance.
RoleDto - Record Class in com.felipe.belo.mvp.role.dto
DTO for Role.
RoleDto(UUID, LocalDateTime, UUID, LocalDateTime, UUID, String, Set<Permissions>) - Constructor for record class com.felipe.belo.mvp.role.dto.RoleDto
Creates an instance of a RoleDto record class.
RoleListDto - Record Class in com.felipe.belo.mvp.role.dto
Lightweight DTO for listing Role entries.
RoleListDto(UUID, String, Set<Permissions>, LocalDateTime) - Constructor for record class com.felipe.belo.mvp.role.dto.RoleListDto
Creates an instance of a RoleListDto record class.
RoleMapper - Interface in com.felipe.belo.mvp.role.mapper
RoleMapper interface provides methods for mapping between Role entity and its corresponding DTOs.
RoleRepository - Interface in com.felipe.belo.mvp.role.repository
Repository for managing Role entities.
RoleService - Class in com.felipe.belo.mvp.role.service
Service class for managing roles in the system.
RoleService(RoleRepository, RoleMapper, CurrentUserService) - Constructor for class com.felipe.belo.mvp.role.service.RoleService
Creates a new role service.

S

search(String, boolean, Pageable) - Method in interface com.felipe.belo.mvp.role.repository.RoleRepository
Searches roles by (optional) name term, with pagination, and optional inclusion of soft-deleted entries.
search(String, boolean, Pageable) - Method in interface com.felipe.belo.mvp.user.repository.UserRepository
Searches users by optional search term, with pagination, and optional inclusion of soft-deleted entries.
SearchFieldDTO - Record Class in com.felipe.belo.mvp.core.domain.page.dto
 
SearchFieldDTO(String, String, String) - Constructor for record class com.felipe.belo.mvp.core.domain.page.dto.SearchFieldDTO
Creates an instance of a SearchFieldDTO record class.
searchFields() - Method in record class com.felipe.belo.mvp.core.domain.page.dto.PageableDto
Returns the value of the searchFields record component.
SearchRequestDTO - Record Class in com.felipe.belo.mvp.core.domain.page.request
 
SearchRequestDTO(List<SearchFieldDTO>, Integer, Integer, String, Boolean) - Constructor for record class com.felipe.belo.mvp.core.domain.page.request.SearchRequestDTO
Creates an instance of a SearchRequestDTO record class.
SearchSpecification - Class in com.felipe.belo.mvp.core.domain
Utility class for building JPA Specifications based on search criteria.
SearchSpecification() - Constructor for class com.felipe.belo.mvp.core.domain.SearchSpecification
 
secret() - Method in record class com.felipe.belo.mvp.core.config.security.SecurityProps
Returns the value of the secret record component.
SecurityConfiguration - Class in com.felipe.belo.mvp.core.config.security
Spring Security configuration for JWT-based authentication and stateless APIs.
SecurityConfiguration(SecurityProps) - Constructor for class com.felipe.belo.mvp.core.config.security.SecurityConfiguration
Creates a new security configuration.
SecurityConfiguration.ErrorResponse - Record Class in com.felipe.belo.mvp.core.config.security
Standard error payload returned by the API.
securityFilterChain(HttpSecurity, JwtDecoder, JwtEncoder, UserDetailsService, MessageService, ObjectMapper) - Method in class com.felipe.belo.mvp.core.config.security.SecurityConfiguration
Configures the HTTP security filter chain.
SecurityProps - Record Class in com.felipe.belo.mvp.core.config.security
Security properties for JWT.
SecurityProps(String, int, int) - Constructor for record class com.felipe.belo.mvp.core.config.security.SecurityProps
Creates an instance of a SecurityProps record class.
setCreatedBy(UUID) - Method in class com.felipe.belo.mvp.core.domain.entity.AudityEntity
Sets the creator user id.
setCreatedDate(LocalDateTime) - Method in class com.felipe.belo.mvp.core.domain.entity.AudityEntity
Sets the creation timestamp.
setDeletedAt(LocalDateTime) - Method in class com.felipe.belo.mvp.role.entity.Role
Sets the soft-delete timestamp.
setDeletedAt(LocalDateTime) - Method in class com.felipe.belo.mvp.user.entity.UserEntity
Sets the soft-delete timestamp.
setDeletedBy(UUID) - Method in class com.felipe.belo.mvp.role.entity.Role
Sets the deleter user id for soft-delete.
setDeletedBy(UUID) - Method in class com.felipe.belo.mvp.user.entity.UserEntity
Sets the user id that performed soft-delete.
setEmail(String) - Method in class com.felipe.belo.mvp.user.entity.UserEntity
Sets the e-mail address.
setLastModifiedBy(UUID) - Method in class com.felipe.belo.mvp.core.domain.entity.AudityEntity
Sets the last modifier user id.
setLastModifiedDate(LocalDateTime) - Method in class com.felipe.belo.mvp.core.domain.entity.AudityEntity
Sets the last modification timestamp.
setName(String) - Method in class com.felipe.belo.mvp.role.entity.Role
Sets the role name.
setName(String) - Method in class com.felipe.belo.mvp.user.entity.UserEntity
Sets the display name.
setPassword(String) - Method in class com.felipe.belo.mvp.user.entity.UserEntity
Sets the hashed password.
setPermissions(Set<Permissions>) - Method in class com.felipe.belo.mvp.role.entity.Role
Sets the permissions assigned to this role.
setRole(Role) - Method in class com.felipe.belo.mvp.user.entity.UserEntity
Sets the role.
size() - Method in record class com.felipe.belo.mvp.core.domain.page.dto.PageableDto
Returns the value of the size record component.
size() - Method in record class com.felipe.belo.mvp.core.domain.page.request.SearchRequestDTO
Returns the value of the size record component.
size() - Method in record class com.felipe.belo.mvp.core.domain.page.response.PageResponse
Returns the value of the size record component.
sort() - Method in record class com.felipe.belo.mvp.core.domain.page.request.SearchRequestDTO
Returns the value of the sort record component.
status() - Method in record class com.felipe.belo.mvp.core.config.security.SecurityConfiguration.ErrorResponse
Returns the value of the status record component.
status() - Method in record class com.felipe.belo.mvp.core.exception.ApiExceptionHandler.ErrorResponse
Returns the value of the status record component.
StringUtils - Class in com.felipe.belo.mvp.utils
String utility helpers.

T

timestamp() - Method in record class com.felipe.belo.mvp.core.config.security.SecurityConfiguration.ErrorResponse
Returns the value of the timestamp record component.
timestamp() - Method in record class com.felipe.belo.mvp.core.exception.ApiExceptionHandler.ErrorResponse
Returns the value of the timestamp record component.
toDto(Role) - Method in interface com.felipe.belo.mvp.role.mapper.RoleMapper
Maps an entity to its detailed DTO.
toDto(UserEntity) - Method in interface com.felipe.belo.mvp.user.mapper.UserEntityMapper
Maps an entity to a detailed DTO.
toDto(Iterable<UserEntity>) - Method in interface com.felipe.belo.mvp.user.mapper.UserEntityMapper
Maps a collection of entities to lightweight list DTOs.
toDtoList(Iterable<Role>) - Method in interface com.felipe.belo.mvp.role.mapper.RoleMapper
Maps a collection of entities to list DTOs.
toEntity(CreateRoleDto) - Method in interface com.felipe.belo.mvp.role.mapper.RoleMapper
Maps a create DTO to a Role entity.
toEntity(RoleDto) - Method in interface com.felipe.belo.mvp.role.mapper.RoleMapper
Maps a Role DTO to a Role entity.
toEntity(UpdateRoleDto) - Method in interface com.felipe.belo.mvp.role.mapper.RoleMapper
Maps an update DTO to a Role entity.
toEntity(CreateUserEntityDto) - Method in interface com.felipe.belo.mvp.user.mapper.UserEntityMapper
Maps a create DTO to a UserEntity.
toEntity(UpdateUserEntityDto) - Method in interface com.felipe.belo.mvp.user.mapper.UserEntityMapper
Maps an update DTO to a UserEntity.
toEntity(UserEntityDto) - Method in interface com.felipe.belo.mvp.user.mapper.UserEntityMapper
Maps a detailed DTO to a UserEntity.
TokenResponse(String, String) - Constructor for record class com.felipe.belo.mvp.auth.AuthController.TokenResponse
Creates an instance of a TokenResponse record class.
toString() - Method in record class com.felipe.belo.mvp.auth.AuthController.LoginRequest
Returns a string representation of this record class.
toString() - Method in record class com.felipe.belo.mvp.auth.AuthController.RefreshRequest
Returns a string representation of this record class.
toString() - Method in record class com.felipe.belo.mvp.auth.AuthController.TokenResponse
Returns a string representation of this record class.
toString() - Method in record class com.felipe.belo.mvp.core.config.security.SecurityConfiguration.ErrorResponse
Returns a string representation of this record class.
toString() - Method in record class com.felipe.belo.mvp.core.config.security.SecurityProps
Returns a string representation of this record class.
toString() - Method in record class com.felipe.belo.mvp.core.domain.page.dto.PageableDto
Returns a string representation of this record class.
toString() - Method in record class com.felipe.belo.mvp.core.domain.page.dto.SearchFieldDTO
Returns a string representation of this record class.
toString() - Method in record class com.felipe.belo.mvp.core.domain.page.request.SearchRequestDTO
Returns a string representation of this record class.
toString() - Method in record class com.felipe.belo.mvp.core.domain.page.response.PageResponse
Returns a string representation of this record class.
toString() - Method in record class com.felipe.belo.mvp.core.exception.ApiExceptionHandler.ErrorResponse
Returns a string representation of this record class.
toString() - Method in record class com.felipe.belo.mvp.role.dto.CreateRoleDto
Returns a string representation of this record class.
toString() - Method in record class com.felipe.belo.mvp.role.dto.RoleDto
Returns a string representation of this record class.
toString() - Method in record class com.felipe.belo.mvp.role.dto.RoleListDto
Returns a string representation of this record class.
toString() - Method in record class com.felipe.belo.mvp.role.dto.UpdateRoleDto
Returns a string representation of this record class.
toString() - Method in record class com.felipe.belo.mvp.user.dto.CreateUserEntityDto
Returns a string representation of this record class.
toString() - Method in record class com.felipe.belo.mvp.user.dto.UpdateUserEntityDto
Returns a string representation of this record class.
toString() - Method in record class com.felipe.belo.mvp.user.dto.UserEntityDto
Returns a string representation of this record class.
toString() - Method in record class com.felipe.belo.mvp.user.dto.UserEntityListDto
Returns a string representation of this record class.
totalElements() - Method in record class com.felipe.belo.mvp.core.domain.page.response.PageResponse
Returns the value of the totalElements record component.
totalPages() - Method in record class com.felipe.belo.mvp.core.domain.page.response.PageResponse
Returns the value of the totalPages record component.

U

update(UUID, UpdateRoleDto) - Method in class com.felipe.belo.mvp.role.service.RoleService
Updates an existing role.
update(UUID, UpdateUserEntityDto) - Method in class com.felipe.belo.mvp.user.controller.UserController
 
update(UUID, UpdateUserEntityDto) - Method in class com.felipe.belo.mvp.user.service.UserService
 
updateEntityFromDto(UpdateRoleDto, Role) - Method in interface com.felipe.belo.mvp.role.mapper.RoleMapper
Updates target entity in-place from DTO, ignoring nulls.
updateRole(UUID, UpdateRoleDto) - Method in class com.felipe.belo.mvp.role.controller.RoleController
Updates an existing role.
UpdateRoleDto - Record Class in com.felipe.belo.mvp.role.dto
DTO for updating a Role.
UpdateRoleDto(String, Set<Permissions>) - Constructor for record class com.felipe.belo.mvp.role.dto.UpdateRoleDto
Creates an instance of a UpdateRoleDto record class.
UpdateUserEntityDto - Record Class in com.felipe.belo.mvp.user.dto
DTO for updating a UserEntity.
UpdateUserEntityDto(String, String, RoleDto) - Constructor for record class com.felipe.belo.mvp.user.dto.UpdateUserEntityDto
Creates an instance of a UpdateUserEntityDto record class.
USER_CREATE - Enum constant in enum class com.felipe.belo.mvp.utils.permissions.Permissions
Create a new user.
USER_DELETE - Enum constant in enum class com.felipe.belo.mvp.utils.permissions.Permissions
Delete a user.
USER_LIST - Enum constant in enum class com.felipe.belo.mvp.utils.permissions.Permissions
List users.
USER_READ - Enum constant in enum class com.felipe.belo.mvp.utils.permissions.Permissions
Read a user.
USER_UPDATE - Enum constant in enum class com.felipe.belo.mvp.utils.permissions.Permissions
Update an existing user.
UserController - Class in com.felipe.belo.mvp.user.controller
 
UserController(UserService) - Constructor for class com.felipe.belo.mvp.user.controller.UserController
 
userDetailsService(UserRepository) - Method in class com.felipe.belo.mvp.core.config.security.SecurityConfiguration
Custom user-details service that loads a user by e-mail.
UserEntity - Class in com.felipe.belo.mvp.user.entity
User entity representing application users.
UserEntity() - Constructor for class com.felipe.belo.mvp.user.entity.UserEntity
JPA default constructor.
UserEntity(UUID, String, String, String, Role, UUID, LocalDateTime) - Constructor for class com.felipe.belo.mvp.user.entity.UserEntity
Full constructor for convenience/testing.
UserEntityDto - Record Class in com.felipe.belo.mvp.user.dto
DTO for UserEntity.
UserEntityDto(UUID, LocalDateTime, UUID, LocalDateTime, UUID, String, String, String, RoleDto, UUID, LocalDateTime) - Constructor for record class com.felipe.belo.mvp.user.dto.UserEntityDto
Creates an instance of a UserEntityDto record class.
UserEntityListDto - Record Class in com.felipe.belo.mvp.user.dto
Lightweight DTO for listing UserEntity entries.
UserEntityListDto(UUID, String, String, RoleListDto) - Constructor for record class com.felipe.belo.mvp.user.dto.UserEntityListDto
Creates an instance of a UserEntityListDto record class.
UserEntityMapper - Interface in com.felipe.belo.mvp.user.mapper
UserEntityMapper interface provides methods for mapping between UserEntity and its corresponding DTOs.
UserRepository - Interface in com.felipe.belo.mvp.user.repository
Repository for managing UserEntity instances.
UserService - Class in com.felipe.belo.mvp.user.service
 
UserService(UserRepository) - Constructor for class com.felipe.belo.mvp.user.service.UserService
 

V

value() - Method in record class com.felipe.belo.mvp.core.domain.page.dto.SearchFieldDTO
Returns the value of the value record component.
valueOf(String) - Static method in enum class com.felipe.belo.mvp.utils.permissions.Permissions
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.felipe.belo.mvp.utils.permissions.Permissions
Returns an array containing the constants of this enum class, in the order they are declared.
A B C D E F G H I J L M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form