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); }