mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
リネーム
This commit is contained in:
parent
fb2ba1e6e5
commit
9f41632b0f
|
@ -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);
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -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;
|
Loading…
Reference in New Issue
Block a user