data: DocumentリポジトリのインターフェースWIP

This commit is contained in:
ろむねこ 2023-12-14 10:40:25 +09:00
parent 24433528dc
commit 1e3565405e
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -1,4 +1,22 @@
package one.nem.lacerta.data; package one.nem.lacerta.data;
import java.util.ArrayList;
import one.nem.lacerta.model.document.DocumentMeta;
import one.nem.lacerta.model.document.DocumentDetail;
import one.nem.lacerta.model.document.path.DocumentPath;
import one.nem.lacerta.model.document.tag.DocumentTag;
public interface Document { public interface Document {
ArrayList<DocumentMeta> getRecentDocumentMetas(int limit);
ArrayList<DocumentMeta> getRecentDocumentMetas(int limit, int offset);
// ドキュメント詳細取得
DocumentDetail getDocumentDetail(String id);
DocumentDetail getDocumentDetailByMeta(DocumentMeta meta); // 簡単に使えるように
} }