diff --git a/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java b/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java index 6d89bb2f..b6b4aa8e 100644 --- a/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java +++ b/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java @@ -229,7 +229,15 @@ public class LacertaLibraryImpl implements LacertaLibrary { @Override public CompletableFuture> getTagList() { - return null; + return CompletableFuture.supplyAsync(() -> { + List tagEntities = database.tagDao().findAll(); + logger.debug("LacertaLibraryImpl", "Database Query: Get TagEntity List (Size: " + tagEntities.size() + ")"); + ArrayList documentTags = new ArrayList<>(); + for (TagEntity tagEntity : tagEntities) { + documentTags.add(convertTagEntityToDocumentTag(tagEntity)); + } + return documentTags; + }); } @Override