From d5ca5ebc904129563efa409502da9f619426fffb Mon Sep 17 00:00:00 2001 From: r-ca Date: Wed, 24 Jan 2024 16:21:27 +0900 Subject: [PATCH] =?UTF-8?q?=E5=BF=85=E8=A6=81=E3=81=AA=E3=83=A1=E3=82=BD?= =?UTF-8?q?=E3=83=83=E3=83=89=E4=BD=9C=E6=88=90=20WIP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nem/lacerta/vcs/impl/LacertaVcsImpl.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/vcs/src/main/java/one/nem/lacerta/vcs/impl/LacertaVcsImpl.java b/vcs/src/main/java/one/nem/lacerta/vcs/impl/LacertaVcsImpl.java index a9fd0709..be7e7722 100644 --- a/vcs/src/main/java/one/nem/lacerta/vcs/impl/LacertaVcsImpl.java +++ b/vcs/src/main/java/one/nem/lacerta/vcs/impl/LacertaVcsImpl.java @@ -22,7 +22,9 @@ import one.nem.lacerta.utils.LacertaLogger; import one.nem.lacerta.vcs.ActionType; import one.nem.lacerta.vcs.LacertaVcs; import one.nem.lacerta.vcs.internal.JsonUtils; +import one.nem.lacerta.vcs.model.action.DeletePage; import one.nem.lacerta.vcs.model.action.InsertPage; +import one.nem.lacerta.vcs.model.action.UpdatePage; public class LacertaVcsImpl implements LacertaVcs { @@ -229,6 +231,21 @@ public class LacertaVcsImpl implements LacertaVcs { return documentMeta; } + private DocumentDetail applyInsertPage(DocumentDetail documentDetail, InsertPage insertPage) { + // TODO-rca: 実装 + return null; + } + + private DocumentDetail applyUpdatePage(DocumentDetail documentDetail, UpdatePage updatePage) { + // TODO-rca: 実装 + return null; + } + + private DocumentDetail applyDeletePage(DocumentDetail documentDetail, DeletePage deletePage) { + // TODO-rca: 実装 + return null; + } + @Override public CompletableFuture getDocumentDetailAtRev(String revId) { return CompletableFuture.supplyAsync(() -> {