Package inha.git.statistics.api.service
Class StatisticsServiceImpl
java.lang.Object
inha.git.statistics.api.service.StatisticsServiceImpl
- All Implemented Interfaces:
StatisticsService
@Service
@Transactional
public class StatisticsServiceImpl
extends Object
implements StatisticsService
StatisticsServiceImpl은 통계 관련 비즈니스 로직을 처리한다.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
adjustCount
(User user, List<Field> fields, Semester semester, Category category, Integer type, boolean isIncrease) 사용자 통계 정보를 증가시킨다.단과대별 학기별 통계를 조회한다.특허 통계 정보를 조회한다.getProjectStatistics
(SearchCond searchCond) 프로젝트 통계 정보를 조회한다.getQuestionStatistics
(SearchCond searchCond) 질문 통계 정보를 조회한다.
-
Constructor Details
-
StatisticsServiceImpl
public StatisticsServiceImpl()
-
-
Method Details
-
adjustCount
@Transactional public void adjustCount(User user, List<Field> fields, Semester semester, Category category, Integer type, boolean isIncrease) 사용자 통계 정보를 증가시킨다.- Specified by:
adjustCount
in interfaceStatisticsService
- Parameters:
user
- Usertype
- Integer
-
getProjectStatistics
@Transactional(readOnly=true) public ProjectStatisticsResponse getProjectStatistics(SearchCond searchCond) 프로젝트 통계 정보를 조회한다.- Specified by:
getProjectStatistics
in interfaceStatisticsService
- Parameters:
searchCond
- ProjectSearchCond- Returns:
- ProjectStatisticsResponse
-
getQuestionStatistics
질문 통계 정보를 조회한다.- Specified by:
getQuestionStatistics
in interfaceStatisticsService
- Parameters:
searchCond
- SearchCond- Returns:
- QuestionStatisticsResponse
-
getBatchStatistics
단과대별 학기별 통계를 조회한다.- Specified by:
getBatchStatistics
in interfaceStatisticsService
- Returns:
- List
-
getPatentStatistics
특허 통계 정보를 조회한다.- Specified by:
getPatentStatistics
in interfaceStatisticsService
- Returns:
- List
-