Room-Datenbank & DAOs #18
Labels
No labels
block-planning
bug
documentation
duplicate
enhancement
feature
good first issue
help wanted
infrastructure
invalid
planning
priority:high
priority:low
question
refactoring
status:backlog
status:done
status:in-progress
status:todo
tech-decision
test
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: bollwerkadmin/bollwerk#18
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Feature: Room-Datenbank & DAOs
Part of: #5
Depends on: #17
Ziel
KrisenvorratDatabase und alle vier DAOs (CategoryDao, LocationDao, ItemDao, SettingsDao) sind implementiert mit vollständigem CRUD und Flow-Queries.
Scope
KrisenvorratDatabase: RoomDatabase-Klasse, version=1, alle Entities + TypeConverter registriertCategoryDao: insert, update, delete, getAll(): Flow<List>, getById()LocationDao: insert, update, delete, getAll(): Flow<List>, getById()ItemDao: insert, update, delete, getAll(): Flow<List>, getById(), getByCategory(), getByLocation(), getExpiringSoon(daysUntil: Int)SettingsDao: insert/upsert, getValue(key), getAll(): Flow<List>Technische Hinweise
de.krisenvorrat.app.data.dbde.krisenvorrat.app.data.db.dao@Transactionwo nötiggetExpiringSoon: WHERE expiryDate IS NOT NULL AND expiryDate <=Akzeptanzkriterien
Abgeschlossen (2026-05-13)
Zyklen: 1 Implementierungszyklus + 1 Korrekturzyklus (Code Review)
Tests: ✅ Build SUCCESSFUL, 4 Instrumentierungstests (connectedAndroidTest)
Implementierte Artefakte
Abweichungen