public abstract class BaseSearchResultOptionsPageBean extends BasePortletPageBean
BaseViewBean.ClientIdsContentProvider
Modifier and Type | Field and Description |
---|---|
protected List<SelectItem> |
fSortableColumnList
List of sortable columns
|
protected List<SelectItem> |
fViewableColumnList
List of viewable columns
|
clientIds, initialized
fExpireWithPageFlow
DATA_BINDING_CLIENTS, EMPTY_RESOURCES, OUTCOME_ERROR, OUTCOME_OK, resourcesProviders
Constructor and Description |
---|
BaseSearchResultOptionsPageBean() |
Modifier and Type | Method and Description |
---|---|
protected void |
beforeRenderResponse()
Overrides the default behavior to load information about
the available table columns
|
String |
cancelDisplayOptions()
Action handler for the 'Cancel' button in the search options UI.
|
protected Object |
getPortletConfig(ExternalContext externalContext) |
protected abstract String |
getSearchResultControlId()
Returns the id of the search result table control
|
protected String |
getSearchResultsViewId()
Returns the id of the search results view
|
List<SelectItem> |
getSortableColumnList()
Returns the list of sortable columns
|
List<SelectItem> |
getViewableColumnList()
Returns the list of viewable columns
|
boolean |
isSortable()
Returns whether there are any sortable columns in the search results table
|
protected void |
loadColumnInfo()
Loads the column information from the search results view
|
protected void |
loadColumnInfoForControl(DataTable dataTable,
List<SelectItem> viewableColumnList,
List<SelectItem> sortableColumnList)
Loads the column info details for the supplied data table.
|
protected void |
loadColumnInfoForControl(String controlId,
List<SelectItem> viewableColumnList,
List<SelectItem> sortableColumnList)
Loads the column info for the requested control
|
String |
persistDisplayOptions()
Action handler for the 'Save' button in the search options UI.
|
beforeWorkspaceLoad, callInitialize, clearNavigationState, createActionUrl, createRenderUrl, getActivePreferencesBean, getPreferences, getRequestID, gotoPage, switchToPortletMode
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
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 List<SelectItem> fSortableColumnList
protected List<SelectItem> fViewableColumnList
protected void beforeRenderResponse()
beforeRenderResponse
in class BaseViewBean
BaseViewBean.beforeRenderResponse()
public List<SelectItem> getSortableColumnList()
public List<SelectItem> getViewableColumnList()
protected void loadColumnInfo()
protected Object getPortletConfig(ExternalContext externalContext)
protected void loadColumnInfoForControl(String controlId, List<SelectItem> viewableColumnList, List<SelectItem> sortableColumnList)
viewableColumnList
- list where the viewable columns are addedsortableColumnList
- list where the sortable columns are addedprotected void loadColumnInfoForControl(DataTable dataTable, List<SelectItem> viewableColumnList, List<SelectItem> sortableColumnList)
dataTable
- the table component to inspectviewableColumnList
- list where the viewable columns are addedsortableColumnList
- list where the sortable columns are addedprotected abstract String getSearchResultControlId()
protected String getSearchResultsViewId()
public boolean isSortable()
public String persistDisplayOptions() throws javax.portlet.PortletModeException
javax.portlet.PortletModeException
public String cancelDisplayOptions() throws javax.portlet.PortletModeException
javax.portlet.PortletModeException