public abstract class Report extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.googlecode.fascinator.common.JsonSimple |
config |
protected String |
configPath |
protected static String |
FLD_QUERY |
protected static String |
FLD_QUERY_FILTER |
protected static String |
FLD_QUERY_FILTER_COND |
protected static String |
FLD_QUERY_FILTER_COND_AND |
protected static String |
FLD_QUERY_FILTER_COND_OR |
protected static String |
FLD_QUERY_FILTER_UIKEY |
protected static String |
FLD_QUERY_FILTER_VALUE |
protected String |
label |
protected com.googlecode.fascinator.common.JsonObject |
query |
protected String |
reportName |
| Constructor and Description |
|---|
Report() |
Report(File reportConfigFile) |
Report(com.googlecode.fascinator.common.JsonSimple config) |
Report(String reportName,
String label) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAndQueryCond(String filterName) |
void |
addOrQueryCond(String filterName) |
protected void |
addQueryCond(String cond,
String filterName) |
String |
getConfigPath() |
String |
getLabel() |
abstract String |
getQueryAsString() |
protected com.googlecode.fascinator.common.JsonObject |
getQueryFilter(String key) |
Object |
getQueryFilterVal(String key) |
String |
getQueryUiKey(String key) |
String |
getReportName() |
void |
setConfig(com.googlecode.fascinator.common.JsonSimple config) |
void |
setConfigPath(String configPath) |
void |
setLabel(String label) |
void |
setQueryFilterVal(String key,
Object value,
String uiKey,
String uiLabel) |
void |
setReportName(String reportName) |
String |
toJsonString() |
protected com.googlecode.fascinator.common.JsonSimple config
protected String reportName
protected String label
protected com.googlecode.fascinator.common.JsonObject query
protected String configPath
protected static String FLD_QUERY
protected static String FLD_QUERY_FILTER
protected static String FLD_QUERY_FILTER_VALUE
protected static String FLD_QUERY_FILTER_UIKEY
protected static String FLD_QUERY_FILTER_COND
protected static String FLD_QUERY_FILTER_COND_AND
protected static String FLD_QUERY_FILTER_COND_OR
public Report()
public Report(File reportConfigFile) throws IOException
IOExceptionpublic Report(com.googlecode.fascinator.common.JsonSimple config)
public void setConfig(com.googlecode.fascinator.common.JsonSimple config)
protected com.googlecode.fascinator.common.JsonObject getQueryFilter(String key)
public void setQueryFilterVal(String key, Object value, String uiKey, String uiLabel)
public void addAndQueryCond(String filterName)
public void addOrQueryCond(String filterName)
public String toJsonString()
public abstract String getQueryAsString()
public String getReportName()
public void setReportName(String reportName)
public String getLabel()
public void setLabel(String label)
public String getConfigPath()
public void setConfigPath(String configPath)
Copyright © 2009-2016. All Rights Reserved.