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