#571: ICalHandler.java

projectforge-business/src/main/java/org/projectforge/business/teamcal/event/ical/ICalHandler.java Type: Java Handler/Service · Purpose: Service class providing business logic and application services. · Source: projectforge-business/src/main/java/org/projectforge/business/teamcal/event/ical/ICalHandler.java 363 lines · 241 code · 60 comments · 62 blank
Service class providing business logic and application services.

Class: ICalHandler

Fields

NameTypeAccessModifiers
eventServiceTeamEventServiceprivate
parserICalParserprivate
defaultCalendarTeamCalDOprivate
singleEventHandlesListprivate
recurringHandlesMapprivate
attendeesFromDbListListprivate

Methods

NameReturn TypeAccess
readICal()booleanpublic
readICal()booleanpublic
readICal()booleanpublic
validate()booleanpublic
persist()voidpublic
validate()voidprivate
persist()voidprivate
saveOrUpdate()voidprivate
delete()voidprivate
fixAttendees()voidprivate
getFirstResult()TeamEventDOpublic
isEmpty()booleanpublic
eventCount()intpublic
getDefaultCalendar()TeamCalDOpublic
setDefaultCalendar()voidpublic
getSingleEventHandles()Listpublic
getRecurringHandles()Mappublic

Architecture Analysis

Resides in projectforge-business, the core module containing domain logic, services, and persistence. Typically annotated with @Service or @Component, managed by the Spring IoC container with dependency injection.

Git History

CommitWhat changed
868d6abb752025 -> 2026
63081666f6Source file headers: 2024-> 2025.
c193e8288cIcal4j: migration stuff... (all tests OK)
61966790f6Ical4j: migration stuff...
3aeda5ef5aBig change: all save|update|...InTrans renamed (InTrans removed). PfPesistenceContext as param not needed anymore (ThreadLocal is used instead). (all tests of all packages: OK).
1135ccbca9Persistence: functions renamed: *NewTrans -> *InTrans
b095e6f7d1!!!!! Big change of Transaction handling: Re-uses PfPersistenceContext as much as possible (not yet finished). Tests doesn't yet run.
b7b459e739Migration 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.
7c79f1922cCopyright of source header -> 2020.
d3a178833cWrong substitution of "calendar" -> "datetime" while refactoring, reverted commit from 12.12.2019.
9de5dc2773Merge branch 'develop' into TimeClassReplacements
32f634b88fOptimize imports
000ca723d8Remove pointless boolean expressions (business)
dd5ca38acdCopyRight of all java file-header updated or created.
a5bbdca6aaChange logger to slf4j
3042722138Fix type
164e46618dPROJECTFORGE-2758: Remove wrong warn log message
5e7278ed56PROJECTFORGE-2758: Add more test data and tests
a23ae82886PROJECTFORGE-2758: - Add more tests - Fix multiple bugs in ICalHandler - Add warnings to EventHandle class, warnings can be ignored during persit calls
2206e54e1bPROJECTFORGE-2758: - Remove TeamCalServiceImple - Split processing of events in validate and persist in ICalHandler - Remove unused stuff in multiple classes - Fix handling of errors in ICalHandler
d9e217bcd8PROJECTFORGE-2758: - Finish first version of ICalHandler - Remove usage of TeamCalServiceImpl - Implement first test for ICalHandler
cc9f1a6564PROJECTFORGE-2758: Start implementing ical handler