#1349: GroupDO.kt

projectforge-business/src/main/kotlin/org/projectforge/framework/persistence/user/entities/GroupDO.kt Data Object (Entity), projectforge-business/src/main/kotlin/org/projectforge/framework/persistence/user/entities/GroupDO.kt 222 lines · 118 code · 80 comments · 24 blank
JPA/Hibernate entity definition mapping a database table to an object model.

Git History

868d6abb7 2025 -> 2026
2d25df051 User comments on changes: users/groups: clone comments also for history entries of assigned groups/users and rights. Bugfix in candh.CollectionHandler: writeInsertHistoryEntriesForNewCollectionEntries ignores now collections not managed by us.
aec1e30ab History supports now user comments: If groups or users are edited, the admin may enter a history comment with e.g. the reason of changes. This comment is displayed in the history.
6a32032d6 Hibernate.isInitialized(obj) -> HibernateUtils.isFullyInitialized(obj). Some lazy objects of e.g. ManyToOne columns are not fully loaded but Hibernate.isInitialized() returns true.
63081666f Source file headers: 2024-> 2025.
0237d5eba Json serialization refactored: IdOnlySerializer and IdsOnlySerializer introduced.
4bc37b3a1 Migration stuff in progress...
c8f8ed935 Declared all entities as FetchType.LAZY (was EAGER).
9f874e26c MAJOR-CHANGE! Migration of integer id's to Long id's (including fk's etc.)
f5c09f87f Migration stuff in progress...
c04fb0d51 Migration stuff in progress...
06828f490 Migration stuff in progress...
b6092df09 Copyright 2023 -> 2024
ab45d51fa Copyright 2001-2022 -> 2001-2023.
07db5cb1a WIP: GroupPagesRest
762d940ad WIP: GroupPagesRest
e6ac76316 PFUserDO.username and GroupDO.name: @Field analyze again. Analyze.NO doesn't work well.
f293c38e8 GroupDO.name and PFUserDO.username: don't analyze fields for search
5f7ef41b8 Copyright 2021 -> 2022
68e0d396e User.toIntList filters null values, InitTestDB: test group contains now test user 1 and 2, PFUserDO/GroupDO.tointList added.
c0f2b9de0 Tenants functionality removed everywhere (untested).
ceb63e8a1 Source code header: (C) 2001-2021.
2e9f2dfa0 Implemented GroupOwner Field in Group editing
a6a7aece4 Optimize Imports
b78b870bd ShortDisplayNameCapable -> DisplayNameCapable.
7c79f1922 Copyright of source header -> 2020.
8241700f0 ShortDisplayNameCapable converted to Kotlin. DO classes implementing ShortDisplayNameCapable refactored.
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...
f77326590 Heavy WIP: session -> em: Tests
510e8d796 Heavy WIP: NamedQueries everywhere...