インタフェース設計 WIP

This commit is contained in:
ろむねこ 2024-01-12 10:18:04 +09:00
parent 9f41632b0f
commit f937503840
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -3,18 +3,20 @@ package one.nem.lacerta.data;
import one.nem.lacerta.model.ListItemType;
import one.nem.lacerta.model.LibraryItemPage;
import one.nem.lacerta.model.document.DocumentDetail;
public interface LacertaLibrary {
// Get History
LibraryItemPage getRecentDocument(int limit);
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);
}