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); }