ScenarioDb

interface ScenarioDb

Functions

Link copied to clipboard
abstract fun createOrUpdate(serverId: String, programKey: String, scenarioId: Long, script: String)
Link copied to clipboard
abstract fun createOrUpdateCounter(serverId: String, scenarioId: Long, surveyId: String, currentHourCount: Long, currentDayCount: Long, currentWeekCount: Long, totalCount: Long)
Link copied to clipboard
abstract fun deleteScenarios(serverId: String, programKey: String)
Link copied to clipboard
abstract fun getCounters(serverId: String, scenarioId: Long, surveyId: String): ScenarioCounter
Link copied to clipboard
abstract fun getScenarios(serverId: String, programKey: String): List<Scenario>