From f9375038403a5e6c9bcf414643fbed89bea5f1a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Fri, 12 Jan 2024 10:18:04 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=A4=E3=83=B3=E3=82=BF=E3=83=95=E3=82=A7?= =?UTF-8?q?=E3=83=BC=E3=82=B9=E8=A8=AD=E8=A8=88=20WIP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/one/nem/lacerta/data/LacertaLibrary.java | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/data/src/main/java/one/nem/lacerta/data/LacertaLibrary.java b/data/src/main/java/one/nem/lacerta/data/LacertaLibrary.java index 0bc1b5e3..408a9171 100644 --- a/data/src/main/java/one/nem/lacerta/data/LacertaLibrary.java +++ b/data/src/main/java/one/nem/lacerta/data/LacertaLibrary.java @@ -3,18 +3,20 @@ package one.nem.lacerta.data; import one.nem.lacerta.model.ListItemType; import one.nem.lacerta.model.LibraryItemPage; +import one.nem.lacerta.model.document.DocumentDetail; public interface LacertaLibrary { // Get History - LibraryItemPage getRecentDocument(int limit); LibraryItemPage getRecentDocument(int limit, int offset); - LibraryItemPage getRecentDocument(int limit, int offset, ListItemType type); - - // Get List - - LibraryItemPage getDocumentList(int limit); + // Get Library page + LibraryItemPage getLibraryPage(int limit); + LibraryItemPage getLibraryPage(int limit, int offset); + LibraryItemPage getLibraryPage(String pageId, int limit); + LibraryItemPage getLibraryPage(String pageId, int limit, int offset); + // GetDocument + DocumentDetail getDocumentDetailById(String id); }