Class BaseToggleSearchResultOptionsPageBean
java.lang.Object
com.webmethods.caf.faces.bean.BaseFacesBean
com.webmethods.caf.faces.bean.BaseFacesSessionBean
com.webmethods.caf.faces.bean.BaseViewBean
com.webmethods.caf.faces.bean.BasePortletPageBean
com.webmethods.caf.faces.bean.search.BaseSearchResultOptionsPageBean
com.webmethods.caf.faces.bean.search.BaseToggleSearchResultOptionsPageBean
- All Implemented Interfaces:
IPageFlowScopeAdapter
,Serializable
,EventListener
,PhaseListener
,HttpSessionBindingListener
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.webmethods.caf.faces.bean.BaseViewBean
BaseViewBean.ClientIdsContentProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<SelectItem>
List of sortable columns in the tree controlprotected List<SelectItem>
List of viewable columns in the tree controlFields inherited from class com.webmethods.caf.faces.bean.search.BaseSearchResultOptionsPageBean
fSortableColumnList, fViewableColumnList
Fields inherited from class com.webmethods.caf.faces.bean.BaseViewBean
clientIds, initialized
Fields inherited from class com.webmethods.caf.faces.bean.BaseFacesSessionBean
fExpireWithPageFlow
Fields inherited from class com.webmethods.caf.faces.bean.BaseFacesBean
DATA_BINDING_CLIENTS, EMPTY_RESOURCES, OUTCOME_ERROR, OUTCOME_OK, resourcesProviders
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Overrides the default behavior to load information about the available tree columnsprotected abstract String
Returns the id of the search result table controlReturns the list of sortable columns for the tree viewReturns the list of viewable columns for the tree viewboolean
Returns whether there are any sortable columns in the search results treeprotected void
Loads the column information from the search results tree viewMethods inherited from class com.webmethods.caf.faces.bean.search.BaseSearchResultOptionsPageBean
cancelDisplayOptions, getPortletConfig, getSearchResultControlId, getSearchResultsViewId, getSortableColumnList, getViewableColumnList, isSortable, loadColumnInfo, loadColumnInfoForControl, loadColumnInfoForControl, persistDisplayOptions
Methods inherited from class com.webmethods.caf.faces.bean.BasePortletPageBean
beforeWorkspaceLoad, callInitialize, clearNavigationState, createActionUrl, createRenderUrl, getActivePreferencesBean, getPreferences, getRequestID, gotoPage, switchToPortletMode
Methods inherited from class com.webmethods.caf.faces.bean.BaseViewBean
afterApplyRequestValues, afterInvokeApplication, afterPhase, afterProcessValidations, afterRenderResponse, afterRestoreView, afterUpdateModelValues, beforeApplyRequestValues, beforeInvokeApplication, beforePhase, beforeProcessValidations, beforeRestoreView, beforeUpdateModelValues, findComponent, findComponentInRoot, getApplicationScope, getClientIds, getPhaseId, getRealPath, getRequestParam, getRequestScope, getSessionScope, gotoPage, initialize, isAsyncRequest, preRenderResponse, release, resetPageFlowStorage, streamFileDataToResponse
Methods inherited from class com.webmethods.caf.faces.bean.BaseFacesSessionBean
getExpireWithPageFlow, setExpireWithPageFlow, valueBound, valueUnbound
Methods inherited from class com.webmethods.caf.faces.bean.BaseFacesBean
createMethodBinding, createMethodExpression, createValueBinding, createValueExpression, createValueExpression, error, error, error, error, error, getBean, getFacesContext, getLocale, getResourceInputStream, getResources, getResourcesProvider, getRootCause, getStackTrace, getTreeAttribute, isUserInRole, log, log, log, putTreeAttribute, resetDataBindingClients, resolveDataBinding, resolveDataBinding, resolveExpression, setValue
-
Field Details
-
fTreeSortableColumnList
List of sortable columns in the tree control -
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 -
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
Returns the list of sortable columns for the tree view- Returns:
- list of sortable columns
-
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
-