Interface ModuleConfigurationDao
- All Known Implementing Classes:
ModuleConfigurationDaoImpl
public interface ModuleConfigurationDao
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(ModuleConfiguration config) Returns the number of milliseconds that the current date/time will be cached for queries before refreshing.readByType
(Class<? extends ModuleConfiguration> type) save
(ModuleConfiguration config) void
setCurrentDateResolution
(Long currentDateResolution) Sets the number of milliseconds that the current date/time will be cached for queries before refreshing.
-
Method Details
-
readById
-
save
-
delete
-
readAllByType
-
readActiveByType
-
readByType
-
getCurrentDateResolution
Long getCurrentDateResolution()Returns the number of milliseconds that the current date/time will be cached for queries before refreshing. This aids in query caching, otherwise every query that utilized current date would be different and caching would be ineffective.- Returns:
- the milliseconds to cache the current date/time
-
setCurrentDateResolution
Sets the number of milliseconds that the current date/time will be cached for queries before refreshing. This aids in query caching, otherwise every query that utilized current date would be different and caching would be ineffective.- Parameters:
currentDateResolution
- the milliseconds to cache the current date/time
-