Class ProjectQueryRepository
java.lang.Object
inha.git.project.domain.repository.ProjectQueryRepository
프로젝트 조회 관련 레포지토리
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Page<SearchProjectsResponse>
getCondProjects
(SearchProjectCond searchProjectCond, org.springframework.data.domain.Pageable pageable) 조건에 따른 프로젝트 목록 조회org.springframework.data.domain.Page<SearchProjectsResponse>
getUserProjects
(Integer id, org.springframework.data.domain.Pageable pageable) 특정 유저의 프로젝트 목록 조회
-
Constructor Details
-
ProjectQueryRepository
public ProjectQueryRepository()
-
-
Method Details
-
getUserProjects
public org.springframework.data.domain.Page<SearchProjectsResponse> getUserProjects(Integer id, org.springframework.data.domain.Pageable pageable) 특정 유저의 프로젝트 목록 조회- Parameters:
id
- 유저 IDpageable
- 페이지 정보- Returns:
- 프로젝트 페이지
-
getCondProjects
public org.springframework.data.domain.Page<SearchProjectsResponse> getCondProjects(SearchProjectCond searchProjectCond, org.springframework.data.domain.Pageable pageable) 조건에 따른 프로젝트 목록 조회- Parameters:
searchProjectCond
- 검색 조건pageable
- 페이지 정보- Returns:
- 프로젝트 페이지
-