#901: AuftragsPositionsArt.kt
projectforge-business/src/main/kotlin/org/projectforge/business/fibu/AuftragsPositionsArt.kt
Type: Enum (I18nEnum) ·
Purpose: Classifies the type of work for an order position ·
Package: org.projectforge.business.fibu
Source path: projectforge-business/src/main/kotlin/org/projectforge/business/fibu/AuftragsPositionsArt.kt
67 lines · 28 code · 30 comments · 9 blank
An I18nEnum that categorizes order positions by the nature of the work: change requests, ongoing services, maintenance, or new development. Used by AuftragsPositionDO.art and the AuftragsPositionsArtFilter. I18n keys follow the pattern fibu.auftrag.position.art.{key}.
Enum Values
| Value | Key | Description |
CHANGE_REQUEST | change_request | A requested modification to existing scope |
DAUERNDE_LEISTUNG | dauernde_leistung | Ongoing/perpetual service |
WARTUNG | wartung | Maintenance work |
NEUENTWICKLUNG | neuentwicklung | New development |
Methods
getKey(): String — returns the i18n key fragment
isIn(vararg art: AuftragsPositionsArt?): Boolean — membership check against varargs
i18nKey — computed as "fibu.auftrag.position.art." + key
safeValueOf(name: String?): AuftragsPositionsArt? (companion) — null-safe enum lookup by name
Git History
868d6abb7 2025 -> 2026
63081666f Source file headers: 2024-> 2025.
567ca70cd Migration in progress... spring.datasource.hikari.auto-commit=false
ac2dbb269 Migration stuff in progress...
b79a1edca Migration stuff in progress... (all tests of all packages: OK).
b6092df09 Copyright 2023 -> 2024
ab45d51fa Copyright 2001-2022 -> 2001-2023.
5f7ef41b8 Copyright 2021 -> 2022
ceb63e8a1 Source code header: (C) 2001-2021.
c526c1bbb I18nEnum, IUserRightId -> Kotlin.
54bd2e890 WIP: vacation mail notifications.
bc0a52bc7 Vacation stuff...
b2657ec3a Vacation list, MagicFilterProcessort supports now I18nEnum values.
d9c01bcef Formatter.jsx: Address book fixed (is now displayName).
7c79f1922 Copyright of source header -> 2020.
af35917ac More code cleanup
1fcfe0b45 Doc. BookStatus and BookType converted to Kotlin.
680cef262 Doc. BookStatus and BookType converted to Kotlin.
dd5ca38ac CopyRight of all java file-header updated or created.
2d86a8cd6 PROJECTFORGE-2306 Refactorings for keeping access check at update time
9ebb88522 Initial commit