public class DashboardFilterHandler extends UIComponentHandlerFactoryElement
HandlerFactoryElement.HandlerTrace
Constructor and Description |
---|
DashboardFilterHandler() |
afterRenderComponent, getName
actionVoid, addFieldError, afterInvokeAction, beforeInvokeAction, calculateActionShortcuts, clearFieldErrors, getActionForShortcut, getActionName, getFieldErrors, handle, isEnabledForActionHandling, isEnableDoubleClickControl, isScopeAdequateForDoubleClickControl, isUseActionShortcuts, setEnabledForActionHandling, setEnableDoubleClickControl, setUseActionShortcuts, start
addPeriodicTask, addPeriodicTask, factoryLookup, getComponentAlias, getComponentDescription, getComponentName, getComponentScope, init, setComponentAlias, shutdown, stop
protected String componentIncludeJSP
protected String componentIncludeJSPshow
protected String componentIncludeJSPedit
protected String componentIncludeJSPproperties
protected String componentIncludeJSPshort_show
protected String componentIncludeJSPshort_edit
protected String componentIncludeJSPshort_properties
public static final String I18N_PREFFIX
public static final String PARAM_VALUE
public static final String PARAM_VALUE_MIN
public static final String PARAM_VALUE_MAX
public static final String PARAM_CUSTOM_VALUE
public static final String PARAM_LAST_HOUR
public static final String PARAM_LAST_12HOURS
public static final String PARAM_TODAY
public static final String PARAM_YESTERDAY
public static final String PARAM_LAST_7DAYS
public static final String PARAM_THIS_MONTH
public static final String PARAM_LAST_MONTH
public static final String PARAM_THIS_QUARTER
public static final String PARAM_LAST_QUARTER
public static final String PARAM_LAST_6MONTHS
public static final String PARAM_THIS_YEAR
public static final String PARAM_LAST_YEAR
public static final String PARAM_NULL_VALUE
public static final String PARAM_VISIBLE
public static final String PARAM_DRILLDOWN_DISABLED
public static final String PARAM_SECTION
public static final String PARAM_SHOW_REFRESH_BUTTON
public static final String PARAM_SHOW_APPLY_BUTTON
public static final String PARAM_SHOW_CLEAR_BUTTON
public static final String PARAM_SHOW_PROPERTY_NAMES
public static final String PARAM_SHOW_SUBMIT_ON_CHANGE
public static final String PARAM_SHOW_AUTO_REFRESH
public static final String PARAM_SHORT_MODE
public static final String PARAM_SHOW_LEGEND
protected DashboardHandler dashboardHandler
protected DashboardFilterRequestProcessor requestProcessor
protected String serializedProperties
protected boolean isShowMode
protected boolean isEditMode
protected boolean isShortMode
protected boolean showPropertyNames
protected boolean showRefreshButton
protected boolean showApplyButton
protected boolean showClearButton
protected boolean showSubmitOnChange
protected boolean showLegend
protected boolean showAutoRefresh
protected List properties
protected List notAllowedProperties
protected Set filterPropertyErrors
protected boolean panelDuplicated
protected int autoRefreshTimeout
protected boolean refreshEnabled
public boolean isPanelDuplicated()
public void setPanelDuplicated(boolean panelDuplicated)
public boolean isRefreshEnabled()
public void setRefreshEnabled(boolean refreshEnabled)
public int getAutoRefreshTimeout()
public void setAutoRefreshTimeout(int autoRefreshTimeout)
public boolean isShowAutoRefresh()
public void setShowAutoRefresh(boolean showAutoRefresh)
public List getNotAllowedProperties()
public void clearNotAllowedProperties()
public boolean isShowSubmitOnChange()
public void setShowSubmitOnChange(boolean showSubmitOnChange)
public boolean isShowLegend()
public void setShowLegend(boolean showLegend)
public DashboardFilterRequestProcessor getRequestProcessor()
public void setRequestProcessor(DashboardFilterRequestProcessor requestProcessor)
public boolean isShowApplyButton()
public void setShowApplyButton(boolean showApplyButton)
public boolean isShowClearButton()
public void setShowClearButton(boolean showClearButton)
public boolean isShowRefreshButton()
public void setShowRefreshButton(boolean showRefreshButton)
public boolean isShowPropertyNames()
public void setShowPropertyNames(boolean showPropertyNames)
public List getProperties()
public DashboardHandler getDashboardHandler()
public void setDashboardHandler(DashboardHandler dashboardHandler)
public boolean isShortMode()
public void setShortMode(boolean shortMode)
public boolean isEditMode()
public boolean isShowMode()
public String getComponentIncludeJSPshort_edit()
public void setComponentIncludeJSPshort_edit(String componentIncludeJSPshort_edit)
public String getComponentIncludeJSPshort_properties()
public void setComponentIncludeJSPshort_properties(String componentIncludeJSPshort_properties)
public String getComponentIncludeJSPshort_show()
public void setComponentIncludeJSPshort_show(String componentIncludeJSPshort_show)
public String getComponentIncludeJSPproperties()
public String getJSPForShowMode()
public String getJSPForEditMode()
public String getJSPForProperties()
public String getJSP()
public void setComponentIncludeJSPproperties(String componentIncludeJSPproperties)
public String getComponentIncludeJSPedit()
public void setComponentIncludeJSPedit(String componentIncludeJSPedit)
public String getComponentIncludeJSPshow()
public void setComponentIncludeJSPshow(String componentIncludeJSPshow)
public String getComponentIncludeJSP()
getComponentIncludeJSP
in class UIComponentHandlerFactoryElement
public void setComponentIncludeJSP(String componentIncludeJSP)
public static DashboardFilterHandler lookup(String code)
public String getComponentPath()
public Dashboard getDashboard()
public DashboardFilter getFilter()
public void enableEditMode()
public void enableShowMode()
public String getSerializedProperties()
public void setSerializedProperties(String serializedProperties)
public DashboardFilterProperty getDashboardFilterPropertyForCurrentFilter(String dataProviderCode, String propertyId)
public DashboardFilterProperty getDashboardFilterProperty(String propertyId)
public DashboardFilterProperty[] getStaticPropertiesForCurrentFilter()
public DashboardFilterProperty[] getAllPropertiesForCurrentFilter()
public DashboardFilterProperty[] getBeingFilteredProperties()
public List<DashboardFilterProperty> getVisibleProperties()
public boolean hasError(String propertyId)
hasError
in class HandlerFactoryElement
public void actionStore(CommandRequest request)
public CommandResponse actionFilter(CommandRequest request) throws Exception
Exception
public void actionRefresh(CommandRequest request) throws Exception
Exception
public CommandResponse actionClear(CommandRequest request) throws Exception
Exception
public CommandResponse actionDeleteFilteredProperty(CommandRequest request) throws Exception
Exception
public void actionPlay(CommandRequest request)
public void actionStop(CommandRequest request)
protected void printIndent(PrintWriter out, int indent)
public boolean deserializeComponentData(String serializedData) throws Exception
Exception
public void beforeRenderComponent()
beforeRenderComponent
in class UIComponentHandlerFactoryElement
Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.