public abstract class BaseSearchControlHelper extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<Serializable,Object> |
_deferredPropertiesMap |
protected static String |
CONTROL_ID_IF_HAS_SEARCH_QUERY |
protected static String |
CONTROL_ID_OPTIONS_APPLY_BUTTON |
protected static String |
CONTROL_ID_OPTIONS_BUTTON |
protected static String |
CONTROL_ID_OPTIONS_DIALOG |
protected static String |
CONTROL_ID_OPTIONS_FORM |
protected static String |
CONTROL_ID_REORDER_COLUMNS |
protected static String |
CONTROL_ID_RESIZE_COLUMNS |
protected static String |
CONTROL_ID_SHOW_EXPORT_DIALOG_BUTTON |
static String |
FACET_EMPTY |
static String |
FACET_FOOTER |
static String |
FACET_HEADER |
protected Boolean |
fDisplayOptions |
protected Boolean |
fDragAndDropColumns |
protected Boolean |
fExportButtonAvailable |
Constructor and Description |
---|
BaseSearchControlHelper(DataTable control) |
public static final String FACET_HEADER
public static final String FACET_FOOTER
public static final String FACET_EMPTY
protected static final String CONTROL_ID_SHOW_EXPORT_DIALOG_BUTTON
protected static final String CONTROL_ID_IF_HAS_SEARCH_QUERY
protected static final String CONTROL_ID_RESIZE_COLUMNS
protected static final String CONTROL_ID_REORDER_COLUMNS
protected static final String CONTROL_ID_OPTIONS_FORM
protected static final String CONTROL_ID_OPTIONS_BUTTON
protected static final String CONTROL_ID_OPTIONS_DIALOG
protected static final String CONTROL_ID_OPTIONS_APPLY_BUTTON
protected Boolean fExportButtonAvailable
protected Boolean fDragAndDropColumns
protected Boolean fDisplayOptions
protected transient Map<Serializable,Object> _deferredPropertiesMap
public BaseSearchControlHelper(DataTable control)
protected Map<Serializable,Object> getDeferredPropertiesMap()
public abstract String getHeaderTemplate()
public abstract String getFooterTemplate()
public abstract String getEmptyTemplate()
@Deprecated public void setValueBinding(String name, ValueBinding binding)
setValueExpression(String, ValueExpression)
insteadpublic void setValueExpression(String name, ValueExpression binding)
public ExportTableButton getExportTableButton()
public void loadHeaderFacet()
public void loadFooterFacet()
public void loadEmptyFacet()
public void prepareForEncode(FacesContext context)
public boolean isExportButtonAvailable()
public void setExportButtonAvailable(boolean exportButtonAvailable)
exportButtonAvailable
- The exportButtonAvailable to set.public ValueExpression getQuerySuppliedExpression()
@Deprecated public ValueBinding getQuerySupplied()
getQuerySuppliedExpression()
instead@Deprecated public void setQuerySupplied(ValueBinding querySupplied)
#setQuerySupplied(ValueExpression)
insteadquerySupplied
- The querySupplied to set.public void setQuerySuppliedExpression(ValueExpression querySupplied)
querySupplied
- The querySupplied to set.public boolean isDisplayOptions()
public void setDisplayOptions(boolean displayOptions)
public boolean isDragAndDropColumns()
public void setDragAndDropColumns(boolean dragAndDropColumns)
dragAndDropColumns
- True if using drag-to-resize/reorder-columns-behaviors.public UIComponent getExportSettings()
public boolean getExportShowEncodingDialog()
public void setExportShowEncodingDialog(boolean showEncodingDialog)
public String getExportFileName()
public void setExportFileName(String exportFileName)
public String getExportCharacterEncoding()
public void setExportCharacterEncoding(String exportCharacterEncoding)
public String getExportExcludeComponentsCSV()
public void setExportExcludeComponentsCSV(String excludeComponentsCSV)
public ITableContentProvider getExportProvider()
public void setExportProvider(ITableContentProvider provider)
public void restoreState(FacesContext context, Object state)
public Object saveState(FacesContext context)
protected UIComponent loadFromView(String viewId, String namingContainerId)
public void applyDeferredProperties()