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:
getReportTypesin interfaceReportService- Returns:
- List
-
getReportReasons
신고 원인 조회- Specified by:
getReportReasonsin interfaceReportService- Returns:
- List
-
createReport
신고 생성- Specified by:
createReportin interfaceReportService- Parameters:
user- 사용자createReportRequest- 신고 생성 요청- Returns:
- ReportResponse
-
deleteReport
신고 삭제- Specified by:
deleteReportin interfaceReportService- Parameters:
user- 사용자reportId- 신고 ID- Returns:
- ReportResponse
-