Class BaseSearchBarPlusTreeResultPageBean
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.BaseSearchResultPageBean
com.webmethods.caf.faces.bean.search.BaseSearchBarPlusTreeResultPageBean
- All Implemented Interfaces:
IPageFlowScopeAdapter
,ISearchBarPageBean
,ISearchPageBean
,ISearchResultsPageBean
,Serializable
,EventListener
,PhaseListener
,HttpSessionBindingListener
public abstract class BaseSearchBarPlusTreeResultPageBean
extends BaseSearchResultPageBean
implements ISearchBarPageBean
Base page bean for search result pages that use a tree to display the 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 ISavedSearchProvider
Reference to the current saved search providerprotected ISearchOptionsManager
Reference to the current search options managerprotected ISearchQueryFactory
Reference to the current search query factoryFields inherited from class com.webmethods.caf.faces.bean.search.BaseSearchResultPageBean
fActiveSearchQuery, fPreviousRequestSearchQuery, fQueryChanged, fSortableColumns, fViewableColumns, SEARCH_RESULT_PREFERENCES_APPLIED_KEY
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 TypeMethodDescriptionReturn the active search query string.Return the active search results component (table, tree, whatever).protected SearchBar
Wrapper around the getSearchBarControl method that throws an exception if the SearchBar value is nullCreates and returns implementation of ISavedSearchProviderabstract SearchBar
Retrieves the SearchBar control for this pageCreates and returns implementation of ISearchOptionsManagerCreates and returns implementation of ISearchQueryFactoryabstract DataTree
Returns the search results tree controlboolean
Returns true if the active searchbar tab is the the 'Advanced' tabboolean
Returns true if the active searchbar tab is the the 'Options' tabboolean
Returns true if the active searchbar tab is the the 'Saved' tabboolean
Returns true if the active searchbar tab is the the 'Search' tabvoid
loadSearchQueryDefaults
(ISearchQuery searchQuery) Loads default values into search queryMethods inherited from class com.webmethods.caf.faces.bean.search.BaseSearchResultPageBean
applyUserPreferences, beforeApplyRequestValues, beforeRenderResponse, createSearchQuery, getActiveSearchQuery, getColumnWidthsPreference, getDisplayColumnsPreference, getInitialPageSize, getInitialSortAscendingPreference, getInitialSortByPreference, getSortableColumnList, getViewableColumnList, isApplyPreferencesNeeded, isQueryChanged, isSearchBarAvailable, persistDisplayOptions, setActiveSearchQuery, setColumnWidthsPreference, setDisplayColumnsPreference, setInitialPageSize, setInitialSortAscendingPreference, setInitialSortByPreference
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, 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
-
fSavedSearchProvider
Reference to the current saved search provider -
fSearchQueryFactory
Reference to the current search query factory -
fSearchOptionsManager
Reference to the current search options manager
-
-
Constructor Details
-
BaseSearchBarPlusTreeResultPageBean
public BaseSearchBarPlusTreeResultPageBean()
-
-
Method Details
-
getSavedSearchProvider
Description copied from interface:ISearchBarPageBean
Creates and returns implementation of ISavedSearchProvider- Specified by:
getSavedSearchProvider
in interfaceISearchBarPageBean
-
getSearchQueryFactory
Description copied from interface:ISearchBarPageBean
Creates and returns implementation of ISearchQueryFactory- Specified by:
getSearchQueryFactory
in interfaceISearchBarPageBean
-
getSearchOptionsManager
Description copied from interface:ISearchBarPageBean
Creates and returns implementation of ISearchOptionsManager- Specified by:
getSearchOptionsManager
in interfaceISearchBarPageBean
-
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
Retrieves the SearchBar control for this page- Returns:
- SearchBar control for the page
-
loadSearchQueryDefaults
Loads default values into search query- Specified by:
loadSearchQueryDefaults
in interfaceISearchBarPageBean
-
getSafeSearchBarControl
Wrapper around the getSearchBarControl method that throws an exception if the SearchBar value is null- Returns:
- SearchBar control for the page
-
getActiveSearchQueryString
Return the active search query string.- Overrides:
getActiveSearchQueryString
in classBaseSearchResultPageBean
- Returns:
- the search query string
-
getActiveSearchResultsControl
Description copied from class:BaseSearchResultPageBean
Return the active search results component (table, tree, whatever).- Specified by:
getActiveSearchResultsControl
in classBaseSearchResultPageBean
- Returns:
- active search results component
-
getSearchResultsTreeControl
Returns the search results tree control
-