Interface SessionSearchService

All Known Implementing Classes:
DefaultSessionSearchService

public interface SessionSearchService
Utility for working with session search.
Since:
v5.2
  • Method Details

    • getPagerFilter

      PagerFilter getPagerFilter()
      Returns:
      the PagerFilter from the current user's session.
    • getSessionSearch

      SearchRequest getSessionSearch()
      Retrieves the current session search request.

      Must be called from within a servlet request.

      Returns:
      the current session search request or null.
    • setSessionSearch

      void setSessionSearch(String jql, Long filterId, int start, int max)
      Stores a search request in the session. If a filter is requested and the user has permission to access it, it is retrieved from the database and is used as the basis for the session search. The session search JQL is then set to the given JQL (if any). If no filter is requested, the given JQL is simply used.
      Parameters:
      jql - The current jql being requested.
      filterId - The ID of the filter (or null if there is no filter)
      start - pager start index
      max - results to display