Class BaseSearchBarPlusTableResultPageBean

All Implemented Interfaces:
IPageFlowScopeAdapter, ISearchBarPageBean, ISearchPageBean, ISearchResultsPageBean, Serializable, EventListener, PhaseListener, HttpSessionBindingListener
Direct Known Subclasses:
BaseSearchBarPlusToggleResultPageBean

public abstract class BaseSearchBarPlusTableResultPageBean extends BaseSearchResultPageBean implements ISearchBarPageBean
Base page bean for search result pages that use a table to display the results
Since:
7.0
See Also:
  • Field Details

    • fSavedSearchProvider

      protected transient ISavedSearchProvider fSavedSearchProvider
      Reference to the current saved search provider
    • fSearchQueryFactory

      protected transient ISearchQueryFactory fSearchQueryFactory
      Reference to the current search query factory
    • fSearchOptionsManager

      protected transient ISearchOptionsManager fSearchOptionsManager
      Reference to the current search options manager
  • Constructor Details

    • BaseSearchBarPlusTableResultPageBean

      public BaseSearchBarPlusTableResultPageBean()
  • Method Details

    • getSavedSearchProvider

      public ISavedSearchProvider getSavedSearchProvider()
      Description copied from interface: ISearchBarPageBean
      Creates and returns implementation of ISavedSearchProvider
      Specified by:
      getSavedSearchProvider in interface ISearchBarPageBean
    • getSearchQueryFactory

      public ISearchQueryFactory getSearchQueryFactory()
      Description copied from interface: ISearchBarPageBean
      Creates and returns implementation of ISearchQueryFactory
      Specified by:
      getSearchQueryFactory in interface ISearchBarPageBean
    • getSearchOptionsManager

      public ISearchOptionsManager getSearchOptionsManager()
      Description copied from interface: ISearchBarPageBean
      Creates and returns implementation of ISearchOptionsManager
      Specified by:
      getSearchOptionsManager in interface ISearchBarPageBean
    • isSearchBarOnSimpleTab

      public boolean isSearchBarOnSimpleTab()
      Returns true if the active searchbar tab is the the 'Search' tab
      Returns:
      true if the active searchbar tab is the 'Search' tab
    • isSearchBarOnAdvancedTab

      public boolean isSearchBarOnAdvancedTab()
      Returns true if the active searchbar tab is the the 'Advanced' tab
      Returns:
      true if the active searchbar tab is the 'Advanced' tab
    • isSearchBarOnOptionsTab

      public boolean isSearchBarOnOptionsTab()
      Returns true if the active searchbar tab is the the 'Options' tab
      Returns:
      true if the active searchbar tab is the 'Options' tab
    • isSearchBarOnSavedTab

      public boolean isSearchBarOnSavedTab()
      Returns true if the active searchbar tab is the the 'Saved' tab
      Returns:
      true if the active searchbar tab is the 'Saved' tab
    • getSearchBarControl

      public abstract SearchBar getSearchBarControl()
      Retrieves the SearchBar control for this page
      Returns:
      SearchBar control for the page
    • loadSearchQueryDefaults

      public void loadSearchQueryDefaults(ISearchQuery searchQuery)
      Loads default values into search query
      Specified by:
      loadSearchQueryDefaults in interface ISearchBarPageBean
    • getSafeSearchBarControl

      protected SearchBar getSafeSearchBarControl()
      Wrapper around the getSearchBarControl method that throws an exception if the SearchBar value is null
      Returns:
      SearchBar control for the page
    • getActiveSearchQueryString

      public String getActiveSearchQueryString()
      Return the active search query string.
      Overrides:
      getActiveSearchQueryString in class BaseSearchResultPageBean
      Returns:
      the search query string
    • getActiveSearchResultsControl

      public UIComponent getActiveSearchResultsControl()
      Description copied from class: BaseSearchResultPageBean
      Return the active search results component (table, tree, whatever).
      Specified by:
      getActiveSearchResultsControl in class BaseSearchResultPageBean
      Returns:
      active search results component
    • getSearchResultsTableControl

      public abstract DataTable getSearchResultsTableControl()
      Returns the search result table control