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

Commit

Permalink
Merge pull request #8 from daemawiki/develop
Browse files Browse the repository at this point in the history
update
  • Loading branch information
ori0o0p authored Apr 23, 2024
2 parents af5bb91 + 2932da0 commit a6b2866
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 a6b2866

Please sign in to comment.