Combineするときのタイトルをキャッシュするように

This commit is contained in:
r-ca 2024-01-28 13:09:26 +09:00
parent 0a96a9443d
commit beceec0abe
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -314,6 +314,9 @@ public class LacertaLibraryImpl implements LacertaLibrary {
ToxiDocumentEntity toxiDocumentEntity = new ToxiDocumentEntity(); ToxiDocumentEntity toxiDocumentEntity = new ToxiDocumentEntity();
toxiDocumentEntity.parentDocumentId = parentId; toxiDocumentEntity.parentDocumentId = parentId;
toxiDocumentEntity.childDocumentId = childId; toxiDocumentEntity.childDocumentId = childId;
toxiDocumentEntity.order = 0; // TODO-rca: 並び順の概念をもたせる
toxiDocumentEntity.isActive = true; // TODO-rca: タブから非表示にできるようにする
toxiDocumentEntity.titleCache = childDocumentEntity.title;
database.toxiDocumentDao().insert(toxiDocumentEntity); database.toxiDocumentDao().insert(toxiDocumentEntity);
logger.debug("LacertaLibraryImpl", "Database Query: Inserted ToxiDocumentEntity"); logger.debug("LacertaLibraryImpl", "Database Query: Inserted ToxiDocumentEntity");
return null; return null;