Class ProfessorServiceImpl

java.lang.Object
inha.git.user.api.service.ProfessorServiceImpl
All Implemented Interfaces:
ProfessorService

@Service @Transactional(readOnly=true) public class ProfessorServiceImpl extends Object implements ProfessorService
교수 관련 비즈니스 로직을 처리하는 서비스 구현체입니다. 교수 회원가입과 관련된 도메인 로직을 수행합니다.
  • Constructor Details

    • ProfessorServiceImpl

      public ProfessorServiceImpl()
  • Method Details

    • getProfessorStudents

      public org.springframework.data.domain.Page<SearchStudentResponse> getProfessorStudents(String search, Integer page)
      교수 학생 조회
      Specified by:
      getProfessorStudents in interface ProfessorService
      Parameters:
      search - 검색어
      page - 페이지
      Returns:
      학생 목록
    • professorSignup

      @Transactional public ProfessorSignupResponse professorSignup(ProfessorSignupRequest professorSignupRequest)
      교수 회원가입을 처리합니다.
      Specified by:
      professorSignup in interface ProfessorService
      Parameters:
      professorSignupRequest - 교수 회원가입 요청 정보 (이메일, 비밀번호, 이름, 사번, 학과 정보)
      Returns:
      ProfessorSignupResponse 가입된 교수 정보를 포함한 응답
      Throws:
      BaseException - 다음의 경우에 발생: - INVALID_EMAIL_DOMAIN: 유효하지 않은 이메일 도메인 - EMAIL_AUTH_NOT_FOUND: 이메일 인증이 완료되지 않은 경우 - DEPARTMENT_NOT_FOUND: 존재하지 않는 학과인 경우