From 1e3565405e841a1dad6b8b057fece989d8aac782 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Thu, 14 Dec 2023 10:40:25 +0900 Subject: [PATCH] =?UTF-8?q?data:=20Document=E3=83=AA=E3=83=9D=E3=82=B8?= =?UTF-8?q?=E3=83=88=E3=83=AA=E3=81=AE=E3=82=A4=E3=83=B3=E3=82=BF=E3=83=BC?= =?UTF-8?q?=E3=83=95=E3=82=A7=E3=83=BC=E3=82=B9WIP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/one/nem/lacerta/data/Document.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/data/src/main/java/one/nem/lacerta/data/Document.java b/data/src/main/java/one/nem/lacerta/data/Document.java index 4d966c1e..36d2d2eb 100644 --- a/data/src/main/java/one/nem/lacerta/data/Document.java +++ b/data/src/main/java/one/nem/lacerta/data/Document.java @@ -1,4 +1,22 @@ 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 { + + ArrayList getRecentDocumentMetas(int limit); + + ArrayList getRecentDocumentMetas(int limit, int offset); + + // ドキュメント詳細取得 + DocumentDetail getDocumentDetail(String id); + DocumentDetail getDocumentDetailByMeta(DocumentMeta meta); // 簡単に使えるように + + + }