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 2a5f810b..0bc1b5e3 100644 --- a/data/src/main/java/one/nem/lacerta/data/LacertaLibrary.java +++ b/data/src/main/java/one/nem/lacerta/data/LacertaLibrary.java @@ -1,23 +1,20 @@ package one.nem.lacerta.data; -import java.util.ArrayList; - -import one.nem.lacerta.model.ListItem; import one.nem.lacerta.model.ListItemType; -import one.nem.lacerta.model.LibraryItemList; +import one.nem.lacerta.model.LibraryItemPage; public interface LacertaLibrary { // Get History - LibraryItemList getRecentDocument(int limit); - LibraryItemList getRecentDocument(int limit, int offset); - LibraryItemList getRecentDocument(int limit, int offset, ListItemType type); + LibraryItemPage getRecentDocument(int limit); + LibraryItemPage getRecentDocument(int limit, int offset); + LibraryItemPage getRecentDocument(int limit, int offset, ListItemType type); // Get List - LibraryItemList getDocumentList(int limit); + LibraryItemPage getDocumentList(int limit); } diff --git a/model/src/main/java/one/nem/lacerta/model/LibraryItemList.java b/model/src/main/java/one/nem/lacerta/model/LibraryItemPage.java similarity index 83% rename from model/src/main/java/one/nem/lacerta/model/LibraryItemList.java rename to model/src/main/java/one/nem/lacerta/model/LibraryItemPage.java index c6727a29..aed41a09 100644 --- a/model/src/main/java/one/nem/lacerta/model/LibraryItemList.java +++ b/model/src/main/java/one/nem/lacerta/model/LibraryItemPage.java @@ -2,13 +2,13 @@ package one.nem.lacerta.model; import java.util.ArrayList; -public class LibraryItemList { +public class LibraryItemPage { String pageTitle; String pageId; ArrayList listItems; - public LibraryItemList(String pageTitle, String pageId, ArrayList listItems) { + public LibraryItemPage(String pageTitle, String pageId, ArrayList listItems) { this.pageTitle = pageTitle; this.pageId = pageId; this.listItems = listItems;