#822: AddressDao.kt

projectforge-business/src/main/kotlin/org/projectforge/business/address/AddressDao.kt Data Access Object (DAO), projectforge-business/src/main/kotlin/org/projectforge/business/address/AddressDao.kt 670 lines · 512 code · 106 comments · 52 blank
Database access layer providing CRUD operations and query methods for the entity.

Git History

868d6abb7 2025 -> 2026
2aff80bc4 Fix VCard image export and add type-safe transient image access
7ff207016 AddressPagesRest: Warning of duplicate entries on adding new addresses.
b7861b2ff Addresses: forced deletion fixed (after mgc migration): sipgate-contacts and history entries / attrs.
6b1aed301 Access to addresses and address campaigns only for marketing users and/or members of global addressbook.
63081666f Source file headers: 2024-> 2025.
943947aaa Addresses: support of gif and jpeg (also for carddav server). deprecated rest stuff (StorageClient, AddressDaoRest etc. removed).
04c38072b AddressDao: select optimized, WIP: pagination.
e80cfaa1a Migration stuff in progress... (all tests of all packages: OK).
4942c854d Migration stuff in progress...
b71b5073d Migration stuff in progress... (all tests of all packages: OK).
3264694a8 Migration stuff in progress... (all tests of all packages: OK).
0ceceb28f All cache refreshs are now running in isolated transactions or contexts.
bf34e42b0 Migration stuff in progress...
5989b32fd BaseDao: mechanism of onChangeLister refactored.
1b50060c3 BaseDao: renamed: get -> find, save -> insert, getList -> select, load -> select
87aaf6a5a Migration stuff in progress... BaseDao refactored (not yet finished) internal* methods renamed.
a72903e36 *.java, *.kt: StringBuffer -> StringBuilder.
3aeda5ef5 Big change: all save|update|...InTrans renamed (InTrans removed). PfPesistenceContext as param not needed anymore (ThreadLocal is used instead). (all tests of all packages: OK).
67805f2fc ThreadLocalUserContext.user -> ThreadLocalUserContext.loggedInUser (renamed for avoiding mis-understandings in code).
108ecf629 !!!!! Big change of Transaction handling: Re-uses PfPersistenceContext as much as possible (not yet finished). Tests doesn't yet run. readonly-Transactions in PfPersistenceService removed, write-operations of PfPersistenceService removed.
b095e6f7d !!!!! Big change of Transaction handling: Re-uses PfPersistenceContext as much as possible (not yet finished). Tests doesn't yet run.
4c04cfd65 MAJOR-CHANGE! Migration of integer id's to Long id's (including fk's etc.)
5bafe7941 @Repository -> @Service. @Transactional-Annotations removed.
65c267d78 Migration stuff in progress...
c1d14ecdb Migration stuff in progress...
067a4cbb1 Migration stuff in progress...
0d183e5df Migration stuff in progress...
b7b459e73 Migration stuff in progress...