mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
修正
This commit is contained in:
2 files changed
+7
-8
No files matched your search
@@ -26,7 +26,7 @@ public interface LacertaVcs {
|
|||||||
|
|
||||||
public CompletableFuture<ArrayList<VcsLogModel>> getLogHistoryInRev(String revId);
|
public CompletableFuture<ArrayList<VcsLogModel>> getLogHistoryInRev(String revId);
|
||||||
|
|
||||||
public CompletableFuture<DocumentDetail> getDocumentDetailAtRev(String revId);
|
public CompletableFuture<ArrayList<String>> getDocumentPagePathListRev(String revId);
|
||||||
|
|
||||||
|
|
||||||
// debug
|
// debug
|
||||||
|
|||||||
@@ -231,12 +231,12 @@ public class LacertaVcsImpl implements LacertaVcs {
|
|||||||
return documentMeta;
|
return documentMeta;
|
||||||
}
|
}
|
||||||
|
|
||||||
private DocumentDetail applyInsertPage(DocumentDetail documentDetail, InsertPage insertPage) {
|
private ArrayList<String> applyInsertPage(ArrayList<String> fileNameList, InsertPage insertPage) {
|
||||||
// TODO-rca: 実装
|
fileNameList.add(insertPage.getIndex(), insertPage.getFileName());
|
||||||
return null;
|
return fileNameList;
|
||||||
}
|
}
|
||||||
|
|
||||||
private DocumentDetail applyUpdatePage(DocumentDetail documentDetail, UpdatePage updatePage) {
|
private ArrayList<String> applyUpdatePage(DocumentDetail documentDetail, UpdatePage updatePage) {
|
||||||
// TODO-rca: 実装
|
// TODO-rca: 実装
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@@ -247,7 +247,7 @@ public class LacertaVcsImpl implements LacertaVcs {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public CompletableFuture<DocumentDetail> getDocumentDetailAtRev(String revId) {
|
public CompletableFuture<ArrayList<String>> getDocumentPagePathListRev(String revId) {
|
||||||
return CompletableFuture.supplyAsync(() -> {
|
return CompletableFuture.supplyAsync(() -> {
|
||||||
ArrayList<VcsRevEntity> vcsRevEntities = getRevBeforeTargetId(revId);
|
ArrayList<VcsRevEntity> vcsRevEntities = getRevBeforeTargetId(revId);
|
||||||
ArrayList<VcsLogEntity> vcsLogEntities = getLogInRevs(vcsRevEntities);
|
ArrayList<VcsLogEntity> vcsLogEntities = getLogInRevs(vcsRevEntities);
|
||||||
@@ -255,8 +255,7 @@ public class LacertaVcsImpl implements LacertaVcs {
|
|||||||
DocumentDetail documentDetail = new DocumentDetail();
|
DocumentDetail documentDetail = new DocumentDetail();
|
||||||
documentDetail.setMeta(createDocumentMeta());
|
documentDetail.setMeta(createDocumentMeta());
|
||||||
|
|
||||||
// WIP
|
vcsLogEntities.
|
||||||
return null;
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user