Interface ModuleConfigurationDao

All Known Implementing Classes:
ModuleConfigurationDaoImpl

public interface ModuleConfigurationDao
  • Method Details

    • readById

      ModuleConfiguration readById(Long id)
    • save

    • delete

      void delete(ModuleConfiguration config)
    • readAllByType

    • readActiveByType

    • readByType

      List<ModuleConfiguration> readByType(Class<? extends ModuleConfiguration> type)
    • 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

      void setCurrentDateResolution(Long currentDateResolution)
      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