-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1381 Next UI predefined validation stamps
- Loading branch information
1 parent
0a5b082
commit 95909f5
Showing
41 changed files
with
1,552 additions
and
410 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
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
55 changes: 0 additions & 55 deletions
55
...l/src/main/java/net/nemerosa/ontrack/model/settings/PredefinedValidationStampService.java
This file was deleted.
Oops, something went wrong.
56 changes: 56 additions & 0 deletions
56
...del/src/main/java/net/nemerosa/ontrack/model/settings/PredefinedValidationStampService.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,56 @@ | ||
package net.nemerosa.ontrack.model.settings | ||
|
||
import net.nemerosa.ontrack.common.Document | ||
import net.nemerosa.ontrack.model.Ack | ||
import net.nemerosa.ontrack.model.structure.ID | ||
import net.nemerosa.ontrack.model.structure.PredefinedValidationStamp | ||
|
||
/** | ||
* Management of predefined validation stamps. | ||
*/ | ||
interface PredefinedValidationStampService { | ||
/** | ||
* Gets the list of predefined validation stamps. | ||
*/ | ||
val predefinedValidationStamps: List<PredefinedValidationStamp> | ||
|
||
/** | ||
* Gets the list of predefined validation stamps filtered with a name part | ||
*/ | ||
fun findPredefinedValidationStamps(name: String): List<PredefinedValidationStamp> | ||
|
||
/** | ||
* Creates a new predefined validation stamp. | ||
*/ | ||
fun newPredefinedValidationStamp(stamp: PredefinedValidationStamp): PredefinedValidationStamp | ||
|
||
/** | ||
* Gets a predefined validation stamp using its ID | ||
*/ | ||
fun getPredefinedValidationStamp(id: ID): PredefinedValidationStamp | ||
|
||
/** | ||
* Gets the image for a predefined validation stamp | ||
*/ | ||
fun getPredefinedValidationStampImage(id: ID): Document | ||
|
||
/** | ||
* Gets a predefined validation stamp using its name | ||
*/ | ||
fun findPredefinedValidationStampByName(name: String): PredefinedValidationStamp? | ||
|
||
/** | ||
* Updates the predefined validation stamp | ||
*/ | ||
fun savePredefinedValidationStamp(stamp: PredefinedValidationStamp) | ||
|
||
/** | ||
* Deletes a predefined validation stamp | ||
*/ | ||
fun deletePredefinedValidationStamp(predefinedValidationStampId: ID): Ack | ||
|
||
/** | ||
* Sets the image for a predefined validation stamp | ||
*/ | ||
fun setPredefinedValidationStampImage(predefinedValidationStampId: ID, document: Document) | ||
} |
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
137 changes: 0 additions & 137 deletions
137
...rc/main/java/net/nemerosa/ontrack/repository/PredefinedValidationStampJdbcRepository.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.