Class BaseToggleSearchResultOptionsPageBean

All Implemented Interfaces:
IPageFlowScopeAdapter, Serializable, EventListener, PhaseListener, HttpSessionBindingListener

public abstract class BaseToggleSearchResultOptionsPageBean extends BaseSearchResultOptionsPageBean
Base page bean for search result options pages that can toggle between a table view and a tree view of the search results
Since:
7.0
See Also:
  • Field Details

    • fTreeSortableColumnList

      protected List<SelectItem> fTreeSortableColumnList
      List of sortable columns in the tree control
    • fTreeViewableColumnList

      protected List<SelectItem> fTreeViewableColumnList
      List of viewable columns in the tree control
  • Constructor Details

    • BaseToggleSearchResultOptionsPageBean

      public BaseToggleSearchResultOptionsPageBean()
  • Method Details

    • beforeRenderResponse

      protected void beforeRenderResponse()
      Overrides the default behavior to load information about the available tree columns
      Overrides:
      beforeRenderResponse in class BaseSearchResultOptionsPageBean
      See Also:
    • getSearchResultTreeControlId

      protected abstract String getSearchResultTreeControlId()
      Returns the id of the search result table control
      Returns:
      the id of the search result table control
    • loadTreeColumnInfo

      protected void loadTreeColumnInfo()
      Loads the column information from the search results tree view
    • getTreeSortableColumnList

      public List<SelectItem> getTreeSortableColumnList()
      Returns the list of sortable columns for the tree view
      Returns:
      list of sortable columns
    • getTreeViewableColumnList

      public List<SelectItem> getTreeViewableColumnList()
      Returns the list of viewable columns for the tree view
      Returns:
      list of viewable columns
    • isTreeSortable

      public boolean isTreeSortable()
      Returns whether there are any sortable columns in the search results tree
      Returns:
      true if there are sortable columns, false otherwise