#1012: GanttChartDO.kt

projectforge-business/src/main/kotlin/org/projectforge/business/gantt/GanttChartDO.kt JPA Entity (Gantt Chart), projectforge-business/src/main/kotlin/org/projectforge/business/gantt/GanttChartDO.kt 121 lines · 62 code · 43 comments · 16 blank
JPA entity representing a Gantt chart configuration in ProjectForge. Maps to T_GANTT_CHART table and stores visual layout preferences (bar colors, label formats, time scale) for project planning Gantt charts. Annotated with @PropertyInfo for automatic UI generation.

Entity Structure

Extends DefaultBaseDO providing standard fields (id, created, lastUpdate, deleted). Stores name, description, JSON-based configuration for bar colors and display options, date range boundaries, and task filter criteria. Persisted in table T_GANTT_CHART with Hibernate Search indexing on name and description fields.

Git History

868d6abb7 2025 -> 2026
63081666f Source file headers: 2024-> 2025.
c04fb0d51 Migration stuff in progress...
b6092df09 Copyright 2023 -> 2024
ab45d51fa Copyright 2001-2022 -> 2001-2023.
5f7ef41b8 Copyright 2021 -> 2022
c0f2b9de0 Tenants functionality removed everywhere (untested).
ceb63e8a1 Source code header: (C) 2001-2021.
8675a1dbe Found big performance issue: Declared all Kotlin JPA entities and their properties as open. Lazy loading wasn't supported by Hibernate and results in thousands of JPA queries...
29e3c0399 GanttChartDO, HRPlanningDO: PropertyInfos added
d0a45a094 GanttChartDO, GanttEntryDO added (Hibernate search etc.)