public class DashboardFilter extends AbstractFilter implements DataFilter
Modifier and Type | Field and Description |
---|---|
static SimpleDateFormat |
_dateComparisonFormat
Date format for comparison in filter.
|
protected Dashboard |
dashboard
The dashboard.
|
protected Properties[] |
defaultProperties
Default properties are always part of the filter, no matter which data the dashboard is handling.
|
static String |
FILTER_HANDLER_CODE |
protected static org.slf4j.Logger |
log
Logger
|
_bshIntepreterThread, _filterVarValues, filterCondition, filterProperties, gt, gtOrEq, locale, lt, ltOrEq, wildcard
ALLOW_ALL, ALLOW_ANY, ALLOW_NONE
Constructor and Description |
---|
DashboardFilter() |
addProperties, addProperty, addProperty, cloneFilter, compare, compareBySimilarity, containsProperty, containsProperty, equals, executeBeanShellScript, getExtraInfo, getFilterCondition, getGt, getGtOrEq, getLocale, getLt, getLtOrEq, getProperty, getPropertyAllowedValues, getPropertyAllowMode, getPropertyIds, getPropertyMaxValue, getPropertyMinValue, getPropertyPriority, getVariableName, getWildcard, maxValueIncluded, merge, minValueIncluded, pass, pass, pass, pass, passValue, removeAllProperty, removeProperties, removeProperty, setExtraInfo, setFilterCondition, setGt, setGtOrEq, setLocale, setLt, setLtOrEq, setVariableName, setWildcard, toString
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addProperties, addProperty, addProperty, cloneFilter, containsProperty, containsProperty, getExtraInfo, getGt, getGtOrEq, getLocale, getLt, getLtOrEq, getPropertyAllowedValues, getPropertyAllowMode, getPropertyIds, getPropertyMaxValue, getPropertyMinValue, getPropertyPriority, getVariableName, getWildcard, maxValueIncluded, minValueIncluded, pass, removeAllProperty, removeProperties, removeProperty, setExtraInfo, setFilterCondition, setLocale, setVariableName
protected static transient org.slf4j.Logger log
protected Dashboard dashboard
protected Properties[] defaultProperties
public static final SimpleDateFormat _dateComparisonFormat
public static final String FILTER_HANDLER_CODE
public void init()
public Dashboard getDashboard()
public void setDashboard(Dashboard dashboard)
public Properties[] getDefaultProperties()
public void setDefaultProperties(Properties[] defaultProperties)
public DashboardFilterHandler getHandler(Panel panel)
public DashboardFilterProperty getFilterPropertyById(String id)
public DashboardFilterProperty getPropertyInFilterComponents(String propertyId)
public DashboardFilterProperty getPropertyInParentDashboards(String propId)
public DashboardFilterProperty[] getAllFilterProperties()
public DashboardFilterProperty[] getStaticProperties()
public DashboardFilterProperty getStaticPropertyById(String id)
public List getStaticPropertyAllowedValuesById(String propertyId)
public Object[] getStaticPropertyMaxValueById(String propertyId)
propertyId
- property identifier.public Object[] getStaticPropertyMinValueById(String propertyId)
propertyId
- property identifier.public Class getPropertyClass(String propertyId)
protected String formatForDisplay(String propertyId, Object value)
formatForDisplay
in class AbstractFilter
protected String formatForComparison(String propertyId, Object value)
formatForComparison
in class AbstractFilter
protected Object getPropertyValue(String propertyId, Object obj)
getPropertyValue
in class AbstractFilter
Copyright © 2012–2016 JBoss by Red Hat. All rights reserved.