|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jaspersoft.jasperserver.api.engine.jasperreports.util.CustomDataSourceDefinition
public class CustomDataSourceDefinition
Field Summary | |
---|---|
static java.lang.String |
PARAM_DEFAULT
|
static java.lang.String |
PARAM_HIDDEN
|
static java.lang.String |
PARAM_LABEL
|
static java.lang.String |
PARAM_NAME
|
Constructor Summary | |
---|---|
CustomDataSourceDefinition()
|
Method Summary | |
---|---|
java.util.List |
getEditablePropertyDefinitions()
utility function for the jsp--return just the editable param defs |
CustomReportDataSourceServiceFactory |
getFactory()
|
java.lang.String |
getLabelName()
message name used as label |
java.lang.String |
getName()
|
java.lang.String |
getParameterLabelName(java.lang.String paramName)
message names for params |
java.util.List |
getPropertyDefinitions()
|
java.util.Map |
getQueryExecuterMap()
Map with query languages (used language attribute of JRXML queryString element) as keys, and JRQueryExecuterFactory class names as values |
java.lang.String |
getServiceClassName()
|
CustomDataSourceValidator |
getValidator()
|
void |
setDefaultValues(CustomReportDataSource cds,
boolean includeHidden)
Initialize a CustomReportDataSource instance with the defaults specified |
void |
setFactory(CustomReportDataSourceServiceFactory factory)
This is always set to the CustomReportDataSourceServiceFactory which is instantiated with the other RDSSF's in applicationContext.xml. |
void |
setName(java.lang.String name)
|
void |
setPropertyDefinitions(java.util.List propertyDefinitions)
a list of parameter defs. |
void |
setQueryExecuterMap(java.util.Map queryExecuterMap)
register query executer factories with JR |
void |
setServiceClassName(java.lang.String serviceClassName)
The name of the custom impl of ReportDataSourceService. |
void |
setValidator(CustomDataSourceValidator validator)
(optional) the name of a validator that's used to check the params |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PARAM_NAME
public static final java.lang.String PARAM_LABEL
public static final java.lang.String PARAM_DEFAULT
public static final java.lang.String PARAM_HIDDEN
Constructor Detail |
---|
public CustomDataSourceDefinition()
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
public void setFactory(CustomReportDataSourceServiceFactory factory)
factory
- public CustomReportDataSourceServiceFactory getFactory()
public void setServiceClassName(java.lang.String serviceClassName)
serviceClassName
- public java.lang.String getServiceClassName()
public void setValidator(CustomDataSourceValidator validator)
validatorClassName
- public CustomDataSourceValidator getValidator()
public void setPropertyDefinitions(java.util.List propertyDefinitions)
paramDefs
- public java.util.List getPropertyDefinitions()
public java.lang.String getLabelName()
public java.lang.String getParameterLabelName(java.lang.String paramName)
paramName
-
public java.util.List getEditablePropertyDefinitions()
public java.util.Map getQueryExecuterMap()
public void setQueryExecuterMap(java.util.Map queryExecuterMap)
queryExecuterMap
- public void setDefaultValues(CustomReportDataSource cds, boolean includeHidden)
cds
- b
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |