Package ai.tock.bot.engine.feature
Interface FeatureDAO
-
- All Implemented Interfaces:
public interface FeatureDAOFeature DAO.
-
-
Method Summary
Modifier and Type Method Description BooleanisEnabled(String botId, String namespace, FeatureType type, Boolean default, String userId)BooleanisEnabled(String botId, String namespace, String category, String name, Boolean default, String userId)BooleanisEnabled(String botId, String namespace, FeatureType type, String applicationId, Boolean default, String userId)abstract BooleanisEnabled(String botId, String namespace, String category, String name, String applicationId, Boolean default, String userId)abstract Unitenable(String botId, String namespace, String category, String name, ZonedDateTime startDate, ZonedDateTime endDate, String applicationId, Integer graduation)Unitenable(String botId, String namespace, FeatureType type, ZonedDateTime startDate, ZonedDateTime endDate, String applicationId, Integer graduation)abstract Unitdisable(String botId, String namespace, String category, String name, String applicationId)Unitdisable(String botId, String namespace, FeatureType type, String applicationId)abstract List<FeatureState>getFeatures(String botId, String namespace)UnitaddFeature(String botId, String namespace, Boolean enabled, FeatureType type, ZonedDateTime startDate, ZonedDateTime endDate, String applicationId, Integer graduation)abstract UnitaddFeature(String botId, String namespace, Boolean enabled, String category, String name, ZonedDateTime startDate, ZonedDateTime endDate, String applicationId, Integer graduation)UnitdeleteFeature(String botId, String namespace, FeatureType type, String applicationId)abstract UnitdeleteFeature(String botId, String namespace, String category, String name, String applicationId)-
-
Method Detail
-
isEnabled
Boolean isEnabled(String botId, String namespace, FeatureType type, Boolean default, String userId)
-
isEnabled
Boolean isEnabled(String botId, String namespace, String category, String name, Boolean default, String userId)
-
isEnabled
Boolean isEnabled(String botId, String namespace, FeatureType type, String applicationId, Boolean default, String userId)
-
isEnabled
abstract Boolean isEnabled(String botId, String namespace, String category, String name, String applicationId, Boolean default, String userId)
-
enable
abstract Unit enable(String botId, String namespace, String category, String name, ZonedDateTime startDate, ZonedDateTime endDate, String applicationId, Integer graduation)
-
enable
Unit enable(String botId, String namespace, FeatureType type, ZonedDateTime startDate, ZonedDateTime endDate, String applicationId, Integer graduation)
-
disable
abstract Unit disable(String botId, String namespace, String category, String name, String applicationId)
-
getFeatures
abstract List<FeatureState> getFeatures(String botId, String namespace)
-
addFeature
Unit addFeature(String botId, String namespace, Boolean enabled, FeatureType type, ZonedDateTime startDate, ZonedDateTime endDate, String applicationId, Integer graduation)
-
addFeature
abstract Unit addFeature(String botId, String namespace, Boolean enabled, String category, String name, ZonedDateTime startDate, ZonedDateTime endDate, String applicationId, Integer graduation)
-
deleteFeature
Unit deleteFeature(String botId, String namespace, FeatureType type, String applicationId)
-
-
-
-