mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
修正
This commit is contained in:
parent
85dba22f57
commit
3c237d3751
|
@ -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;
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user