リネーム

This commit is contained in:
ろむねこ 2024-01-12 09:56:18 +09:00
parent fb2ba1e6e5
commit 9f41632b0f
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168
2 changed files with 7 additions and 10 deletions

View File

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

View File

@ -2,13 +2,13 @@ package one.nem.lacerta.model;
import java.util.ArrayList;
public class LibraryItemList {
public class LibraryItemPage {
String pageTitle;
String pageId;
ArrayList<ListItem> listItems;
public LibraryItemList(String pageTitle, String pageId, ArrayList<ListItem> listItems) {
public LibraryItemPage(String pageTitle, String pageId, ArrayList<ListItem> listItems) {
this.pageTitle = pageTitle;
this.pageId = pageId;
this.listItems = listItems;