#1353: UserPrefDO.kt

projectforge-business/src/main/kotlin/org/projectforge/framework/persistence/user/entities/UserPrefDO.kt Data Object, projectforge-business/src/main/kotlin/org/projectforge/framework/persistence/user/entities/UserPrefDO.kt 324 lines · 235 code · 56 comments · 33 blank
Hibernate entity/DO for user preferences, mapping to the user preference table with fields for user reference and preference area grouping.

Architecture Analysis

Resides in projectforge-business, the core module containing domain logic, services, and persistence. Marked with @Configuration, providing Spring bean definitions and wiring for a specific subsystem.

Git History

CommitWhat changed
868d6abb752025 -> 2026
63081666f6Source file headers: 2024-> 2025.
0237d5eba9Json serialization refactored: IdOnlySerializer and IdsOnlySerializer introduced.
184f154a5fMigration stuff in progress...
1e18ea2681ehcache removed :-(
f31e8064eaMigration stuff in progress...
4d58829ccdUserPrefCache and UserXmlPreferencesCache refactored.
d6ad9ea383Migration stuff in progress...
66ec668f6fMigration stuff in progress...
c8f8ed9357Declared all entities as FetchType.LAZY (was EAGER).
fa194d7f87Migration stuff in progress...
384da53decMigration stuff in progress...
f7f5ad4d36UserPrefDao -> Kotlin.
4c04cfd652MAJOR-CHANGE! Migration of integer id's to Long id's (including fk's etc.)
f5c09f87f4Migration stuff in progress...
b7b459e739Migration stuff in progress...
e33c8b9c20Migration stuff in progress...
c04fb0d51cMigration stuff in progress...
06828f4908Migration stuff in progress...
b6092df092Copyright 2023 -> 2024
ab45d51fa4Copyright 2001-2022 -> 2001-2023.
5f7ef41b8cCopyright 2021 -> 2022
c0f2b9de04Tenants functionality removed everywhere (untested).
ceb63e8a1bSource code header: (C) 2001-2021.
37f63ebe1dDon't try to log UserAccessEntries without user.
7c79f1922cCopyright of source header -> 2020.
fe5a7c9828Heavy WIP: NamedQueries everywhere... Plugin crm removed.
510e8d7969Heavy WIP: NamedQueries everywhere...
ceda5c6b34@NamedQueries started (see ConfigurationDao and UserPrefDao), and hibernate find statements with deprecated ? params will be replaced by getSession().createQuery(String, Class), see BaseDao.
73c8c42e63UserPref: handle deserialization errors (e. g. for incompatible ProjectForge versions).
fadbfeb2c4WIP: MagicFilter, currentFilter, favorites, UserPrefCache/Dao...
902b962aa9BookDO.task removed. Flyway scripts for altering table t_book and t_user_pref.
940b236bbdWIP: UserPrefDao and CalendarFavorites...
3ffa43bd03Json: Support of Timestamp, UserPrefDO.name is nullable.
a7bc98bddbJson serialization: UtilDateConverter re-used for ToString, Rest and UserPrefDao. WIP: UserPrefCache...
b152ae229cWIP: UserPrefs...
31f0b32b5fWIP: UserPrefs...
747bfa24cfWIP: UserPrefCache: support of json serialízation and deserialization.
cbdc3c014fWIP: UserPref: support of json serialízation and deserialization.
a9031caefeUserPrefDO.java -> UserPrefDO.kt, field value added and area is now deprecated.