feat(geschichte): JourneyItem CRUD API — append, updateNote, delete, reorder (#751) #788

Merged
marcel merged 41 commits from feat/issue-751-journey-item-crud-api into feat/issue-750-lesereisen-data-model 2026-06-08 22:15:12 +02:00
Showing only changes of commit 73004ce49f - Show all commits

View File

@@ -1007,9 +1007,10 @@ public class DocumentService {
}
/**
* Lean document lookup for embedding in JourneyItemView. Skips
* {@code tagService.resolveEffectiveColors} — ×N items per journey GET is wasted
* work that summary consumers never read. Called within a caller-provided transaction.
* Lightweight summary lookup for internal use (e.g. journey item append validation).
* Intentionally skips scope checks and tag-colour resolution — safe only
* under the current single-tenant model where all authenticated users share
* the same document scope. Called within a caller-provided transaction.
*/
public Document getSummaryById(UUID id) {
return documentRepository.findById(id)