#905: AuftragsPositionsStatusFilter.kt

projectforge-business/src/main/kotlin/org/projectforge/business/fibu/AuftragsPositionsStatusFilter.kt Type: CustomResultFilter implementation · Purpose: Filters orders by status of their positions · Package: org.projectforge.business.fibu
Source path: projectforge-business/src/main/kotlin/org/projectforge/business/fibu/AuftragsPositionsStatusFilter.kt 57 lines · 30 code · 22 comments · 5 blank
A CustomResultFilter<AuftragDO> that matches orders when at least one of their (non-deleted) positions has an AuftragsStatus matching one of the configured filter values. An empty value list matches all orders. String-based construction with error-tolerant parsing and logging for unknown status names.

Filter Logic

Companion Object

create(valuesAsStrings: Array<String>) — parses string array into AuftragsStatus enum values, logging unknown entries. The status values this can match include the full AuftragsStatus lifecycle: POTENZIAL, IN_ERSTELLUNG, GELEGT, LOI, BEAUFTRAGT, ESKALATION, ABGESCHLOSSEN, and ABGELEHNT.

Git History

868d6abb7 2025 -> 2026
63081666f Source file headers: 2024-> 2025.
3f25c773a Migration stuff in progress...
0d183e5df Migration stuff in progress...
923f5c64b Migration stuff in progress...
b6092df09 Copyright 2023 -> 2024
ab45d51fa Copyright 2001-2022 -> 2001-2023.
5f7ef41b8 Copyright 2021 -> 2022
ceb63e8a1 Source code header: (C) 2001-2021.
33aac841b WIP: Auftrag -> React (AuftragDao modified).
d5bfcff96 VacationPeriodFilter added.
031853218 VacationYearFilter added.
bc0a52bc7 Vacation stuff...
b2657ec3a Vacation list, MagicFilterProcessort supports now I18nEnum values.
7c79f1922 Copyright of source header -> 2020.
dd5ca38ac CopyRight of all java file-header updated or created.
2d86a8cd6 PROJECTFORGE-2306 Refactorings for keeping access check at update time
9ebb88522 Initial commit