From c12319e103e72bb9bf1fd0a485379168c0c41c2d 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:49:23 +0900 Subject: [PATCH] WIP --- .../java/one/nem/lacerta/data/impl/DocumentImpl.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/data/src/main/java/one/nem/lacerta/data/impl/DocumentImpl.java b/data/src/main/java/one/nem/lacerta/data/impl/DocumentImpl.java index 430cae11..117e0c88 100644 --- a/data/src/main/java/one/nem/lacerta/data/impl/DocumentImpl.java +++ b/data/src/main/java/one/nem/lacerta/data/impl/DocumentImpl.java @@ -11,6 +11,8 @@ import one.nem.lacerta.model.document.DocumentDetail; import one.nem.lacerta.model.document.path.DocumentPath; import one.nem.lacerta.model.document.tag.DocumentTag; +import one.nem.lacerta.source.database.entity.Document; + import one.nem.lacerta.source.database.LacertaDatabase; @@ -26,7 +28,9 @@ public class DocumentImpl implements Document{ @Override public ArrayList getRecentDocumentMetas(int limit) { - return null; +// ArrayList documentMetas = new ArrayList<>(); +// database.documentDao(). + // TODO-rca: 履歴取得するDao実装する } @Override @@ -36,7 +40,8 @@ public class DocumentImpl implements Document{ @Override public DocumentDetail getDocumentDetail(String id) { - return null; + DocumentDetail documentDetail = new DocumentDetail(); + } @Override