-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
423 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
244 changes: 144 additions & 100 deletions
244
services/hanke-service/src/main/kotlin/fi/hel/haitaton/hanke/hakemus/HakemusService.kt
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
...ices/hanke-service/src/main/kotlin/fi/hel/haitaton/hanke/taydennys/TaydennysIdentifier.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package fi.hel.haitaton.hanke.taydennys | ||
|
||
import fi.hel.haitaton.hanke.domain.HasId | ||
import fi.hel.haitaton.hanke.hakemus.ApplicationType | ||
import java.util.UUID | ||
|
||
interface TaydennysIdentifier : HasId<UUID> { | ||
override val id: UUID | ||
|
||
fun taydennyspyyntoId(): UUID | ||
|
||
fun taydennyspyyntoAlluId(): Int | ||
|
||
fun hakemusId(): Long | ||
|
||
fun hakemustyyppi(): ApplicationType | ||
|
||
fun logString() = | ||
"Täydennys: (" + | ||
listOf( | ||
"id=$id", | ||
"täydennyspyyntö=${taydennyspyyntoId()}", | ||
"täydennyspyyntöAlluId=${taydennyspyyntoAlluId()}", | ||
"hakemusId=${hakemusId()}", | ||
"hakemustyyppi=${hakemustyyppi()}") | ||
.joinToString() + | ||
")" | ||
} |
Oops, something went wrong.