public class DashboardFilterHandler extends UIBeanHandler
BeanHandler.HandlerTrace
Constructor and Description |
---|
DashboardFilterHandler() |
afterRenderBean
actionVoid, addFieldError, afterInvokeAction, beforeInvokeAction, calculateActionShortcuts, clearFieldErrors, getActionForShortcut, getActionName, getBeanName, getFieldErrors, handle, isEnabledForActionHandling, isEnableDoubleClickControl, isUseActionShortcuts, setEnabledForActionHandling, setEnableDoubleClickControl, setUseActionShortcuts, start
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
@Inject protected String componentIncludeJSPshow
@Inject protected String componentIncludeJSPedit
@Inject protected String componentIncludeJSPproperties
@Inject protected String componentIncludeJSPshort_show
@Inject protected String componentIncludeJSPshort_edit
@Inject protected String componentIncludeJSPshort_properties
@Inject protected DashboardHandler dashboardHandler
@Inject 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<DashboardFilterProperty> 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<DashboardFilterProperty> getProperties()
public void setProperties(List<DashboardFilterProperty> l)
public DashboardHandler getDashboardHandler()
public void setDashboardHandler(DashboardHandler dashboardHandler)
public boolean isShortMode()
public void setShortMode(boolean shortMode)
public boolean isEditMode()
public boolean isShowMode()
public String getJSPForShowMode()
public String getJSPForEditMode()
public String getJSPForProperties()
public String getJSP()
public String getBeanJSP()
getBeanJSP
in class UIBeanHandler
public static DashboardFilterHandler lookup(String code)
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 BeanHandler
public void actionStore(CommandRequest request)
public CommandResponse actionFilter(CommandRequest request) throws Exception
Exception
public DashboardFilter parseFilterRequest(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 beforeRenderBean()
beforeRenderBean
in class UIBeanHandler
Copyright © 2012–2016 JBoss by Red Hat. All rights reserved.