#968: ProjektDao.kt
projectforge-business/src/main/kotlin/org/projectforge/business/fibu/ProjektDao.kt Data Access Object (DAO), projectforge-business/src/main/kotlin/org/projectforge/business/fibu/ProjektDao.kt 228 lines · 158 code · 45 comments · 25 blank
Spring @Service DAO extending BaseDao<ProjektDO> for CRUD operations on projects. Manages project-kunde, project-task, and project-manager-group relationships. Supports full-text search across kunde, division, manager names. Handles filtering by ended/not-ended status and provides methods for setKunde, setTask, setProjektManagerGroup, and getProjekt by kunde+nummer or internKost2_4+nummer. Integrates history entries from Kost2DO children. Access controlled via UserRightId.PM_PROJECT.
Git History
868d6abb7 2026-01-01 Kai Reinhard: 2025 -> 2026
63081666f 2025-01-01 Kai Reinhard: Source file headers: 2024-> 2025.
db2599ab8 2024-12-24 Kai Reinhard: History in orderbook, incming/outgoing invoices and projects.
b810d1c78 2024-11-09 Kai Reinhard: Migration stuff in progress... (all tests of all packages: OK).
5989b32fd 2024-10-16 Kai Reinhard: BaseDao: mechanism of onChangeLister refactored.
1b50060c3 2024-10-15 Kai Reinhard: BaseDao: renamed: get -> find, save -> insert, getList -> select, load -> select
87aaf6a5a 2024-10-15 Kai Reinhard: Migration stuff in progress... BaseDao refactored (not yet finished) internal* methods renamed.
3aeda5ef5 2024-10-13 Kai Reinhard: Big change: all save|update|...InTrans renamed (InTrans removed). PfPesistenceContext as param not needed anymore (ThreadLocal is used instead). (all tests of all packages: OK).
e66d5f5f7 2024-10-13 Kai Reinhard: Migration stuff in progress... TaskTree -> Kotlin and runs now in isolated entity manager
b095e6f7d 2024-10-01 Kai Reinhard: !!!!! Big change of Transaction handling: Re-uses PfPersistenceContext as much as possible (not yet finished). Tests doesn't yet run.
4c04cfd65 2024-09-14 Kai Reinhard: MAJOR-CHANGE! Migration of integer id's to Long id's (including fk's etc.)
5bafe7941 2024-08-24 Kai Reinhard: @Repository -> @Service. @Transactional-Annotations removed.
ee7b7fe15 2024-08-24 Kai Reinhard: Migration stuff in progress...
f2f7cff74 2024-08-24 Kai Reinhard: Migration stuff in progress...
9d8b94352 2024-08-19 Kai Reinhard: Migration stuff in progress...
a2f3f99b2 2024-08-19 Kai Reinhard: Migration stuff in progress...
67ce75fe9 2024-08-19 Kai Reinhard: Migration stuff in progress...
e33c8b9c2 2024-08-16 Kai Reinhard: Migration stuff in progress...