public abstract class BaseSearchBarPlusTableResultPageBean extends BaseSearchResultPageBean implements ISearchBarPageBean
BaseViewBean.ClientIdsContentProvider
Modifier and Type | Field and Description |
---|---|
protected ISavedSearchProvider |
fSavedSearchProvider
Reference to the current saved search provider
|
protected ISearchOptionsManager |
fSearchOptionsManager
Reference to the current search options manager
|
protected ISearchQueryFactory |
fSearchQueryFactory
Reference to the current search query factory
|
fActiveSearchQuery, fPreviousRequestSearchQuery, fQueryChanged, fSortableColumns, fViewableColumns, SEARCH_RESULT_PREFERENCES_APPLIED_KEY
clientIds, initialized
fExpireWithPageFlow
DATA_BINDING_CLIENTS, EMPTY_RESOURCES, OUTCOME_ERROR, OUTCOME_OK, resourcesProviders
Constructor and Description |
---|
BaseSearchBarPlusTableResultPageBean() |
Modifier and Type | Method and Description |
---|---|
String |
getActiveSearchQueryString()
Return the active search query string.
|
UIComponent |
getActiveSearchResultsControl()
Return the active search results component (table, tree, whatever).
|
protected SearchBar |
getSafeSearchBarControl()
Wrapper around the getSearchBarControl method that throws an exception
if the SearchBar value is null
|
ISavedSearchProvider |
getSavedSearchProvider()
Creates and returns implementation of ISavedSearchProvider
|
abstract SearchBar |
getSearchBarControl()
Retrieves the SearchBar control for this page
|
ISearchOptionsManager |
getSearchOptionsManager()
Creates and returns implementation of ISearchOptionsManager
|
ISearchQueryFactory |
getSearchQueryFactory()
Creates and returns implementation of ISearchQueryFactory
|
abstract DataTable |
getSearchResultsTableControl()
Returns the search result table control
|
boolean |
isSearchBarOnAdvancedTab()
Returns true if the active searchbar tab is the the 'Advanced' tab
|
boolean |
isSearchBarOnOptionsTab()
Returns true if the active searchbar tab is the the 'Options' tab
|
boolean |
isSearchBarOnSavedTab()
Returns true if the active searchbar tab is the the 'Saved' tab
|
boolean |
isSearchBarOnSimpleTab()
Returns true if the active searchbar tab is the the 'Search' tab
|
void |
loadSearchQueryDefaults(ISearchQuery searchQuery)
Loads default values into search query
|
applyUserPreferences, beforeApplyRequestValues, beforeRenderResponse, createSearchQuery, getActiveSearchQuery, getColumnWidthsPreference, getDisplayColumnsPreference, getInitialPageSize, getInitialSortAscendingPreference, getInitialSortByPreference, getSortableColumnList, getViewableColumnList, isApplyPreferencesNeeded, isQueryChanged, isSearchBarAvailable, persistDisplayOptions, setActiveSearchQuery, setColumnWidthsPreference, setDisplayColumnsPreference, setInitialPageSize, setInitialSortAscendingPreference, setInitialSortByPreference
beforeWorkspaceLoad, callInitialize, clearNavigationState, createActionUrl, createRenderUrl, getActivePreferencesBean, getPreferences, getRequestID, gotoPage, switchToPortletMode
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
getExpireWithPageFlow, setExpireWithPageFlow, valueBound, valueUnbound
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
protected transient ISavedSearchProvider fSavedSearchProvider
protected transient ISearchQueryFactory fSearchQueryFactory
protected transient ISearchOptionsManager fSearchOptionsManager
public BaseSearchBarPlusTableResultPageBean()
public ISavedSearchProvider getSavedSearchProvider()
ISearchBarPageBean
getSavedSearchProvider
in interface ISearchBarPageBean
public ISearchQueryFactory getSearchQueryFactory()
ISearchBarPageBean
getSearchQueryFactory
in interface ISearchBarPageBean
public ISearchOptionsManager getSearchOptionsManager()
ISearchBarPageBean
getSearchOptionsManager
in interface ISearchBarPageBean
public boolean isSearchBarOnSimpleTab()
public boolean isSearchBarOnAdvancedTab()
public boolean isSearchBarOnOptionsTab()
public boolean isSearchBarOnSavedTab()
public abstract SearchBar getSearchBarControl()
public void loadSearchQueryDefaults(ISearchQuery searchQuery)
loadSearchQueryDefaults
in interface ISearchBarPageBean
protected SearchBar getSafeSearchBarControl()
public String getActiveSearchQueryString()
getActiveSearchQueryString
in class BaseSearchResultPageBean
public UIComponent getActiveSearchResultsControl()
BaseSearchResultPageBean
getActiveSearchResultsControl
in class BaseSearchResultPageBean
public abstract DataTable getSearchResultsTableControl()