Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
update :: GetDocument
Browse files Browse the repository at this point in the history
get top 10 삭제
  • Loading branch information
ori0o0p committed Apr 23, 2024
1 parent 89f15ac commit 2932da0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ public Flux<DocumentSearchResult> searchDocumentContent(String text, PagingInfo
return findDocumentPort.searchDocumentContent(text, pagingInfo);
}

@Override
public Flux<SimpleDocumentResponse> getDocumentMostRevisionTop10() {
return findDocumentPort.getDocumentTop10()
.map(SimpleDocumentResponse::of);
}

@Override
public Flux<SimpleDocumentResponse> getDocumentsMostRevision(PagingInfo pagingInfo) {
return findDocumentPort.getDocumentMostRevision(pagingInfo).map(SimpleDocumentResponse::of);
Expand All @@ -70,10 +64,4 @@ public Flux<GetMostViewDocumentResponse> getDocumentOrderByView(PagingInfo pagin
return findDocumentPort.getDocumentOrderByView(pagingInfo).map(GetMostViewDocumentResponse::of);
}

@Override
public Flux<GetMostViewDocumentResponse> getDocumentOrderByViewTop10() {
return findDocumentPort.getDocumentOrderByViewTop10()
.map(GetMostViewDocumentResponse::of);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ public interface GetDocumentUsecase {
Flux<DocumentSearchResult> searchDocument(String text, PagingInfo pagingInfo);
Flux<DocumentSearchResult> searchDocumentTitle(String text, PagingInfo pagingInfo);
Flux<DocumentSearchResult> searchDocumentContent(String text, PagingInfo pagingInfo);
Flux<SimpleDocumentResponse> getDocumentMostRevisionTop10();
Flux<SimpleDocumentResponse> getDocumentsMostRevision(PagingInfo pagingInfo);
Flux<GetMostViewDocumentResponse> getDocumentOrderByView(PagingInfo pagingInfo);
Flux<GetMostViewDocumentResponse> getDocumentOrderByViewTop10();

}

0 comments on commit 2932da0

Please sign in to comment.