public abstract class BaseSearchBarPageBean extends BasePortletPageBean implements ISearchBarPageBean, ISearchPageBean
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
|
clientIds, initialized
fExpireWithPageFlow
DATA_BINDING_CLIENTS, EMPTY_RESOURCES, OUTCOME_ERROR, OUTCOME_OK, resourcesProviders
Constructor and Description |
---|
BaseSearchBarPageBean()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
ISavedSearch |
getActiveSavedSearch()
Gets the active saved search object for the SearchBar control.
|
ISearchQuery |
getActiveSearchQuery()
Gets the active search query object for the SearchBar control.
|
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
|
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
|
beforeWorkspaceLoad, callInitialize, clearNavigationState, createActionUrl, createRenderUrl, getActivePreferencesBean, getPreferences, getRequestID, gotoPage, switchToPortletMode
afterApplyRequestValues, afterInvokeApplication, afterPhase, afterProcessValidations, afterRenderResponse, afterRestoreView, afterUpdateModelValues, beforeApplyRequestValues, beforeInvokeApplication, beforePhase, beforeProcessValidations, beforeRenderResponse, 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 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 ISearchQuery getActiveSearchQuery()
getActiveSearchQuery
in interface ISearchPageBean
public ISavedSearch getActiveSavedSearch()