Package inha.git.admin.api.controller
Class AdminSearchController
java.lang.Object
inha.git.admin.api.controller.AdminSearchController
AdminApproveController는 관리자 전용 계정 승인 관련 엔드포인트를 처리.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBaseResponse<org.springframework.data.domain.Page<SearchBugReportsResponse>>
getAdminBugReports
(User user, SearchBugReportCond searchBugReportCond, Integer page) 버그 제보 조회 APIBaseResponse<org.springframework.data.domain.Page<SearchCompanyResponse>>
getAdminCompanies
(User user, String search, Integer page) 관리자 전용 기업 검색 APIBaseResponse<org.springframework.data.domain.Page<SearchProfessorResponse>>
getAdminProfessors
(User user, String search, Integer page) 관리자 전용 교수 검색 APIBaseResponse<org.springframework.data.domain.Page<SearchReportResponse>>
getAdminReports
(User user, SearchReportCond searchReportCond, Integer page) 신고 조회 APIBaseResponse<org.springframework.data.domain.Page<SearchStudentResponse>>
getAdminStudents
(User user, String search, Integer page) 관리자 전용 학생 검색 APIgetAdminUser
(User user, Integer userIdx) 특정 유저 조회 APIBaseResponse<org.springframework.data.domain.Page<SearchUserResponse>>
getAdminUsers
(User user, String search, Integer page) 관리자 전용 유저 검색 API
-
Constructor Details
-
AdminSearchController
public AdminSearchController()
-
-
Method Details
-
getAdminUsers
@GetMapping("/users") public BaseResponse<org.springframework.data.domain.Page<SearchUserResponse>> getAdminUsers(@AuthenticationPrincipal User user, @RequestParam(value="search",required=false) String search, @RequestParam("page") Integer page) 관리자 전용 유저 검색 API관리자 전용 유저 검색 API입니다.
- Parameters:
search
- 검색어page
- 페이지 번호- Returns:
- 검색된 유저 정보를 포함하는 BaseResponse<Page
>
-
getAdminStudents
@GetMapping("/students") public BaseResponse<org.springframework.data.domain.Page<SearchStudentResponse>> getAdminStudents(@AuthenticationPrincipal User user, @RequestParam(value="search",required=false) String search, @RequestParam("page") Integer page) 관리자 전용 학생 검색 API관리자 전용 학생 검색 API입니다.
- Parameters:
search
- 검색어page
- 페이지 번호- Returns:
- 검색된 학생 정보를 포함하는 BaseResponse<Page
>
-
getAdminProfessors
@GetMapping("/professors") public BaseResponse<org.springframework.data.domain.Page<SearchProfessorResponse>> getAdminProfessors(@AuthenticationPrincipal User user, @RequestParam(value="search",required=false) String search, @RequestParam("page") Integer page) 관리자 전용 교수 검색 API관리자 전용 교수 검색 API입니다.
- Parameters:
search
- 검색어page
- 페이지 번호- Returns:
- 검색된 교수 정보를 포함하는 BaseResponse<Page
>
-
getAdminCompanies
@GetMapping("/companies") public BaseResponse<org.springframework.data.domain.Page<SearchCompanyResponse>> getAdminCompanies(@AuthenticationPrincipal User user, @RequestParam(value="search",required=false) String search, @RequestParam("page") Integer page) 관리자 전용 기업 검색 API관리자 전용 기업 검색 API입니다.
- Parameters:
search
- 검색어page
- 페이지 번호- Returns:
- 검색된 회사 정보를 포함하는 BaseResponse<Page
>
-
getAdminUser
@GetMapping("/users/{userIdx}") public BaseResponse<SearchUserResponse> getAdminUser(@AuthenticationPrincipal User user, @PathVariable("userIdx") Integer userIdx) 특정 유저 조회 API특정 유저를 조회.
- Parameters:
userIdx
- 유저 인덱스- Returns:
- 특정 유저 조회 결과를 포함하는 BaseResponse
-
getAdminReports
@GetMapping("/report") public BaseResponse<org.springframework.data.domain.Page<SearchReportResponse>> getAdminReports(@AuthenticationPrincipal User user, @Validated @ModelAttribute SearchReportCond searchReportCond, @RequestParam("page") Integer page) 신고 조회 API신고 조회 API입니다.
- Parameters:
searchReportCond
- 신고 검색 조건page
- 페이지 번호- Returns:
- 검색된 신고 정보를 포함하는 BaseResponse<Page
>
-
getAdminBugReports
@GetMapping("/bug-report") public BaseResponse<org.springframework.data.domain.Page<SearchBugReportsResponse>> getAdminBugReports(@AuthenticationPrincipal User user, @Validated @ModelAttribute SearchBugReportCond searchBugReportCond, @RequestParam("page") Integer page) 버그 제보 조회 API버그 제보 조회 API입니다.
- Parameters:
searchBugReportCond
- 버그 제보 검색 조건page
- 페이지 번호- Returns:
- 검색된 버그 제보 정보를 포함하는 BaseResponse<Page
>
-