#1074: SystemService.kt
projectforge-business/src/main/kotlin/org/projectforge/business/system/SystemService.kt Service / System Administration, projectforge-business/src/main/kotlin/org/projectforge/business/system/SystemService.kt 185 lines · 131 code · 36 comments · 18 blank
Spring @Service providing system-level administration routines. exportSchema() generates database schema SQL via SchemaExport, restricted to admin group. checkSystemIntegrity() delegates to CronSanityCheckJob for abandoned tasks, corrupted JCR/DataTransfer checks, and writes results to user's data transfer box (runs in a separate thread to avoid blocking). refreshCaches() force-reloads all major caches: UserGroupCache, TaskTree, KontoCache, KostCache, RechnungCache, AuftragsCache, AuftragsRechnungCache, SystemInfoCache, and BirthdayCache. Returns formatted HTML for system integrity results.
Git History
868d6abb7 2025 -> 2026
c75d202df AdminPage refreshes now also AuftragsRechnungCache. Visitorbook: unused field contactPerson removed. ForecastExportInvoices: cache access for order positions changed (fix of missing invoices)
034eebd5d Html handling and job handling.
cbcd306cc Html refactored.
d60585ee4 System sanity check results now in pretty formatted html.
96e97e738 Nothing real.
76920e51f cosmetic corrections in SystemService and SanityCheckJobs
1a77630dc Kotlin.Coroutine -> Thread in Cronjobs and SystemService
00ec94e68 New version of fr-opensagres-xdocreport-poi-xwpf-converter-pdf = "2.1.0" DataTransferBridge added for more convenient access of datatransfer from other modules (Merlin, business etc.), ThreadLocalUserContext improved for using inside Kotlin coroutines.
092dbf9c5 SystemService -> kolin, package systeminfo renamed to system