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 d7663ff4..430cae11 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 @@ -2,6 +2,8 @@ package one.nem.lacerta.data.impl; import java.util.ArrayList; +import javax.inject.Inject; + import one.nem.lacerta.data.Document; import one.nem.lacerta.model.document.DocumentMeta; @@ -9,9 +11,18 @@ 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.LacertaDatabase; + public class DocumentImpl implements Document{ + private LacertaDatabase database; + + @Inject + public DocumentImpl(LacertaDatabase database) { + this.database = database; + } + @Override public ArrayList getRecentDocumentMetas(int limit) {