Package inha.git.report.api.service
Class ReportServiceImpl
java.lang.Object
inha.git.report.api.service.ReportServiceImpl
- All Implemented Interfaces:
ReportService
ReportServiceImpl은 ReportService 인터페이스를 구현.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateReport
(User user, CreateReportRequest createReportRequest) 신고 생성deleteReport
(User user, Integer reportId) 신고 삭제신고 원인 조회신고 타입 조회
-
Constructor Details
-
ReportServiceImpl
public ReportServiceImpl()
-
-
Method Details
-
getReportTypes
신고 타입 조회- Specified by:
getReportTypes
in interfaceReportService
- Returns:
- List
-
getReportReasons
신고 원인 조회- Specified by:
getReportReasons
in interfaceReportService
- Returns:
- List
-
createReport
신고 생성- Specified by:
createReport
in interfaceReportService
- Parameters:
user
- 사용자createReportRequest
- 신고 생성 요청- Returns:
- ReportResponse
-
deleteReport
신고 삭제- Specified by:
deleteReport
in interfaceReportService
- Parameters:
user
- 사용자reportId
- 신고 ID- Returns:
- ReportResponse
-