diff --git a/daemawiki-service/src/main/java/org/daemawiki/domain/document/service/GetDocumentService.java b/daemawiki-service/src/main/java/org/daemawiki/domain/document/service/GetDocumentService.java index 5e35abcb..3725c446 100644 --- a/daemawiki-service/src/main/java/org/daemawiki/domain/document/service/GetDocumentService.java +++ b/daemawiki-service/src/main/java/org/daemawiki/domain/document/service/GetDocumentService.java @@ -54,12 +54,6 @@ public Flux searchDocumentContent(String text, PagingInfo return findDocumentPort.searchDocumentContent(text, pagingInfo); } - @Override - public Flux getDocumentMostRevisionTop10() { - return findDocumentPort.getDocumentTop10() - .map(SimpleDocumentResponse::of); - } - @Override public Flux getDocumentsMostRevision(PagingInfo pagingInfo) { return findDocumentPort.getDocumentMostRevision(pagingInfo).map(SimpleDocumentResponse::of); @@ -70,10 +64,4 @@ public Flux getDocumentOrderByView(PagingInfo pagin return findDocumentPort.getDocumentOrderByView(pagingInfo).map(GetMostViewDocumentResponse::of); } - @Override - public Flux getDocumentOrderByViewTop10() { - return findDocumentPort.getDocumentOrderByViewTop10() - .map(GetMostViewDocumentResponse::of); - } - } diff --git a/daemawiki-service/src/main/java/org/daemawiki/domain/document/usecase/GetDocumentUsecase.java b/daemawiki-service/src/main/java/org/daemawiki/domain/document/usecase/GetDocumentUsecase.java index f83014a3..2e0a2274 100644 --- a/daemawiki-service/src/main/java/org/daemawiki/domain/document/usecase/GetDocumentUsecase.java +++ b/daemawiki-service/src/main/java/org/daemawiki/domain/document/usecase/GetDocumentUsecase.java @@ -14,9 +14,7 @@ public interface GetDocumentUsecase { Flux searchDocument(String text, PagingInfo pagingInfo); Flux searchDocumentTitle(String text, PagingInfo pagingInfo); Flux searchDocumentContent(String text, PagingInfo pagingInfo); - Flux getDocumentMostRevisionTop10(); Flux getDocumentsMostRevision(PagingInfo pagingInfo); Flux getDocumentOrderByView(PagingInfo pagingInfo); - Flux getDocumentOrderByViewTop10(); }