#915: EingangsrechnungCache.kt

projectforge-business/src/main/kotlin/org/projectforge/business/fibu/EingangsrechnungCache.kt Type: Spring Component (internal cache)
Package: org.projectforge.business.fibu
Path: projectforge-business/src/main/kotlin/org/projectforge/business/fibu/EingangsrechnungCache.kt
Author: Kai Reinhard (k.reinhard@micromata.de) 37 lines · 5 code · 28 comments · 4 blank

A dedicated cache for incoming invoices (Eingangsrechnungen). Extends AbstractRechnungCache with EingangsrechnungDO as the entity type. Exists as a separate cache from RechnungCache (outgoing invoices) for performance isolation — incoming and outgoing invoice data can be cached and refreshed independently.

Architecture

Inheritance

AbstractRechnungCache(EingangsrechnungDO::class, rechnungJdbcService) — inherits all cache logic from the shared abstract base class.

Dependencies

DependencyRole
RechnungJdbcServiceProvides JDBC-based cache loading for invoice data (payment info, due dates, etc.)

Visibility

Marked internal — not intended for use outside the fibu package. Accessed via the EingangsrechnungDao through AbstractRechnungCache methods like getEingangsrechnungInfo() and ensureRechnungInfo().

Purpose

The separate cache provides:

Git History

868d6abb7 2025 -> 2026
63081666f Source file headers: 2024-> 2025.
ff2cc4cfa Migration stuff in progress... (all tests of all packages: OK).
190c0aea1 Migration stuff in progress... (all tests of all packages: OK).
ba2479571 Migration stuff in progress...
b3293f0cc PersistenceService/Context: stats handling improved.
b47c21af6 Refactored caching and calculations with invoices (not yet finished)