Class ProjectQueryServiceImpl
java.lang.Object
inha.git.project.api.service.query.ProjectQueryServiceImpl
- All Implemented Interfaces:
ProjectQueryService
@Service
@Transactional(readOnly=true)
public class ProjectQueryServiceImpl
extends Object
implements ProjectQueryService
ProjectQueryServiceImpl는 프로젝트 조회 관련 비즈니스 로직을 처리.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<org.springframework.core.io.Resource>downloadProjectFile(User user, Integer projectIdx, String path) extractFileContent(Path filePath) org.springframework.data.domain.Page<SearchProjectsResponse>getCondProjects(SearchProjectCond searchProjectCond, Integer page, Integer size) 프로젝트 조건 조회getProject(User user, Integer projectIdx) 프로젝트 상세 조회getProjectFileByIdx(User user, Integer projectIdx, String path) 프로젝트 파일 조회
-
Constructor Details
-
ProjectQueryServiceImpl
public ProjectQueryServiceImpl()
-
-
Method Details
-
getCondProjects
public org.springframework.data.domain.Page<SearchProjectsResponse> getCondProjects(SearchProjectCond searchProjectCond, Integer page, Integer size) 프로젝트 조건 조회- Specified by:
getCondProjectsin interfaceProjectQueryService- Parameters:
searchProjectCond- 검색 조건page- 페이지 번호size- 페이지 사이즈- Returns:
- 검색된 프로젝트 정보 페이지
-
getProject
프로젝트 상세 조회- Specified by:
getProjectin interfaceProjectQueryService- Parameters:
user- 사용자 정보projectIdx- 프로젝트 번호- Returns:
- 프로젝트 상세 정보
-
getProjectFileByIdx
프로젝트 파일 조회- Specified by:
getProjectFileByIdxin interfaceProjectQueryService- Parameters:
projectIdx- 프로젝트 번호path- 파일 경로- Returns:
- 프로젝트 파일 정보
-
extractFileContent
- Throws:
IOException
-
downloadProjectFile
public org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> downloadProjectFile(User user, Integer projectIdx, String path) - Specified by:
downloadProjectFilein interfaceProjectQueryService
-