Index
All Classes and Interfaces|All Packages|Serialized Form
A
- ACTIVE - Enum constant in enum class org.example.crmedu.domain.enums.StudentStatus
-
Status representing a student, that having lessons in organization.
- ACTIVE - Enum constant in enum class org.example.crmedu.domain.enums.UserStatus
-
Status representing an active account, that can use the system.
- AdviceController - Class in org.example.crmedu.application.controller
-
Global exception handler for handling application-wide exceptions.
- AdviceController() - Constructor for class org.example.crmedu.application.controller.AdviceController
- AuthController - Class in org.example.crmedu.application.controller
-
REST controller for managing authentication operations.
- AuthController() - Constructor for class org.example.crmedu.application.controller.AuthController
C
- checkExistanceById(Long) - Method in interface org.example.crmedu.domain.service.organization.OrganizationService
-
Check if organization with this unique identifier exists.
- checkExistanceById(Long) - Method in class org.example.crmedu.domain.service.organization.OrganizationServiceImpl
- create(Organization) - Method in interface org.example.crmedu.domain.service.organization.OrganizationService
-
Creates a new organization.
- create(Organization) - Method in class org.example.crmedu.domain.service.organization.OrganizationServiceImpl
- create(Student) - Method in interface org.example.crmedu.domain.service.student.StudentService
-
Creates a new student.
- create(Student) - Method in class org.example.crmedu.domain.service.student.StudentServiceImpl
- create(Subject) - Method in interface org.example.crmedu.domain.service.subject.SubjectService
-
Creates a new subject.
- create(Subject) - Method in class org.example.crmedu.domain.service.subject.SubjectServiceImpl
- create(Tutor) - Method in interface org.example.crmedu.domain.service.tutor.TutorService
-
Creates a new tutor.
- create(Tutor) - Method in class org.example.crmedu.domain.service.tutor.TutorServiceImpl
- create(User) - Method in interface org.example.crmedu.domain.service.user.UserService
-
Creates a new user.
- create(User) - Method in class org.example.crmedu.domain.service.user.UserServiceImpl
- CreateOrganizationRequest - Class in org.example.crmedu.application.dto.request.organization
-
A DTO representing the request for creating an Organization.
- CreateOrganizationRequest() - Constructor for class org.example.crmedu.application.dto.request.organization.CreateOrganizationRequest
- CreateOrganizationResponse - Class in org.example.crmedu.application.dto.response.organization
-
A DTO representing the response with creating an Organization.
- CreateOrganizationResponse() - Constructor for class org.example.crmedu.application.dto.response.organization.CreateOrganizationResponse
- createRequestToOrganization(CreateOrganizationRequest) - Method in interface org.example.crmedu.application.mapping.OrganizationDTOMapper
-
Converts a
CreateOrganizationRequest
DTO to aOrganization
model. - createRequestToSubject(CreateSubjectRequest) - Method in interface org.example.crmedu.application.mapping.SubjectDTOMapper
-
Converts a
CreateSubjectRequest
DTO to aSubject
model. - createRequestToTutor(CreateTutorRequest) - Method in interface org.example.crmedu.application.mapping.TutorDTOMapper
-
Converts a
CreateTutorRequest
DTO to aTutor
model. - createSchedule(TutorSchedule, Long) - Method in interface org.example.crmedu.domain.service.schedule.TutorScheduleService
-
Creates a new schedule.
- createSchedule(TutorSchedule, Long) - Method in class org.example.crmedu.domain.service.schedule.TutorScheduleServiceImpl
- CreateStudentRequest - Class in org.example.crmedu.application.dto.request.student
-
A DTO representing a request to create a new Student.
- CreateStudentRequest() - Constructor for class org.example.crmedu.application.dto.request.student.CreateStudentRequest
- createStudentRequestToStudent(CreateStudentRequest) - Method in interface org.example.crmedu.application.mapping.StudentDTOMapper
-
Converts a
CreateStudentRequest
DTO to aStudent
domain model. - CreateStudentResponse - Class in org.example.crmedu.application.dto.response.student
-
A DTO representing the response after creating a Student.
- CreateStudentResponse() - Constructor for class org.example.crmedu.application.dto.response.student.CreateStudentResponse
- createSubject(CreateSubjectRequest) - Method in class org.example.crmedu.application.controller.SubjectController
-
Creates a new subject based on the provided request data.
- CreateSubjectRequest - Class in org.example.crmedu.application.dto.request.subject
-
A DTO representing a request to create a new Subject.
- CreateSubjectRequest() - Constructor for class org.example.crmedu.application.dto.request.subject.CreateSubjectRequest
- CreateSubjectResponse - Class in org.example.crmedu.application.dto.response.subject
-
A DTO representing the response after creating a Subject.
- CreateSubjectResponse() - Constructor for class org.example.crmedu.application.dto.response.subject.CreateSubjectResponse
- CreateTutorRequest - Class in org.example.crmedu.application.dto.request.tutor
-
A DTO representing a request to create a new Tutor.
- CreateTutorRequest() - Constructor for class org.example.crmedu.application.dto.request.tutor.CreateTutorRequest
- CreateTutorResponse - Class in org.example.crmedu.application.dto.response.tutor
-
A DTO representing the response when creating a Tutor.
- CreateTutorResponse() - Constructor for class org.example.crmedu.application.dto.response.tutor.CreateTutorResponse
- createTutors(CreateTutorRequest) - Method in class org.example.crmedu.application.controller.TutorController
-
Creates a new tutor based on the provided request data.
- CreateTutorScheduleRequest - Class in org.example.crmedu.application.dto.request.schedule
-
A DTO representing a request to create new schedule.
- CreateTutorScheduleRequest() - Constructor for class org.example.crmedu.application.dto.request.schedule.CreateTutorScheduleRequest
- createTutorScheduleRequestToTutorSchedule(CreateTutorScheduleRequest) - Method in interface org.example.crmedu.application.mapping.TutorScheduleDTOMapper
-
Converts a
CreateTutorScheduleRequest
DTO to aTutorSchedule
model. - CreateTutorScheduleResponse - Class in org.example.crmedu.application.dto.response.schedule
-
A DTO representing the response with creating a tutor schedule.
- CreateTutorScheduleResponse() - Constructor for class org.example.crmedu.application.dto.response.schedule.CreateTutorScheduleResponse
- createUser(CreateUserRequest) - Method in class org.example.crmedu.application.controller.UserController
-
Creates a new user based on the provided request data.
- CreateUserRequest - Class in org.example.crmedu.application.dto.request.user
-
A DTO representing a request to create a new User.
- CreateUserRequest() - Constructor for class org.example.crmedu.application.dto.request.user.CreateUserRequest
- createUserRequestToUser(CreateUserRequest) - Method in interface org.example.crmedu.application.mapping.UserDTOMapper
-
Converts a
CreateUserRequest
DTO to aUser
model. - CreateUserResponse - Class in org.example.crmedu.application.dto.response.user
-
A DTO representing the response after creating a User.
- CreateUserResponse() - Constructor for class org.example.crmedu.application.dto.response.user.CreateUserResponse
- createVerificationToken(User, String) - Method in interface org.example.crmedu.domain.service.auth.VerificationTokenService
-
Creates verification token for selected user after registration.
- createVerificationToken(User, String) - Method in class org.example.crmedu.domain.service.auth.VerificationTokenServiceImpl
- CrmeduApplication - Class in org.example.crmedu
- CrmeduApplication() - Constructor for class org.example.crmedu.CrmeduApplication
- CURATOR - Enum constant in enum class org.example.crmedu.domain.enums.Role
-
Role that has rights to manage the schedule of tutors.
- customOpenAPI() - Method in class org.example.crmedu.infrastructure.configuration.SwaggerConfig
-
Configures the OpenAPI specification with authentication support.
D
- DataOrganizationRepository - Interface in org.example.crmedu.infrastructure.repository.organization
-
JPA repository for managing
OrganizationEntity
entities in the database. - DataStudentRepository - Interface in org.example.crmedu.infrastructure.repository.student
-
JPA repository for managing
StudentEntity
entities in the database. - DataSubjectRepository - Interface in org.example.crmedu.infrastructure.repository.subject
-
JPA repository for managing
SubjectEntity
entities in the database. - DataTutorRepository - Interface in org.example.crmedu.infrastructure.repository.tutor
-
JPA repository for managing
TutorEntity
entities in the database. - DataTutorScheduleRepository - Interface in org.example.crmedu.infrastructure.repository.schedule
-
JPA repository for managing
TutorScheduleEntity
entities in the database. - DataUserRepository - Interface in org.example.crmedu.infrastructure.repository.user
-
JPA repository for managing
UserEntity
entities in the database. - DaysOfWeek - Enum Class in org.example.crmedu.domain.enums
- delete(Long) - Method in interface org.example.crmedu.domain.repository.OrganizationRepository
-
Delete an organization by its unique identifier.
- delete(Long) - Method in interface org.example.crmedu.domain.repository.StudentRepository
-
Deletes a student by its unique identifier.
- delete(Long) - Method in interface org.example.crmedu.domain.repository.SubjectRepository
-
Deletes a subject by its unique identifier.
- delete(Long) - Method in interface org.example.crmedu.domain.repository.TutorRepository
-
Deletes a tutor by its unique identifier.
- delete(Long) - Method in interface org.example.crmedu.domain.repository.TutorScheduleRepository
-
Deletes a schedule by its unique identifier.
- delete(Long) - Method in interface org.example.crmedu.domain.repository.UserRepository
-
Deletes an user by its unique identifier.
- delete(Long) - Method in interface org.example.crmedu.domain.service.organization.OrganizationService
-
Deletes an organization by its unique identifier.
- delete(Long) - Method in class org.example.crmedu.domain.service.organization.OrganizationServiceImpl
- delete(Long) - Method in interface org.example.crmedu.domain.service.schedule.TutorScheduleService
-
Deletes a schedule by its unique identifier.
- delete(Long) - Method in class org.example.crmedu.domain.service.schedule.TutorScheduleServiceImpl
- delete(Long) - Method in interface org.example.crmedu.domain.service.subject.SubjectService
-
Deletes a subject by its unique identifier.
- delete(Long) - Method in class org.example.crmedu.domain.service.subject.SubjectServiceImpl
- delete(Long) - Method in interface org.example.crmedu.domain.service.tutor.TutorService
-
Deletes a tutor by its unique identifier.
- delete(Long) - Method in class org.example.crmedu.domain.service.tutor.TutorServiceImpl
- delete(Long) - Method in interface org.example.crmedu.domain.service.user.UserService
-
Deletes a user by its unique identifier.
- delete(Long) - Method in class org.example.crmedu.domain.service.user.UserServiceImpl
- delete(Long) - Method in class org.example.crmedu.infrastructure.repository.organization.OrganizationRepositoryImpl
- delete(Long) - Method in class org.example.crmedu.infrastructure.repository.schedule.TutorScheduleRepositoryImpl
- delete(Long) - Method in class org.example.crmedu.infrastructure.repository.student.StudentRepositoryImpl
- delete(Long) - Method in class org.example.crmedu.infrastructure.repository.subject.SubjectRepositoryImpl
- delete(Long) - Method in class org.example.crmedu.infrastructure.repository.tutor.TutorRepositoryImpl
- delete(Long) - Method in class org.example.crmedu.infrastructure.repository.user.UserRepositoryImpl
- deleteStudent(Long) - Method in interface org.example.crmedu.domain.service.student.StudentService
-
Deletes a student by its unique identifier.
- deleteStudent(Long) - Method in class org.example.crmedu.domain.service.student.StudentServiceImpl
- deleteSubject(Long) - Method in class org.example.crmedu.application.controller.SubjectController
-
Deletes a subject by its unique identifier.
- deleteTutor(Long) - Method in class org.example.crmedu.application.controller.TutorController
-
Deletes a tutor by its unique identifier.
- deleteUser(Long) - Method in class org.example.crmedu.application.controller.UserController
-
Deletes a user by its unique identifier.
- DISABLED - Enum constant in enum class org.example.crmedu.domain.enums.UserStatus
-
Status representing a disabled account, that cannot use the system.
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.example.crmedu.infrastructure.auth.jwt.JwtFilter
-
Extracts and validates the JWT token from the request, then sets authentication in the security context.
E
- EmailService - Interface in org.example.crmedu.domain.service.auth
-
Service interface for mail senders.
- EmailServiceImpl - Class in org.example.crmedu.infrastructure.service
-
Implementation of
EmailService
for sending emails. - EmailServiceImpl() - Constructor for class org.example.crmedu.infrastructure.service.EmailServiceImpl
- encode(String) - Method in interface org.example.crmedu.domain.service.jwt.PasswordEncode
-
Encode given password.
- encode(String) - Method in class org.example.crmedu.infrastructure.auth.jwt.PasswordEncodeImpl
- EntityExistsException - Exception Class in org.example.crmedu.domain.exception
-
Exception thrown when an entity with a unique field constraint already exists.
- EntityExistsException(Class<?>, String) - Constructor for exception class org.example.crmedu.domain.exception.EntityExistsException
-
Constructs a new
EntityExistsException
with a formatted message. - EntityNotFoundException - Exception Class in org.example.crmedu.domain.exception
-
Exception thrown when an entity with a specific id is not found.
- EntityNotFoundException(Class<?>, Object) - Constructor for exception class org.example.crmedu.domain.exception.EntityNotFoundException
-
Constructs a new
EntityNotFound
with a formatted message. - equals(Object) - Method in class org.example.crmedu.infrastructure.auth.jwt.JwtAuthentication
- equals(Object) - Method in class org.example.crmedu.infrastructure.entity.OrganizationEntity
- equals(Object) - Method in class org.example.crmedu.infrastructure.entity.SubjectEntity
- equals(Object) - Method in class org.example.crmedu.infrastructure.entity.TutorEntity
- equals(Object) - Method in class org.example.crmedu.infrastructure.entity.TutorScheduleEntity
- equals(Object) - Method in class org.example.crmedu.infrastructure.entity.UserEntity
- existsByEmail(Organization) - Method in interface org.example.crmedu.domain.repository.OrganizationRepository
-
Checks whether an organization with the same email already exists.
- existsByEmail(Organization) - Method in class org.example.crmedu.infrastructure.repository.organization.OrganizationRepositoryImpl
- existsByEmail(User) - Method in interface org.example.crmedu.domain.repository.UserRepository
-
Checks whether a user with the same email already exists.
- existsByEmail(User) - Method in class org.example.crmedu.infrastructure.repository.user.UserRepositoryImpl
- existsByEmailAndIdIsNot(String, Long) - Method in interface org.example.crmedu.infrastructure.repository.organization.DataOrganizationRepository
-
Checks whether an organization with the specified email exists.
- existsByEmailAndIdIsNot(String, Long) - Method in interface org.example.crmedu.infrastructure.repository.user.DataUserRepository
-
Checks whether a user with the specified email exists.
- existsByEmailAndPhoneAndOrganization_IdAndIdIsNot(String, String, Long, Long) - Method in interface org.example.crmedu.infrastructure.repository.student.DataStudentRepository
-
Checks whether a student with the specified phone and email that belongs to certain organization exists.
- existsByEmailAndPhoneInOrganization(Student) - Method in interface org.example.crmedu.domain.repository.StudentRepository
-
Checks whether a student with this email and phone exists in this organization.
- existsByEmailAndPhoneInOrganization(Student) - Method in class org.example.crmedu.infrastructure.repository.student.StudentRepositoryImpl
- existsById(Long) - Method in interface org.example.crmedu.domain.repository.OrganizationRepository
-
Checks whether an organization with this identifier exists.
- existsById(Long) - Method in class org.example.crmedu.infrastructure.repository.organization.OrganizationRepositoryImpl
- existsByName(Organization) - Method in interface org.example.crmedu.domain.repository.OrganizationRepository
-
Checks whether an organization with the same name already exists.
- existsByName(Organization) - Method in class org.example.crmedu.infrastructure.repository.organization.OrganizationRepositoryImpl
- existsByNameAndIdIsNot(String, Long) - Method in interface org.example.crmedu.infrastructure.repository.organization.DataOrganizationRepository
-
Checks whether an organization with the specified name exists.
- existsByNameAndOrganizationId(String, Long) - Method in interface org.example.crmedu.infrastructure.repository.subject.DataSubjectRepository
-
Checks whether a subject with the specified name that belongs to certain organization exists.
- existsByNameAndOrganizationId(Subject) - Method in interface org.example.crmedu.domain.repository.SubjectRepository
-
Checks whether a subject with the same name that belongs to certain organization already exists.
- existsByNameAndOrganizationId(Subject) - Method in class org.example.crmedu.infrastructure.repository.subject.SubjectRepositoryImpl
- existsByPhone(Organization) - Method in interface org.example.crmedu.domain.repository.OrganizationRepository
-
Checks whether an organization with the same phone already exists.
- existsByPhone(Organization) - Method in class org.example.crmedu.infrastructure.repository.organization.OrganizationRepositoryImpl
- existsByPhone(User) - Method in interface org.example.crmedu.domain.repository.UserRepository
-
Checks whether a user with the same phone already exists.
- existsByPhone(User) - Method in class org.example.crmedu.infrastructure.repository.user.UserRepositoryImpl
- existsByPhoneAndIdIsNot(String, Long) - Method in interface org.example.crmedu.infrastructure.repository.organization.DataOrganizationRepository
-
Checks whether an organization with the specified phone exists.
- existsByPhoneAndIdIsNot(String, Long) - Method in interface org.example.crmedu.infrastructure.repository.user.DataUserRepository
-
Checks whether a user with the specified phone exists.
- existsByUser(Tutor) - Method in interface org.example.crmedu.domain.repository.TutorRepository
-
Checks whether a tutor with the same user already exists.
- existsByUser(Tutor) - Method in class org.example.crmedu.infrastructure.repository.tutor.TutorRepositoryImpl
- existsByUserIdAndIdIsNot(Long, Long) - Method in interface org.example.crmedu.infrastructure.repository.tutor.DataTutorRepository
F
- findAll(int, int) - Method in interface org.example.crmedu.domain.repository.OrganizationRepository
-
Retrieves a paginated list of organizations.
- findAll(int, int) - Method in interface org.example.crmedu.domain.repository.StudentRepository
-
Retrieves a paginated list of students.
- findAll(int, int) - Method in interface org.example.crmedu.domain.repository.SubjectRepository
-
Retrieves a paginated list of subjects.
- findAll(int, int) - Method in interface org.example.crmedu.domain.repository.TutorRepository
-
Retrieves a paginated list of tutors.
- findAll(int, int) - Method in interface org.example.crmedu.domain.repository.UserRepository
-
Retrieves a paginated list of users.
- findAll(int, int) - Method in interface org.example.crmedu.domain.service.organization.OrganizationService
-
Retrieves a paginated list of organizations.
- findAll(int, int) - Method in class org.example.crmedu.domain.service.organization.OrganizationServiceImpl
- findAll(int, int) - Method in interface org.example.crmedu.domain.service.subject.SubjectService
-
Retrieves a paginated list of subjects.
- findAll(int, int) - Method in class org.example.crmedu.domain.service.subject.SubjectServiceImpl
- findAll(int, int) - Method in interface org.example.crmedu.domain.service.tutor.TutorService
-
Retrieves a paginated list of tutors.
- findAll(int, int) - Method in class org.example.crmedu.domain.service.tutor.TutorServiceImpl
- findAll(int, int) - Method in interface org.example.crmedu.domain.service.user.UserService
-
Retrieves a paginated list of users.
- findAll(int, int) - Method in class org.example.crmedu.domain.service.user.UserServiceImpl
- findAll(int, int) - Method in class org.example.crmedu.infrastructure.repository.organization.OrganizationRepositoryImpl
- findAll(int, int) - Method in class org.example.crmedu.infrastructure.repository.student.StudentRepositoryImpl
- findAll(int, int) - Method in class org.example.crmedu.infrastructure.repository.subject.SubjectRepositoryImpl
- findAll(int, int) - Method in class org.example.crmedu.infrastructure.repository.tutor.TutorRepositoryImpl
- findAll(int, int) - Method in class org.example.crmedu.infrastructure.repository.user.UserRepositoryImpl
- findByEmail(String) - Method in interface org.example.crmedu.domain.repository.UserRepository
-
Retrieves a user by its email.
- findByEmail(String) - Method in interface org.example.crmedu.domain.service.user.UserService
-
Retrieves a user by its email.
- findByEmail(String) - Method in class org.example.crmedu.domain.service.user.UserServiceImpl
- findByEmail(String) - Method in interface org.example.crmedu.infrastructure.repository.user.DataUserRepository
-
Retrieves user by his email.
- findByEmail(String) - Method in class org.example.crmedu.infrastructure.repository.user.UserRepositoryImpl
- findById(Long) - Method in interface org.example.crmedu.domain.repository.OrganizationRepository
-
Retrieves an organization by its unique identifier.
- findById(Long) - Method in interface org.example.crmedu.domain.repository.StudentRepository
-
Retrieves a student by its unique identifier.
- findById(Long) - Method in interface org.example.crmedu.domain.repository.SubjectRepository
-
Retrieves a subject by its unique identifier
- findById(Long) - Method in interface org.example.crmedu.domain.repository.TutorRepository
-
Retrieves a tutor by its unique identifier.
- findById(Long) - Method in interface org.example.crmedu.domain.repository.TutorScheduleRepository
-
Retrieves a tutor schedule by its unique identifier.
- findById(Long) - Method in interface org.example.crmedu.domain.repository.UserRepository
-
Retrieves an user by its unique identifier.
- findById(Long) - Method in interface org.example.crmedu.domain.service.organization.OrganizationService
-
Retrieves an organization by its unique identifier.
- findById(Long) - Method in class org.example.crmedu.domain.service.organization.OrganizationServiceImpl
- findById(Long) - Method in interface org.example.crmedu.domain.service.schedule.TutorScheduleService
-
Retrieves a schedule by its unique identifier.
- findById(Long) - Method in class org.example.crmedu.domain.service.schedule.TutorScheduleServiceImpl
- findById(Long) - Method in interface org.example.crmedu.domain.service.student.StudentService
-
Retrieves a student by its unique identifier.
- findById(Long) - Method in class org.example.crmedu.domain.service.student.StudentServiceImpl
- findById(Long) - Method in interface org.example.crmedu.domain.service.subject.SubjectService
-
Retrieves a subject by its unique identifier.
- findById(Long) - Method in class org.example.crmedu.domain.service.subject.SubjectServiceImpl
- findById(Long) - Method in interface org.example.crmedu.domain.service.tutor.TutorService
-
Retrieves an tutor by its unique identifier.
- findById(Long) - Method in class org.example.crmedu.domain.service.tutor.TutorServiceImpl
- findById(Long) - Method in interface org.example.crmedu.domain.service.user.UserService
-
Retrieves an user by its unique identifier.
- findById(Long) - Method in class org.example.crmedu.domain.service.user.UserServiceImpl
- findById(Long) - Method in class org.example.crmedu.infrastructure.repository.organization.OrganizationRepositoryImpl
- findById(Long) - Method in class org.example.crmedu.infrastructure.repository.schedule.TutorScheduleRepositoryImpl
- findById(Long) - Method in class org.example.crmedu.infrastructure.repository.student.StudentRepositoryImpl
- findById(Long) - Method in class org.example.crmedu.infrastructure.repository.subject.SubjectRepositoryImpl
- findById(Long) - Method in class org.example.crmedu.infrastructure.repository.tutor.TutorRepositoryImpl
- findById(Long) - Method in class org.example.crmedu.infrastructure.repository.user.UserRepositoryImpl
- findByTutorId(Long) - Method in interface org.example.crmedu.domain.repository.TutorScheduleRepository
-
Retrieves a set of schedules of certain tutor.
- findByTutorId(Long) - Method in class org.example.crmedu.infrastructure.repository.schedule.TutorScheduleRepositoryImpl
- findByVerificationToken(String) - Method in interface org.example.crmedu.domain.repository.UserRepository
-
Retrieves a user by its verification token.
- findByVerificationToken(String) - Method in interface org.example.crmedu.domain.service.user.UserService
-
Retrieves a user by its token.
- findByVerificationToken(String) - Method in class org.example.crmedu.domain.service.user.UserServiceImpl
- findByVerificationToken(String) - Method in interface org.example.crmedu.infrastructure.repository.user.DataUserRepository
-
Retrieves user by his verification token.
- findByVerificationToken(String) - Method in class org.example.crmedu.infrastructure.repository.user.UserRepositoryImpl
- findPagesByTutorId(int, int, Long) - Method in interface org.example.crmedu.domain.repository.TutorScheduleRepository
-
Retrieves a paginated list of schedules of certain tutor.
- findPagesByTutorId(int, int, Long) - Method in class org.example.crmedu.infrastructure.repository.schedule.TutorScheduleRepositoryImpl
- findTutorScheduleEntitiesByTutor_Id(Long) - Method in interface org.example.crmedu.infrastructure.repository.schedule.DataTutorScheduleRepository
-
Retrieves set of schedules by tutorId.
- findTutorScheduleEntitiesByTutor_Id(Long, Pageable) - Method in interface org.example.crmedu.infrastructure.repository.schedule.DataTutorScheduleRepository
-
Retrieves a paginated list of schedules by tutorId.
- FRIDAY - Enum constant in enum class org.example.crmedu.domain.enums.DaysOfWeek
G
- generate(Claims) - Static method in class org.example.crmedu.infrastructure.auth.jwt.JwtUtils
-
Generates a
JwtAuthentication
object from JWT claims. - generateAccessToken(User) - Method in class org.example.crmedu.infrastructure.auth.jwt.JwtProvider
-
Generates an access token for a user.
- generateRefreshToken(User) - Method in class org.example.crmedu.infrastructure.auth.jwt.JwtProvider
-
Generates a refresh token for a user.
- getAccessClaims(String) - Method in class org.example.crmedu.infrastructure.auth.jwt.JwtProvider
-
Extracts claims from an access token.
- getAccessToken(String) - Method in interface org.example.crmedu.domain.service.jwt.JwtService
-
Retrieves access token via refresh token.
- getAccessToken(String) - Method in class org.example.crmedu.infrastructure.service.JwtServiceImpl
- getAuthorities() - Method in class org.example.crmedu.infrastructure.auth.jwt.JwtAuthentication
- getCredentials() - Method in class org.example.crmedu.infrastructure.auth.jwt.JwtAuthentication
- getDetails() - Method in class org.example.crmedu.infrastructure.auth.jwt.JwtAuthentication
- getName() - Method in class org.example.crmedu.infrastructure.auth.jwt.JwtAuthentication
- getNewAccessToken(RefreshJwtRequest) - Method in class org.example.crmedu.application.controller.AuthController
-
Updates access token and retrieves it.
- getNewRefreshToken(RefreshJwtRequest) - Method in class org.example.crmedu.application.controller.AuthController
-
Updates refresh and access token and retrieves it.
- GetOrganizationResponse - Class in org.example.crmedu.application.dto.response.organization
-
A DTO representing the response with retrieving an Organization.
- GetOrganizationResponse() - Constructor for class org.example.crmedu.application.dto.response.organization.GetOrganizationResponse
- getPrincipal() - Method in class org.example.crmedu.infrastructure.auth.jwt.JwtAuthentication
- getRefreshClaims(String) - Method in class org.example.crmedu.infrastructure.auth.jwt.JwtProvider
-
Extracts claims from a refresh token.
- GetStudentResponse - Class in org.example.crmedu.application.dto.response.student
-
A DTO representing the response after retrieving a Student.
- GetStudentResponse() - Constructor for class org.example.crmedu.application.dto.response.student.GetStudentResponse
- getStudents(int, int) - Method in interface org.example.crmedu.domain.service.student.StudentService
-
Retrieves a paginated list of students.
- getStudents(int, int) - Method in class org.example.crmedu.domain.service.student.StudentServiceImpl
- getSubject(Long) - Method in class org.example.crmedu.application.controller.SubjectController
-
Retrieves a subject by its unique identifier.
- GetSubjectResponse - Class in org.example.crmedu.application.dto.response.subject
-
A DTO representing the response when retrieving a Subject.
- GetSubjectResponse() - Constructor for class org.example.crmedu.application.dto.response.subject.GetSubjectResponse
- getSubjects(Pageable) - Method in class org.example.crmedu.application.controller.SubjectController
-
Retrieves a paginated list of subjects.
- getTutor(Long) - Method in class org.example.crmedu.application.controller.TutorController
-
Retrieves a tutor by its unique identifier.
- GetTutorResponse - Class in org.example.crmedu.application.dto.response.tutor
-
A DTO representing the response when retrieving a Tutor.
- GetTutorResponse() - Constructor for class org.example.crmedu.application.dto.response.tutor.GetTutorResponse
- getTutors(Pageable) - Method in class org.example.crmedu.application.controller.TutorController
-
Retrieves a paginates list of tutors.
- GetTutorScheduleResponse - Class in org.example.crmedu.application.dto.response.schedule
-
A DTO representing the response with retrieving a tutor schedule.
- GetTutorScheduleResponse() - Constructor for class org.example.crmedu.application.dto.response.schedule.GetTutorScheduleResponse
- getTutorSchedules(int, int, Long) - Method in interface org.example.crmedu.domain.service.schedule.TutorScheduleService
-
Retrieves a paginated list of tutor schedules.
- getTutorSchedules(int, int, Long) - Method in class org.example.crmedu.domain.service.schedule.TutorScheduleServiceImpl
- getUser(Long) - Method in class org.example.crmedu.application.controller.UserController
-
Retrieves a user by its unique identifier.
- GetUserResponse - Class in org.example.crmedu.application.dto.response.user
-
A DTO representing the response when retrieving a User.
- GetUserResponse() - Constructor for class org.example.crmedu.application.dto.response.user.GetUserResponse
- getUsers(Pageable) - Method in class org.example.crmedu.application.controller.UserController
-
Retrieves a paginates list of users.
H
- handleEntityExistsException(EntityExistsException) - Method in class org.example.crmedu.application.controller.AdviceController
-
Handles
EntityExistsException
and returns a 400 Bad Request response. - handleEntityNotFoundException(EntityNotFoundException) - Method in class org.example.crmedu.application.controller.AdviceController
-
Handles
EntityNotFoundException
and returns a 404 Not Found response. - handleMethodArgumentNotValidException(MethodArgumentNotValidException) - Method in class org.example.crmedu.application.controller.AdviceController
-
Handles a
MethodArgumentNotValidException
and returns an HTTP 400 Bad Request response. - handleTutorScheduleOverlapsException(TutorScheduleOverlapsException) - Method in class org.example.crmedu.application.controller.AdviceController
-
Handles
TutorScheduleOverlapsException
and returns a 400 Bad Request response. - hashCode() - Method in class org.example.crmedu.infrastructure.entity.OrganizationEntity
- hashCode() - Method in class org.example.crmedu.infrastructure.entity.SubjectEntity
- hashCode() - Method in class org.example.crmedu.infrastructure.entity.TutorEntity
- hashCode() - Method in class org.example.crmedu.infrastructure.entity.TutorScheduleEntity
- hashCode() - Method in class org.example.crmedu.infrastructure.entity.UserEntity
I
- idToOrganization(Long) - Method in interface org.example.crmedu.application.mapping.OrganizationDTOMapper
-
Converts the unique identifier of the organization to
Organization
model. - idToSubject(Long) - Method in interface org.example.crmedu.application.mapping.SubjectDTOMapper
-
Map
Subject
by its unique identifier. - idToUser(Long) - Method in interface org.example.crmedu.application.mapping.UserDTOMapper
-
Converts the unique identifier of the user to
User
model. - INACTIVE - Enum constant in enum class org.example.crmedu.domain.enums.StudentStatus
-
Status representing a student, that not having lessons in organization.
- isAccessTokenValid(String) - Method in class org.example.crmedu.infrastructure.auth.jwt.JwtProvider
-
Validates the given access token.
- isAuthenticated() - Method in class org.example.crmedu.infrastructure.auth.jwt.JwtAuthentication
- isRefreshTokenValid(String) - Method in class org.example.crmedu.infrastructure.auth.jwt.JwtProvider
-
Validates the given refresh token.
J
- Jwt - Class in org.example.crmedu.domain.model
-
A class representing a structure of Jwt object for specific user.
- Jwt() - Constructor for class org.example.crmedu.domain.model.Jwt
- JwtAuthentication - Class in org.example.crmedu.infrastructure.auth.jwt
-
Represents an authentication object for JWT-based security.
- JwtAuthentication() - Constructor for class org.example.crmedu.infrastructure.auth.jwt.JwtAuthentication
- JwtDTOMapper - Interface in org.example.crmedu.application.mapping
-
A mapper interface for converting between
Jwt
domain model and its corresponding DTOs. - JwtFilter - Class in org.example.crmedu.infrastructure.auth.jwt
-
JWT authentication filter that extracts and validates tokens from incoming requests.
- JwtFilter() - Constructor for class org.example.crmedu.infrastructure.auth.jwt.JwtFilter
- JwtProvider - Class in org.example.crmedu.infrastructure.auth.jwt
-
This class manages access and refresh tokens, ensuring secure authentication.
- JwtProvider(String, String) - Constructor for class org.example.crmedu.infrastructure.auth.jwt.JwtProvider
-
Initializes secret keys for JWT signing.
- JwtResponse - Class in org.example.crmedu.application.dto.response.auth
- JwtResponse() - Constructor for class org.example.crmedu.application.dto.response.auth.JwtResponse
- JwtService - Interface in org.example.crmedu.domain.service.jwt
-
Service interface for managing operations with authentication.
- JwtServiceImpl - Class in org.example.crmedu.infrastructure.service
-
This service manages user login, access token generation, and refresh token handling.
- JwtServiceImpl() - Constructor for class org.example.crmedu.infrastructure.service.JwtServiceImpl
- JwtUtils - Class in org.example.crmedu.infrastructure.auth.jwt
-
Utility class that provides methods to extract user details, such as email and role, from JWT claims.
- JwtUtils() - Constructor for class org.example.crmedu.infrastructure.auth.jwt.JwtUtils
L
- Link - Class in org.example.crmedu.domain.model
-
A class representing a link entity that contains information about site name and its link.
- Link() - Constructor for class org.example.crmedu.domain.model.Link
- login(SignInRequest) - Method in class org.example.crmedu.application.controller.AuthController
-
Sign in user.
- login(User) - Method in interface org.example.crmedu.domain.service.jwt.JwtService
-
Logs in selected user in system.
- login(User) - Method in class org.example.crmedu.infrastructure.service.JwtServiceImpl
M
- main(String[]) - Static method in class org.example.crmedu.CrmeduApplication
- MONDAY - Enum constant in enum class org.example.crmedu.domain.enums.DaysOfWeek
O
- offsetTimeToString(OffsetTime) - Method in interface org.example.crmedu.application.mapping.TutorScheduleDTOMapper
-
Converts time presented in
OffsetTime
format toString
format. - onApplicationEvent(OnRegistrationCompleteEvent) - Method in class org.example.crmedu.application.event.RegistrationListener
- OnRegistrationCompleteEvent - Class in org.example.crmedu.application.event
-
Event triggered upon successful completion of a user registration process.
- OnRegistrationCompleteEvent(User) - Constructor for class org.example.crmedu.application.event.OnRegistrationCompleteEvent
-
Creates a new
OnRegistrationCompleteEvent
. - ORG_ADMIN - Enum constant in enum class org.example.crmedu.domain.enums.Role
-
Role that has all rights and access in bounds of one organization.
- org.example.crmedu - package org.example.crmedu
- org.example.crmedu.application.controller - package org.example.crmedu.application.controller
-
Provides classes responsible for managing data at the transport layer and centralizing exception handling.
- org.example.crmedu.application.dto - package org.example.crmedu.application.dto
-
Provides Data Transfer Objects (DTOs) used for communication between different layers of the application.
- org.example.crmedu.application.dto.error - package org.example.crmedu.application.dto.error
-
Contains DTOs related to error handling in the application.
- org.example.crmedu.application.dto.request.auth - package org.example.crmedu.application.dto.request.auth
- org.example.crmedu.application.dto.request.organization - package org.example.crmedu.application.dto.request.organization
- org.example.crmedu.application.dto.request.schedule - package org.example.crmedu.application.dto.request.schedule
- org.example.crmedu.application.dto.request.student - package org.example.crmedu.application.dto.request.student
- org.example.crmedu.application.dto.request.subject - package org.example.crmedu.application.dto.request.subject
- org.example.crmedu.application.dto.request.tutor - package org.example.crmedu.application.dto.request.tutor
- org.example.crmedu.application.dto.request.user - package org.example.crmedu.application.dto.request.user
- org.example.crmedu.application.dto.response.auth - package org.example.crmedu.application.dto.response.auth
- org.example.crmedu.application.dto.response.organization - package org.example.crmedu.application.dto.response.organization
- org.example.crmedu.application.dto.response.schedule - package org.example.crmedu.application.dto.response.schedule
- org.example.crmedu.application.dto.response.student - package org.example.crmedu.application.dto.response.student
- org.example.crmedu.application.dto.response.subject - package org.example.crmedu.application.dto.response.subject
- org.example.crmedu.application.dto.response.tutor - package org.example.crmedu.application.dto.response.tutor
- org.example.crmedu.application.dto.response.user - package org.example.crmedu.application.dto.response.user
- org.example.crmedu.application.event - package org.example.crmedu.application.event
-
Manages the event-driven mechanisms within the application, enabling asynchronous processing.
- org.example.crmedu.application.mapping - package org.example.crmedu.application.mapping
-
Provides DTO mappers for converting between domain models and data transfer objects.
- org.example.crmedu.domain.enums - package org.example.crmedu.domain.enums
-
This package contains all enumerations used in the business logic of the application.
- org.example.crmedu.domain.exception - package org.example.crmedu.domain.exception
-
This package contains all exceptions that may arise in the business logic of the application.
- org.example.crmedu.domain.model - package org.example.crmedu.domain.model
-
This package contains all models used in the business logic of the application.
- org.example.crmedu.domain.repository - package org.example.crmedu.domain.repository
-
This package contains repository interfaces that define contracts for accessing domain models and performing data persistence operations.
- org.example.crmedu.domain.service.auth - package org.example.crmedu.domain.service.auth
- org.example.crmedu.domain.service.jwt - package org.example.crmedu.domain.service.jwt
- org.example.crmedu.domain.service.organization - package org.example.crmedu.domain.service.organization
- org.example.crmedu.domain.service.schedule - package org.example.crmedu.domain.service.schedule
- org.example.crmedu.domain.service.student - package org.example.crmedu.domain.service.student
- org.example.crmedu.domain.service.subject - package org.example.crmedu.domain.service.subject
- org.example.crmedu.domain.service.tutor - package org.example.crmedu.domain.service.tutor
- org.example.crmedu.domain.service.user - package org.example.crmedu.domain.service.user
- org.example.crmedu.infrastructure.auth.jwt - package org.example.crmedu.infrastructure.auth.jwt
-
This package contains classes responsible for handling JSON Web Token (JWT) authentication, including token generation, validation, and integration with Spring Security.
- org.example.crmedu.infrastructure.configuration - package org.example.crmedu.infrastructure.configuration
-
This package contains classes responsible for configuring authentication, authorization and API documentation using Swagger/OpenAPI.
- org.example.crmedu.infrastructure.entity - package org.example.crmedu.infrastructure.entity
-
This package contains JPA entities used for data persistence in the CRM system.
- org.example.crmedu.infrastructure.mapping - package org.example.crmedu.infrastructure.mapping
-
This package contains mapping classes responsible for transforming one type of object to another, typically between domain objects and data entities (and vice versa).
- org.example.crmedu.infrastructure.repository.organization - package org.example.crmedu.infrastructure.repository.organization
- org.example.crmedu.infrastructure.repository.schedule - package org.example.crmedu.infrastructure.repository.schedule
- org.example.crmedu.infrastructure.repository.student - package org.example.crmedu.infrastructure.repository.student
- org.example.crmedu.infrastructure.repository.subject - package org.example.crmedu.infrastructure.repository.subject
- org.example.crmedu.infrastructure.repository.tutor - package org.example.crmedu.infrastructure.repository.tutor
- org.example.crmedu.infrastructure.repository.user - package org.example.crmedu.infrastructure.repository.user
- org.example.crmedu.infrastructure.service - package org.example.crmedu.infrastructure.service
-
Contains service implementations that integrate business logic with framework-specific components.
- Organization - Class in org.example.crmedu.domain.model
-
A class representing an organization entity.
- Organization() - Constructor for class org.example.crmedu.domain.model.Organization
- OrganizationController - Class in org.example.crmedu.application.controller
-
REST controller for managing organizations.
- OrganizationController() - Constructor for class org.example.crmedu.application.controller.OrganizationController
- OrganizationDTOMapper - Interface in org.example.crmedu.application.mapping
-
A mapper interface for converting between Organization domain model and its corresponding DTOs.
- OrganizationEntity - Class in org.example.crmedu.infrastructure.entity
-
JPA-entity representing an organization.
- OrganizationEntity() - Constructor for class org.example.crmedu.infrastructure.entity.OrganizationEntity
- OrganizationEntityMapper - Interface in org.example.crmedu.infrastructure.mapping
-
A mapper interface for converting between Organization domain model and Organization JPA-entity.
- OrganizationRepository - Interface in org.example.crmedu.domain.repository
-
Repository class for managing
Organization
entities. - OrganizationRepositoryImpl - Class in org.example.crmedu.infrastructure.repository.organization
-
Implementation of the
OrganizationRepository
interface. - OrganizationRepositoryImpl() - Constructor for class org.example.crmedu.infrastructure.repository.organization.OrganizationRepositoryImpl
- OrganizationService - Interface in org.example.crmedu.domain.service.organization
-
Service interface for managing
Organization
entities. - OrganizationServiceImpl - Class in org.example.crmedu.domain.service.organization
-
Implementation of the
OrganizationService
interface. - OrganizationServiceImpl() - Constructor for class org.example.crmedu.domain.service.organization.OrganizationServiceImpl
- organizationToCreateResponse(Organization) - Method in interface org.example.crmedu.application.mapping.OrganizationDTOMapper
-
Converts a
Organization
model to aCreateOrganizationResponse
DTO. - organizationToGetOrganizationResponse(Organization) - Method in interface org.example.crmedu.application.mapping.OrganizationDTOMapper
-
Converts an
Organization
entity to aGetOrganizationResponse
DTO.
P
- Page<T> - Class in org.example.crmedu.domain.model
-
A class representing a paginated response.
- Page() - Constructor for class org.example.crmedu.domain.model.Page
- PageDTO<T> - Class in org.example.crmedu.application.dto
-
A DTO representing a paginated response.
- PageDTO() - Constructor for class org.example.crmedu.application.dto.PageDTO
- pageOrganizationToPageDTO(Page<Organization>) - Method in interface org.example.crmedu.application.mapping.OrganizationDTOMapper
-
Converts a paginated
Page
ofOrganization
entities to a paginatedPageDTO
ofGetOrganizationResponse
DTOs. - pageStudentToPageDtoGetTutorResponse(Page<Student>) - Method in interface org.example.crmedu.application.mapping.StudentDTOMapper
- pageSubjectToPageDTO(Page<Subject>) - Method in interface org.example.crmedu.application.mapping.SubjectDTOMapper
- pageTutorScheduleToPageDTOGetTutorSchedule(Page<TutorSchedule>) - Method in interface org.example.crmedu.application.mapping.TutorScheduleDTOMapper
-
Converts a paginated
Page
ofTutorSchedule
entities to a paginatedPageDTO
ofGetTutorScheduleResponse
DTOs. - pageTutorToPageGetResponse(Page<Tutor>) - Method in interface org.example.crmedu.application.mapping.TutorDTOMapper
- pageUserToPageGetResponse(Page<User>) - Method in interface org.example.crmedu.application.mapping.UserDTOMapper
- PasswordEncode - Interface in org.example.crmedu.domain.service.jwt
-
Component interface for define methods for encode passwords.
- PasswordEncodeImpl - Class in org.example.crmedu.infrastructure.auth.jwt
-
This class provides a secure way to encode passwords before storing them in the system.
- PasswordEncodeImpl() - Constructor for class org.example.crmedu.infrastructure.auth.jwt.PasswordEncodeImpl
- passwordEncoder() - Method in class org.example.crmedu.infrastructure.configuration.SecurityConfig
-
Provides a password encoder for hashing passwords securely.
- patchGrades(Set<Integer>, Long) - Method in interface org.example.crmedu.domain.service.tutor.TutorService
-
Updates the list of education classes that a tutor can teach.
- patchGrades(Set<Integer>, Long) - Method in class org.example.crmedu.domain.service.tutor.TutorServiceImpl
- patchSubjects(Set<Subject>, Long) - Method in interface org.example.crmedu.domain.service.tutor.TutorService
-
Updates the list of subjects that a tutor can teach.
- patchSubjects(Set<Subject>, Long) - Method in class org.example.crmedu.domain.service.tutor.TutorServiceImpl
- PatchTutorGradesRequest - Class in org.example.crmedu.application.dto.request.tutor
-
A DTO representing a request to change grades that tutor can teach.
- PatchTutorGradesRequest() - Constructor for class org.example.crmedu.application.dto.request.tutor.PatchTutorGradesRequest
- patchTutorsGradesRequestToGradesSet(PatchTutorGradesRequest) - Method in interface org.example.crmedu.application.mapping.TutorDTOMapper
-
Converts a
PatchTutorSubjectsRequest
to set of grades. - patchTutorsSubjectRequestToSubjectSet(PatchTutorSubjectsRequest, SubjectDTOMapper) - Method in interface org.example.crmedu.application.mapping.TutorDTOMapper
-
Converts a
PatchTutorSubjectsRequest
to set of subjects. - PatchTutorSubjectsRequest - Class in org.example.crmedu.application.dto.request.tutor
-
A DTO representing a request to change grades that tutor can teach.
- PatchTutorSubjectsRequest() - Constructor for class org.example.crmedu.application.dto.request.tutor.PatchTutorSubjectsRequest
- PENDING - Enum constant in enum class org.example.crmedu.domain.enums.UserStatus
-
Status representing an account, that waits of confirmation.
R
- refresh(String) - Method in interface org.example.crmedu.domain.service.jwt.JwtService
-
Updates and retrieves information about tokens via old refreshToken.
- refresh(String) - Method in class org.example.crmedu.infrastructure.service.JwtServiceImpl
- RefreshJwtRequest - Class in org.example.crmedu.application.dto.request.auth
-
A DTO representing a request to refresh access or refresh token.
- RefreshJwtRequest() - Constructor for class org.example.crmedu.application.dto.request.auth.RefreshJwtRequest
- refreshToken - Variable in class org.example.crmedu.application.dto.request.auth.RefreshJwtRequest
- RegistrationListener - Class in org.example.crmedu.application.event
-
Listens for
OnRegistrationCompleteEvent
and sends a verification email to the user. - RegistrationListener() - Constructor for class org.example.crmedu.application.event.RegistrationListener
- Role - Enum Class in org.example.crmedu.domain.enums
-
An enumeration class, representing the user roles in the system.
S
- SATURDAY - Enum constant in enum class org.example.crmedu.domain.enums.DaysOfWeek
- save(Organization) - Method in interface org.example.crmedu.domain.repository.OrganizationRepository
-
Saves a new organization or updates an existing one.
- save(Organization) - Method in class org.example.crmedu.infrastructure.repository.organization.OrganizationRepositoryImpl
- save(Student) - Method in interface org.example.crmedu.domain.repository.StudentRepository
-
Saves a new student or updates an existing one.
- save(Student) - Method in class org.example.crmedu.infrastructure.repository.student.StudentRepositoryImpl
- save(Subject) - Method in interface org.example.crmedu.domain.repository.SubjectRepository
-
Saves a new subject or updates an existing one.
- save(Subject) - Method in class org.example.crmedu.infrastructure.repository.subject.SubjectRepositoryImpl
- save(Tutor) - Method in interface org.example.crmedu.domain.repository.TutorRepository
-
Saves a new tutor or updates an existing one.
- save(Tutor) - Method in class org.example.crmedu.infrastructure.repository.tutor.TutorRepositoryImpl
- save(TutorSchedule) - Method in interface org.example.crmedu.domain.repository.TutorScheduleRepository
-
Saves a new tutor schedule or updates an existing one.
- save(TutorSchedule) - Method in class org.example.crmedu.infrastructure.repository.schedule.TutorScheduleRepositoryImpl
- save(User) - Method in interface org.example.crmedu.domain.repository.UserRepository
-
Saves a new user or updates an existing one.
- save(User) - Method in class org.example.crmedu.infrastructure.repository.user.UserRepositoryImpl
- SecurityConfig - Class in org.example.crmedu.infrastructure.configuration
-
This class defines security policies, request authorization rules, and integrates JWT filtering.
- SecurityConfig() - Constructor for class org.example.crmedu.infrastructure.configuration.SecurityConfig
- securityFilterChain(HttpSecurity) - Method in class org.example.crmedu.infrastructure.configuration.SecurityConfig
-
Defines security rules and integrates JWT authentication.
- sendMail(String, String, String) - Method in interface org.example.crmedu.domain.service.auth.EmailService
-
Sends email to specific mail-address.
- sendMail(String, String, String) - Method in class org.example.crmedu.infrastructure.service.EmailServiceImpl
- setAuthenticated(boolean) - Method in class org.example.crmedu.infrastructure.auth.jwt.JwtAuthentication
- setIdsToSetSubjects(Set<Long>) - Method in interface org.example.crmedu.application.mapping.SubjectDTOMapper
-
Map set of subject ids into set of corresponding subjects.
- setTutorScheduleEntityToSetTutorSchedule(Set<TutorScheduleEntity>) - Method in interface org.example.crmedu.infrastructure.mapping.TutorScheduleEntityMapper
-
Converts set of
TutorScheduleEntity
intoTutorSchedule
- SignInRequest - Class in org.example.crmedu.application.dto.request.auth
-
A DTO representing a request to sign in.
- SignInRequest() - Constructor for class org.example.crmedu.application.dto.request.auth.SignInRequest
- signUp(SignUpRequest) - Method in class org.example.crmedu.application.controller.AuthController
-
Sign up new user in system.
- SignUpRequest - Class in org.example.crmedu.application.dto.request.auth
-
A DTO representing a request to sign up.
- SignUpRequest() - Constructor for class org.example.crmedu.application.dto.request.auth.SignUpRequest
- SignUpResponse - Class in org.example.crmedu.application.dto.response.auth
- SignUpResponse() - Constructor for class org.example.crmedu.application.dto.response.auth.SignUpResponse
- singInRequestToUser(SignInRequest) - Method in interface org.example.crmedu.application.mapping.UserDTOMapper
-
Converts a
SignInRequest
DTO to aUser
model - singUpRequestToUser(SignUpRequest) - Method in interface org.example.crmedu.application.mapping.UserDTOMapper
-
Converts a
SignUpRequest
DTO to aUser
model - stringToOffsetTime(String) - Method in interface org.example.crmedu.application.mapping.TutorScheduleDTOMapper
-
Converts time presented in
String
format toOffsetTime
- Student - Class in org.example.crmedu.domain.model
-
A class representing a student entity.
- Student() - Constructor for class org.example.crmedu.domain.model.Student
- StudentController - Class in org.example.crmedu.application.controller
-
REST controller for managing students.
- StudentController() - Constructor for class org.example.crmedu.application.controller.StudentController
- StudentDTOMapper - Interface in org.example.crmedu.application.mapping
-
A mapper interface for converting between Student domain model and its corresponding DTOs.
- StudentEntity - Class in org.example.crmedu.infrastructure.entity
-
JPA-entity representing a Student.
- StudentEntity() - Constructor for class org.example.crmedu.infrastructure.entity.StudentEntity
- StudentEntityMapper - Interface in org.example.crmedu.infrastructure.mapping
-
A mapper interface for converting between Student domain model and Student JPA-entity.
- studentEntityToStudent(StudentEntity) - Method in interface org.example.crmedu.infrastructure.mapping.StudentEntityMapper
-
Converts a
StudentEntity
toStudent
. - StudentRepository - Interface in org.example.crmedu.domain.repository
-
Repository interface for managing
Student
entities. - StudentRepositoryImpl - Class in org.example.crmedu.infrastructure.repository.student
-
Implementation of the
StudentRepository
interface. - StudentRepositoryImpl() - Constructor for class org.example.crmedu.infrastructure.repository.student.StudentRepositoryImpl
- StudentService - Interface in org.example.crmedu.domain.service.student
-
Service interface for managing
Student
entities. - StudentServiceImpl - Class in org.example.crmedu.domain.service.student
-
Implementation of the
StudentService
interface. - StudentServiceImpl() - Constructor for class org.example.crmedu.domain.service.student.StudentServiceImpl
- StudentStatus - Enum Class in org.example.crmedu.domain.enums
-
An enumeration class, representing the student's account statuses in the organization.
- studentToCreateStudentResponse(Student) - Method in interface org.example.crmedu.application.mapping.StudentDTOMapper
-
Converts a
Student
model to aCreateStudentResponse
DTO. - studentToGetStudentResponse(Student) - Method in interface org.example.crmedu.application.mapping.StudentDTOMapper
-
Converts a
Student
domain model to aGetStudentResponse
DTO. - studentToStudentEntity(Student) - Method in interface org.example.crmedu.infrastructure.mapping.StudentEntityMapper
-
Converts a
Student
toStudentEntity
. - Subject - Class in org.example.crmedu.domain.model
-
A class representing a subject entity.
- Subject() - Constructor for class org.example.crmedu.domain.model.Subject
- SubjectController - Class in org.example.crmedu.application.controller
-
REST controller for managing subjects.
- SubjectController() - Constructor for class org.example.crmedu.application.controller.SubjectController
- SubjectDTOMapper - Interface in org.example.crmedu.application.mapping
-
A mapper interface for converting between Subject domain model and its corresponding DTOs.
- SubjectEntity - Class in org.example.crmedu.infrastructure.entity
-
JPA-entity representing a Subject.
- SubjectEntity() - Constructor for class org.example.crmedu.infrastructure.entity.SubjectEntity
- SubjectEntityMapper - Interface in org.example.crmedu.infrastructure.mapping
-
A mapper interface for converting between Subject domain model and Subject JPA-entity.
- SubjectRepository - Interface in org.example.crmedu.domain.repository
-
Repository interface for managing
Subject
entities. - SubjectRepositoryImpl - Class in org.example.crmedu.infrastructure.repository.subject
-
Implementation of the
SubjectRepository
interface using JPA. - SubjectRepositoryImpl() - Constructor for class org.example.crmedu.infrastructure.repository.subject.SubjectRepositoryImpl
- SubjectService - Interface in org.example.crmedu.domain.service.subject
-
Service interface for managing
Subject
entities. - SubjectServiceImpl - Class in org.example.crmedu.domain.service.subject
-
Implementation of the
SubjectService
interface. - SubjectServiceImpl() - Constructor for class org.example.crmedu.domain.service.subject.SubjectServiceImpl
- subjectToCreateSubjectResponse(Subject) - Method in interface org.example.crmedu.application.mapping.SubjectDTOMapper
-
Converts a
Subject
model to aCreateSubjectResponse
DTO. - subjectToGetSubjectResponse(Subject) - Method in interface org.example.crmedu.application.mapping.SubjectDTOMapper
-
Converts a
Subject
domain model to aGetSubjectResponse
DTO. - SUNDAY - Enum constant in enum class org.example.crmedu.domain.enums.DaysOfWeek
- SUPERUSER - Enum constant in enum class org.example.crmedu.domain.enums.Role
-
Role that has most rights and access.
- SwaggerConfig - Class in org.example.crmedu.infrastructure.configuration
-
This class defines the OpenAPI specification, including API metadata and security configuration for JWT-based authentication.
- SwaggerConfig() - Constructor for class org.example.crmedu.infrastructure.configuration.SwaggerConfig
- SystemError - Class in org.example.crmedu.application.dto.error
-
Represents an error response containing the message and stack trace of an exception.
- SystemError() - Constructor for class org.example.crmedu.application.dto.error.SystemError
T
- THURSDAY - Enum constant in enum class org.example.crmedu.domain.enums.DaysOfWeek
- toJwtResponse(Jwt) - Method in interface org.example.crmedu.application.mapping.JwtDTOMapper
-
Converts a
Jwt
entity to aJwtResponse
. - toOrganization(OrganizationEntity) - Method in interface org.example.crmedu.infrastructure.mapping.OrganizationEntityMapper
-
Converts an
OrganizationEntity
toOrganization
. - toOrganizationEntity(Organization) - Method in interface org.example.crmedu.infrastructure.mapping.OrganizationEntityMapper
-
Converts an
Organization
toOrganizationEntity
. - toString() - Method in class org.example.crmedu.infrastructure.auth.jwt.JwtAuthentication
- toSubject(SubjectEntity) - Method in interface org.example.crmedu.infrastructure.mapping.SubjectEntityMapper
-
Converts a
SubjectEntity
toSubject
. - toSubjectEntity(Subject) - Method in interface org.example.crmedu.infrastructure.mapping.SubjectEntityMapper
-
Converts a
Subject
toSubjectEntity
. - toTutor(TutorEntity) - Method in interface org.example.crmedu.infrastructure.mapping.TutorEntityMapper
-
Converts a
TutorEntity
toTutor
. - toTutorEntity(Tutor) - Method in interface org.example.crmedu.infrastructure.mapping.TutorEntityMapper
-
Converts a
Tutor
toTutorEntity
. - toTutorSchedule(TutorScheduleEntity) - Method in interface org.example.crmedu.infrastructure.mapping.TutorScheduleEntityMapper
-
Converts a
TutorScheduleEntity
toTutorSchedule
- toTutorScheduleEntity(TutorSchedule) - Method in interface org.example.crmedu.infrastructure.mapping.TutorScheduleEntityMapper
-
Converts a
TutorSchedule
toTutorScheduleEntity
- TUESDAY - Enum constant in enum class org.example.crmedu.domain.enums.DaysOfWeek
- Tutor - Class in org.example.crmedu.domain.model
-
A class representing a tutor entity.
- Tutor() - Constructor for class org.example.crmedu.domain.model.Tutor
- TUTOR - Enum constant in enum class org.example.crmedu.domain.enums.Role
-
Role that has right to watch the schedule of the lessons and make notes about them.
- TutorController - Class in org.example.crmedu.application.controller
-
REST controller for managing tutors.
- TutorController() - Constructor for class org.example.crmedu.application.controller.TutorController
- TutorDTOMapper - Interface in org.example.crmedu.application.mapping
-
A mapper interface for converting between Tutor domain model and its corresponding DTOs.
- TutorEntity - Class in org.example.crmedu.infrastructure.entity
-
JPA-entity representing a Tutor.
- TutorEntity() - Constructor for class org.example.crmedu.infrastructure.entity.TutorEntity
- TutorEntityMapper - Interface in org.example.crmedu.infrastructure.mapping
-
A mapper interface for converting between Tutor domain model and Tutor JPA-entity.
- TutorRepository - Interface in org.example.crmedu.domain.repository
-
Repository interface for managing
Tutor
entities. - TutorRepositoryImpl - Class in org.example.crmedu.infrastructure.repository.tutor
-
Implementation of the
TutorRepository
interface using JPA. - TutorRepositoryImpl() - Constructor for class org.example.crmedu.infrastructure.repository.tutor.TutorRepositoryImpl
- TutorSchedule - Class in org.example.crmedu.domain.model
-
A class representing a tutor schedule entity.
- TutorSchedule() - Constructor for class org.example.crmedu.domain.model.TutorSchedule
- TutorScheduleController - Class in org.example.crmedu.application.controller
-
REST controller for managing tutor's schedules.
- TutorScheduleController() - Constructor for class org.example.crmedu.application.controller.TutorScheduleController
- TutorScheduleDTOMapper - Interface in org.example.crmedu.application.mapping
-
A mapper interface for converting between TutorSchedule domain model and its corresponding DTOs.
- TutorScheduleEntity - Class in org.example.crmedu.infrastructure.entity
-
JPA-entity representing a tutor schedule.
- TutorScheduleEntity() - Constructor for class org.example.crmedu.infrastructure.entity.TutorScheduleEntity
- TutorScheduleEntityMapper - Interface in org.example.crmedu.infrastructure.mapping
-
A mapper interface for converting between Tutor schedule domain model and Tutor schedule JPA-entity.
- TutorScheduleOverlapsException - Exception Class in org.example.crmedu.domain.exception
-
Exception thrown when a new schedule period overlaps with an existing one.
- TutorScheduleOverlapsException(TutorSchedule, TutorSchedule) - Constructor for exception class org.example.crmedu.domain.exception.TutorScheduleOverlapsException
-
Constructs a new
TutorScheduleOverlapsException
with a formatted message. - TutorScheduleRepository - Interface in org.example.crmedu.domain.repository
-
Repository interface for managing
TutorSchedule
entities. - TutorScheduleRepositoryImpl - Class in org.example.crmedu.infrastructure.repository.schedule
- TutorScheduleRepositoryImpl() - Constructor for class org.example.crmedu.infrastructure.repository.schedule.TutorScheduleRepositoryImpl
- TutorScheduleService - Interface in org.example.crmedu.domain.service.schedule
-
Service interface for managing
TutorSchedule
entities. - TutorScheduleServiceImpl - Class in org.example.crmedu.domain.service.schedule
-
Implementation of the
TutorScheduleService
interface. - TutorScheduleServiceImpl() - Constructor for class org.example.crmedu.domain.service.schedule.TutorScheduleServiceImpl
- tutorScheduleToCreateTutorResponse(TutorSchedule) - Method in interface org.example.crmedu.application.mapping.TutorScheduleDTOMapper
-
Converts a
TutorSchedule
domain model toCreateTutorScheduleResponse
DTO. - tutorScheduleToGetTutorScheduleResponse(TutorSchedule) - Method in interface org.example.crmedu.application.mapping.TutorScheduleDTOMapper
-
Converts a
TutorSchedule
domain model toGetTutorScheduleResponse
DTO. - TutorService - Interface in org.example.crmedu.domain.service.tutor
-
Service interface for managing
Tutor
entities. - TutorServiceImpl - Class in org.example.crmedu.domain.service.tutor
-
Implementation of the
TutorService
interface. - TutorServiceImpl() - Constructor for class org.example.crmedu.domain.service.tutor.TutorServiceImpl
- tutorToCreateResponse(Tutor) - Method in interface org.example.crmedu.application.mapping.TutorDTOMapper
-
Converts a
Tutor
model to aCreateTutorResponse
DTO. - tutorToGetResponse(Tutor) - Method in interface org.example.crmedu.application.mapping.TutorDTOMapper
-
Converts a
Tutor
domain model to aGetTutorResponse
DTO. - tutorToId(Tutor) - Method in interface org.example.crmedu.application.mapping.TutorDTOMapper
-
Converts a
Tutor
to its unique identifier
U
- update(Organization) - Method in interface org.example.crmedu.domain.repository.OrganizationRepository
-
Updates an existing organization.
- update(Organization) - Method in class org.example.crmedu.infrastructure.repository.organization.OrganizationRepositoryImpl
- update(Organization, Long) - Method in interface org.example.crmedu.domain.service.organization.OrganizationService
-
Updates an existing organization.
- update(Organization, Long) - Method in class org.example.crmedu.domain.service.organization.OrganizationServiceImpl
- update(Student) - Method in interface org.example.crmedu.domain.repository.StudentRepository
-
Updates an existing student.
- update(Student) - Method in class org.example.crmedu.infrastructure.repository.student.StudentRepositoryImpl
- update(Subject) - Method in interface org.example.crmedu.domain.repository.SubjectRepository
-
Updates an existing subject.
- update(Subject) - Method in class org.example.crmedu.infrastructure.repository.subject.SubjectRepositoryImpl
- update(Subject, Long) - Method in interface org.example.crmedu.domain.service.subject.SubjectService
-
Updates an existing subject
- update(Subject, Long) - Method in class org.example.crmedu.domain.service.subject.SubjectServiceImpl
- update(Tutor) - Method in interface org.example.crmedu.domain.repository.TutorRepository
-
Updates an existing tutor.
- update(Tutor) - Method in class org.example.crmedu.infrastructure.repository.tutor.TutorRepositoryImpl
- update(Tutor, Long) - Method in interface org.example.crmedu.domain.service.tutor.TutorService
-
Updates an existing tutor.
- update(Tutor, Long) - Method in class org.example.crmedu.domain.service.tutor.TutorServiceImpl
- update(TutorSchedule) - Method in interface org.example.crmedu.domain.repository.TutorScheduleRepository
-
Updates an existing schedule.
- update(TutorSchedule) - Method in class org.example.crmedu.infrastructure.repository.schedule.TutorScheduleRepositoryImpl
- update(TutorSchedule, Long) - Method in interface org.example.crmedu.domain.service.schedule.TutorScheduleService
-
Updates an existing schedule.
- update(TutorSchedule, Long) - Method in class org.example.crmedu.domain.service.schedule.TutorScheduleServiceImpl
- update(User) - Method in interface org.example.crmedu.domain.repository.UserRepository
-
Updates an existing user.
- update(User) - Method in class org.example.crmedu.infrastructure.repository.user.UserRepositoryImpl
- update(User, Long) - Method in interface org.example.crmedu.domain.service.user.UserService
-
Updates an existing user.
- update(User, Long) - Method in class org.example.crmedu.domain.service.user.UserServiceImpl
- UpdateOrganizationRequest - Class in org.example.crmedu.application.dto.request.organization
-
A DTO representing the request for updating an Organization
- UpdateOrganizationRequest() - Constructor for class org.example.crmedu.application.dto.request.organization.UpdateOrganizationRequest
- updateRequestToOrganization(UpdateOrganizationRequest) - Method in interface org.example.crmedu.application.mapping.OrganizationDTOMapper
-
Converts an
UpdateOrganizationRequest
DTO to aOrganization
model. - updateRequestToSubject(UpdateSubjectRequest) - Method in interface org.example.crmedu.application.mapping.SubjectDTOMapper
-
Converts an
UpdateSubjectRequest
DTO to aSubject
model. - updateRequestToUser(UpdateTutorRequest) - Method in interface org.example.crmedu.application.mapping.TutorDTOMapper
-
Converts an
UpdateTutorRequest
DTO to aTutor
model. - updateStudent(Student, Long) - Method in interface org.example.crmedu.domain.service.student.StudentService
-
Updates an existing student
- updateStudent(Student, Long) - Method in class org.example.crmedu.domain.service.student.StudentServiceImpl
- UpdateStudentRequest - Class in org.example.crmedu.application.dto.request.student
-
A DTO representing a request to update an existing Student.
- UpdateStudentRequest() - Constructor for class org.example.crmedu.application.dto.request.student.UpdateStudentRequest
- updateStudentRequestToStudent(UpdateStudentRequest) - Method in interface org.example.crmedu.application.mapping.StudentDTOMapper
-
Converts a
UpdateStudentRequest
DTO to aStudent
domain model. - updateSubject(Long, UpdateSubjectRequest) - Method in class org.example.crmedu.application.controller.SubjectController
-
Updates an existing subject by its unique identifier.
- UpdateSubjectRequest - Class in org.example.crmedu.application.dto.request.subject
-
A DTO representing a request to update an existing Subject.
- UpdateSubjectRequest() - Constructor for class org.example.crmedu.application.dto.request.subject.UpdateSubjectRequest
- updateTutor(UpdateTutorRequest, Long) - Method in class org.example.crmedu.application.controller.TutorController
-
Updates an existing tutor by its unique identifier.
- UpdateTutorRequest - Class in org.example.crmedu.application.dto.request.tutor
-
A DTO representing a request to update Tutor.
- UpdateTutorRequest() - Constructor for class org.example.crmedu.application.dto.request.tutor.UpdateTutorRequest
- UpdateTutorScheduleRequest - Class in org.example.crmedu.application.dto.request.schedule
-
A DTO representing a request to update existing schedule.
- UpdateTutorScheduleRequest() - Constructor for class org.example.crmedu.application.dto.request.schedule.UpdateTutorScheduleRequest
- updateTutorScheduleRequestToTutorSchedule(UpdateTutorScheduleRequest) - Method in interface org.example.crmedu.application.mapping.TutorScheduleDTOMapper
-
Converts a
UpdateTutorScheduleRequest
DTO to a correspondingTutorSchedule
DTO. - updateUser(UpdateUserRequest, Long) - Method in class org.example.crmedu.application.controller.UserController
-
Updates an existing user by its unique identifier.
- UpdateUserRequest - Class in org.example.crmedu.application.dto.request.user
-
A DTO representing a request to update an existing User.
- UpdateUserRequest() - Constructor for class org.example.crmedu.application.dto.request.user.UpdateUserRequest
- updateUserRequestToUser(UpdateUserRequest) - Method in interface org.example.crmedu.application.mapping.UserDTOMapper
-
Converts an
UpdateUserRequest
DTO to aUser
model. - User - Class in org.example.crmedu.domain.model
-
A class representing user entity.
- User() - Constructor for class org.example.crmedu.domain.model.User
- USER - Enum constant in enum class org.example.crmedu.domain.enums.Role
-
Role that has no rights in the system.
- UserController - Class in org.example.crmedu.application.controller
-
REST controller for managing users.
- UserController() - Constructor for class org.example.crmedu.application.controller.UserController
- UserDTOMapper - Interface in org.example.crmedu.application.mapping
-
A mapper interface for converting between user domain model and its corresponding DTOs.
- UserEntity - Class in org.example.crmedu.infrastructure.entity
-
JPA-repository representing an User
- UserEntity() - Constructor for class org.example.crmedu.infrastructure.entity.UserEntity
- UserEntityMapper - Interface in org.example.crmedu.infrastructure.mapping
-
A mapper interface for converting between User domain model and User JPA-entity.
- userEntityToUser(UserEntity) - Method in interface org.example.crmedu.infrastructure.mapping.UserEntityMapper
-
Converts a
UserEntity
toUser
. - UserRepository - Interface in org.example.crmedu.domain.repository
-
Repository interface for managing
User
entities. - UserRepositoryImpl - Class in org.example.crmedu.infrastructure.repository.user
-
Implementation of the
UserRepository
interface using JPA. - UserRepositoryImpl() - Constructor for class org.example.crmedu.infrastructure.repository.user.UserRepositoryImpl
- UserService - Interface in org.example.crmedu.domain.service.user
-
Service interface for managing
User
entities. - UserServiceImpl - Class in org.example.crmedu.domain.service.user
-
Implementation of the
UserService
interface. - UserServiceImpl() - Constructor for class org.example.crmedu.domain.service.user.UserServiceImpl
- UserStatus - Enum Class in org.example.crmedu.domain.enums
-
An enumeration class, representing the user's account statuses in the system.
- userToCreateResponse(User) - Method in interface org.example.crmedu.application.mapping.UserDTOMapper
-
Converts a
User
model to aCreateUserResponse
DTO. - userToGetResponse(User) - Method in interface org.example.crmedu.application.mapping.UserDTOMapper
-
Converts a
User
domain model to aGetUserResponse
DTO. - userToSignUpResponse(User) - Method in interface org.example.crmedu.application.mapping.UserDTOMapper
-
Converts a
User
model to aSignUpResponse
DTO. - userToUserEntity(User) - Method in interface org.example.crmedu.infrastructure.mapping.UserEntityMapper
-
Converts a
User
toUserEntity
.
V
- ValidationErrorResponse - Class in org.example.crmedu.application.dto.error
-
Represents an error response containing a list of validation violations.
- ValidationErrorResponse() - Constructor for class org.example.crmedu.application.dto.error.ValidationErrorResponse
- valueOf(String) - Static method in enum class org.example.crmedu.domain.enums.DaysOfWeek
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.example.crmedu.domain.enums.Role
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.example.crmedu.domain.enums.StudentStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.example.crmedu.domain.enums.UserStatus
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.example.crmedu.domain.enums.DaysOfWeek
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.example.crmedu.domain.enums.Role
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.example.crmedu.domain.enums.StudentStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.example.crmedu.domain.enums.UserStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VerificationTokenService - Interface in org.example.crmedu.domain.service.auth
-
Service interface for creating verification token of the user.
- VerificationTokenServiceImpl - Class in org.example.crmedu.domain.service.auth
-
The implementation of the
VerificationTokenService
. - VerificationTokenServiceImpl() - Constructor for class org.example.crmedu.domain.service.auth.VerificationTokenServiceImpl
- verifyEmail(String) - Method in class org.example.crmedu.application.controller.AuthController
-
Verifies user via verification token.
- verifyUserByVerificationToken(String) - Method in interface org.example.crmedu.domain.service.user.UserService
-
Verifies user in system by his verification token.
- verifyUserByVerificationToken(String) - Method in class org.example.crmedu.domain.service.user.UserServiceImpl
- Violation - Class in org.example.crmedu.application.dto.error
-
Represents a single validation violation.
- Violation() - Constructor for class org.example.crmedu.application.dto.error.Violation
W
- WEDNESDAY - Enum constant in enum class org.example.crmedu.domain.enums.DaysOfWeek
All Classes and Interfaces|All Packages|Serialized Form