interface FeatureDAO
(source)
Feature DAO.
addFeature |
open fun addFeature(botId: String, namespace: String, enabled: Boolean, type: FeatureType, startDate: ZonedDateTime?, endDate: ZonedDateTime?, applicationId: String? = null): Unit abstract fun addFeature(botId: String, namespace: String, enabled: Boolean, category: String, name: String, startDate: ZonedDateTime?, endDate: ZonedDateTime?, applicationId: String? = null): Unit |
deleteFeature |
open fun deleteFeature(botId: String, namespace: String, type: FeatureType, applicationId: String? = null): Unit abstract fun deleteFeature(botId: String, namespace: String, category: String, name: String, applicationId: String? = null): Unit |
disable |
abstract fun disable(botId: String, namespace: String, category: String, name: String, applicationId: String? = null): Unit open fun disable(botId: String, namespace: String, type: FeatureType, applicationId: String? = null): Unit |
enable |
abstract fun enable(botId: String, namespace: String, category: String, name: String, startDate: ZonedDateTime?, endDate: ZonedDateTime?, applicationId: String? = null): Unit open fun enable(botId: String, namespace: String, type: FeatureType, startDate: ZonedDateTime? = null, endDate: ZonedDateTime? = null, applicationId: String? = null): Unit |
getFeatures |
abstract fun getFeatures(botId: String, namespace: String): List<FeatureState> |
isEnabled |
open fun isEnabled(botId: String, namespace: String, type: FeatureType, default: Boolean = false): Boolean open fun isEnabled(botId: String, namespace: String, category: String, name: String, default: Boolean = false): Boolean open fun isEnabled(botId: String, namespace: String, type: FeatureType, applicationId: String? = null, default: Boolean = false): Boolean abstract fun isEnabled(botId: String, namespace: String, category: String, name: String, applicationId: String? = null, default: Boolean = false): Boolean |