mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
インタフェース設計 WIP
This commit is contained in:
parent
9f41632b0f
commit
f937503840
|
@ -3,18 +3,20 @@ package one.nem.lacerta.data;
|
||||||
import one.nem.lacerta.model.ListItemType;
|
import one.nem.lacerta.model.ListItemType;
|
||||||
|
|
||||||
import one.nem.lacerta.model.LibraryItemPage;
|
import one.nem.lacerta.model.LibraryItemPage;
|
||||||
|
import one.nem.lacerta.model.document.DocumentDetail;
|
||||||
|
|
||||||
public interface LacertaLibrary {
|
public interface LacertaLibrary {
|
||||||
|
|
||||||
// Get History
|
// Get History
|
||||||
|
|
||||||
LibraryItemPage getRecentDocument(int limit);
|
LibraryItemPage getRecentDocument(int limit);
|
||||||
LibraryItemPage getRecentDocument(int limit, int offset);
|
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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user