#1085: TeamCalDao.kt
projectforge-business/src/main/kotlin/org/projectforge/business/teamcal/admin/TeamCalDao.kt DAO / Team Calendar, projectforge-business/src/main/kotlin/org/projectforge/business/teamcal/admin/TeamCalDao.kt 199 lines · 135 code · 45 comments · 19 blank
DAO for TeamCalDO extending BaseDao. Access-controlled select() filters calendars by owner type (All/Own/Others), access level (FullAccess/ReadonlyAccess/MinimalAccess), and admin-only flag. Uses TeamCalRight for ownership checks. onInsertOrModify() enforces minimum 15-minute subscription update interval. afterInsert()/afterUpdate() manage TeamEventExternalSubscriptionCache: updating cached subscriptions, clearing binary/url/hash when external subscription is disabled. allCalendarsWithFullAccess property returns calendars the logged-in user has full access to. Customizes history display formatting via HistoryFormatUtils. Search includes owners and user-group fields.
Git History
868d6abb7 2025 -> 2026
a450b538f History formatting of scripts: users and groups.
63081666f Source file headers: 2024-> 2025.
b71b5073d Migration stuff in progress... (all tests of all packages: OK).
bbc198d03 Migration stuff in progress... (all tests of all packages: OK).
a33f8f203 Migration stuff in progress... (all tests of all packages: OK).
c97135a57 Migration stuff in progress...
d18c899b5 Refactoring of history entries, FlatDisplayHistoryEntries and DisplayHistoryEntries...
b79a1edca Migration stuff in progress... (all tests of all packages: OK).