refactor to input service skeleton
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-05-20 22:49:48 +02:00
parent 9fd976a298
commit 34621b432c
6 changed files with 30 additions and 95 deletions

View File

@@ -5,12 +5,6 @@ import java.time.LocalDate
interface IInputObjectService{
fun addOne(apiObject: ApiObject)
suspend fun getAllResultObjects(): List<ApiObject>
suspend fun getResultObjectbyTag(tag: String): ApiObject?
suspend fun getResultObjectbyDate(date: LocalDate): List<ApiObject>?
suspend fun getResultObjectbeforeDate(date: LocalDate): List<ApiObject>?
suspend fun getResultObjectafterDate(date: LocalDate): List<ApiObject>?
suspend fun getResultObjecGreaterthanProbability(probability: Double): List<ApiObject>?
suspend fun getResultObjecLessthanProbability(probability: Double): List<ApiObject>?
suspend fun getResultObjecEqualsProbability(probability: Double): List<ApiObject>?
suspend fun getAllInputObjects(): List<ApiObject>
suspend fun getInputObjectbyTag(tag: String): ApiObject?
}