#1065: SipgateContact.kt

projectforge-business/src/main/kotlin/org/projectforge/business/sipgate/SipgateContact.kt Data Transfer Object / Sipgate Integration, projectforge-business/src/main/kotlin/org/projectforge/business/sipgate/SipgateContact.kt 357 lines · 268 code · 43 comments · 46 blank
Rich DTO for Sipgate contacts with Jackson JSON mapping, including nested Address, Email, and Number classes. Uses @JsonIgnore/@JsonProperty to bridge Sipgate's array-based type system (e.g. organization as array-of-arrays, number types as string arrays) to convenient Kotlin properties. Provides computed accessors (work, home, cell, faxWork, email, privateEmail) that search the numbers/emails lists by type. fixNumbers() and fixEmails() deduplicate entries. The Number companion defines standard type arrays (WORK_ARRAY, CELL_ARRAY, FAX_WORK_ARRAY, etc.) for type comparison.

Git History

868d6abb7 2025 -> 2026
8890bf2ce Fix Sipgate contact sync: Remove duplicate emails without type
2014b8633 Sipgate: fix of duplicating emails by each sync.
63081666f Source file headers: 2024-> 2025.
b6092df09 Copyright 2023 -> 2024
5575d91b5 WIP Sipgate; Excel export of SipgateConfiguration (users, numbers, devices, ...)
50dfe1068 WIP Sipgate.
0f0614047 WIP Sipgate.
e3b79281f WIP Sipgate.
923eca5f6 WIP Sipgate.
936aa0b7c WIP Sipgate.
8421d11f5 WIP Sipgate.
93065f591 WIP Sipgate.
331b2b109 WIP Sipgate.
8ce73b6eb WIP Sipgate.
5f0986c82 WIP Sipgate.
a47b5b8f2 WIP Sipgate.
86e4c27ab WIP Sipgate.
45d22c045 WIP Sipgate.
9e5dcb4f7 WIP Sipgate
74901f610 First version of Sipgate sync.
cb2915283 WIP D.velop
ab45d51fa Copyright 2001-2022 -> 2001-2023.
5f7ef41b8 Copyright 2021 -> 2022
ceb63e8a1 Source code header: (C) 2001-2021.
7c79f1922 Copyright of source header -> 2020.
dd5ca38ac CopyRight of all java file-header updated or created.
9ebb88522 Initial commit