mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
リネーム
This commit is contained in:
2 files changed
+7
-10
No files matched your search
@@ -1,23 +1,20 @@
|
|||||||
package one.nem.lacerta.data;
|
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.ListItemType;
|
||||||
|
|
||||||
import one.nem.lacerta.model.LibraryItemList;
|
import one.nem.lacerta.model.LibraryItemPage;
|
||||||
|
|
||||||
public interface LacertaLibrary {
|
public interface LacertaLibrary {
|
||||||
|
|
||||||
// Get History
|
// Get History
|
||||||
|
|
||||||
LibraryItemList getRecentDocument(int limit);
|
LibraryItemPage getRecentDocument(int limit);
|
||||||
LibraryItemList getRecentDocument(int limit, int offset);
|
LibraryItemPage getRecentDocument(int limit, int offset);
|
||||||
LibraryItemList getRecentDocument(int limit, int offset, ListItemType type);
|
LibraryItemPage getRecentDocument(int limit, int offset, ListItemType type);
|
||||||
|
|
||||||
// Get List
|
// Get List
|
||||||
|
|
||||||
LibraryItemList getDocumentList(int limit);
|
LibraryItemPage getDocumentList(int limit);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
+2
-2
@@ -2,13 +2,13 @@ package one.nem.lacerta.model;
|
|||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
public class LibraryItemList {
|
public class LibraryItemPage {
|
||||||
|
|
||||||
String pageTitle;
|
String pageTitle;
|
||||||
String pageId;
|
String pageId;
|
||||||
ArrayList<ListItem> listItems;
|
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.pageTitle = pageTitle;
|
||||||
this.pageId = pageId;
|
this.pageId = pageId;
|
||||||
this.listItems = listItems;
|
this.listItems = listItems;
|
||||||
Reference in new issue
Block a user