必要なメソッド作成 WIP

This commit is contained in:
r-ca 2024-01-24 16:21:27 +09:00
parent fc1c8f66cc
commit d5ca5ebc90
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -22,7 +22,9 @@ import one.nem.lacerta.utils.LacertaLogger;
import one.nem.lacerta.vcs.ActionType; import one.nem.lacerta.vcs.ActionType;
import one.nem.lacerta.vcs.LacertaVcs; import one.nem.lacerta.vcs.LacertaVcs;
import one.nem.lacerta.vcs.internal.JsonUtils; 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.InsertPage;
import one.nem.lacerta.vcs.model.action.UpdatePage;
public class LacertaVcsImpl implements LacertaVcs { public class LacertaVcsImpl implements LacertaVcs {
@ -229,6 +231,21 @@ public class LacertaVcsImpl implements LacertaVcs {
return documentMeta; 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 @Override
public CompletableFuture<DocumentDetail> getDocumentDetailAtRev(String revId) { public CompletableFuture<DocumentDetail> getDocumentDetailAtRev(String revId) {
return CompletableFuture.supplyAsync(() -> { return CompletableFuture.supplyAsync(() -> {