Interface SearchRedirectDao

All Known Implementing Classes:
SearchRedirectDaoImpl

public interface SearchRedirectDao
Created by ppatel.
  • Method Details

    • findSearchRedirectBySearchTerm

      SearchRedirect findSearchRedirectBySearchTerm(String uri)
    • 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