mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
必要なメソッド作成 WIP
This commit is contained in:
parent
fc1c8f66cc
commit
d5ca5ebc90
|
@ -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(() -> {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user