From 512ac0b77523503c1b024f20a7cf8681c1a9becc 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, 25 Jan 2024 15:52:06 +0900 Subject: [PATCH] =?UTF-8?q?Tag=E7=B3=BB=E3=82=A4=E3=83=B3=E3=82=BF?= =?UTF-8?q?=E3=83=95=E3=82=A7=E3=83=BC=E3=82=B9=E4=BD=9C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/one/nem/lacerta/data/LacertaLibrary.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/data/src/main/java/one/nem/lacerta/data/LacertaLibrary.java b/data/src/main/java/one/nem/lacerta/data/LacertaLibrary.java index 51a236c5..19cd9b34 100644 --- a/data/src/main/java/one/nem/lacerta/data/LacertaLibrary.java +++ b/data/src/main/java/one/nem/lacerta/data/LacertaLibrary.java @@ -9,6 +9,7 @@ import one.nem.lacerta.model.ListItemType; import one.nem.lacerta.model.LibraryItemPage; import one.nem.lacerta.model.PublicPath; import one.nem.lacerta.model.document.DocumentDetail; +import one.nem.lacerta.model.document.tag.DocumentTag; public interface LacertaLibrary { @@ -29,4 +30,17 @@ public interface LacertaLibrary { // Get Public Path CompletableFuture getPublicPath(String itemId, ListItemType itemType); + + // Tag + CompletableFuture> getTagList(); + + CompletableFuture createTag(DocumentTag tag); + + CompletableFuture updateTag(DocumentTag tag); + + CompletableFuture deleteTag(String tagId); + + CompletableFuture addTagToDocument(String documentId, String tagId); + + CompletableFuture removeTagFromDocument(String documentId, String tagId); }