GroupsComparator.javaGroupDO entities. Used for sorting user groups by name in UI listings and administrative pages.This class implements Comparator<GroupDO> and Serializable — the serialization requirement ensures the comparator can be used in Wicket model serialization and clustering scenarios. The comparison logic extracts the name field from each GroupDO, converts to lowercase, and performs lexicographic comparison via String.compareTo(). Null-safe: groups with null names are treated as empty strings, ensuring stable sort behavior.
The class resides in org.projectforge.business.user alongside GroupDO and related user-management classes. It is typically used in conjunction with Collections.sort() or List.sort() when rendering group lists in the UI (e.g., user-edit permission assignment pages).
868d6abb7 2025 -> 2026\n63081666f Source file headers: 2024-> 2025.\nb6092df09 Copyright 2023 -> 2024\nab45d51fa Copyright 2001-2022 -> 2001-2023.\n5f7ef41b8 Copyright 2021 -> 2022\nceb63e8a1 Source code header: (C) 2001-2021.\n7c79f1922 Copyright of source header -> 2020.\n32f634b88 Optimize imports\ndd5ca38ac CopyRight of all java file-header updated or created.\n9ebb88522 Initial commit